Open In App

College Doors Interview Experience For PHP Developer

Last Updated : 10 Oct, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Interview questions:-

Jquery

  • Explain how to handle events in jQuery.
  • Explain each() function in jQuery.
  • What are callback functions in jQuery?
  • How to implement Ajax in jQuery?
  • How to implement modal dialog boxes in jQuery?
  • How to implement DataTables in jQuery?

JavaScript

  • Explain the Document Object Model in JavaScript.
  • How to use localStorage and session storage in JavaScript?
  • How to include external scripts in JavaScript?
  • How to get and set cookies in Javascript?
  • Which function is used to encode a URL
  • How to define constants in JavaScript
  • Which JavaScript function is used to extract parts of a string?

PHP

  • What are superglobals and explain with example?
  • How to define global variables in PHP?
  • How to delete session in PHP?
  • Which function is used to check if a variable is null or not
  • Which methods are used to connect to MySql database
  • How to convert JSON to String and vice versa in PHP?
  • How to get session id in PHP?
  • What is list operator in PHP?
  • Explain any 5 String and Array functions
  • Which setting is used to allow short open tag in PHP?
  • How to display ini file in PHP?
  • What is composer?
  • What is the default setting for file upload in PHP ini file?
  • How to change maximum running time of a script in PHP?
  • What is the location of php.ini file in Ubuntu?
  • What is phar file?
  • What is the difference between require and include
  • What is the define function?
  • What is the name of the function used to compute hash of a string?
  • What are the names of the functions used to check if a function or variable has been defined?
  • How to enable error reporting in PHP?
  • What are magic constants in PHP?
  • How to handle errors in PHP?
  • What are traits in PHP and what is their use?
  • Explain constructors and destructors with example
  • Explain ucwords()/ucfirst() function
  • What are associative arrays in PHP?
  • How to traverse an associative array using foreach loop

HTML5

  • Explain the meta tag
  • How to include external JavaScript or CSS file?
  • What attributes are supported by the form element?
  • What is the enctype attribute value for uploading one or more files to server
  • Explain range, pattern and email input types
  • What is the difference between blockquote and cite elements?
  • How to display list of items in HTML5?
  • Explain select and option elements
  • Explain colgroup element

CSS3

  • What is z-index
  • Explain CSS box model
  • What is the difference between inline-block and block?
  • What keyword is used to override style property value?
  • What are pseudo classes?
  • What are pseudo elements?
  • Explain opacity and overflow properties?

Mysql

  • What are primary, candidate and super keys?
  • Explain the LIKE operator?
  • Explain the IN operator?
  • Explain the GROUP BY operator with an example
  • How to define aliases in Mysql
  • Explain triggers in Mysql
  • What is the default port number used by Mysql
  • How to create/remove an index on a table in Mysql
  • Write a query creating 2 tables with a foreign key connection and a LEFT OUTER JOIN on both the tables

Redis

  • What is Redis?
  • How to install Redis?
  • What is prefix in Redis?
  • How to keep an item without an Expiry in Redis?
  • Explain any 5 Redis commands
  • What is the port number which Redis runs on by default?

AngularJs

  • What are directives in AngularJs?
  • What is scope variable in AngularJs?
  • What is MODEL VIEW VIEW MODEL (MVVM) framework?
  • Explain ng-model and ng-bind with an example
  • What is ng-repeat used for? Explain with an example
  • How to do routing in AngularJS?
  • What are services in AngularJs?

Smarty

  • How to pass values to Smarty template?
  • What extension is used by Smarty template engine?
  • Explain the display method with syntax and example
  • Write the syntax for if else in Smarty
  • Write the syntax for “foreach” loop in Smarty
  • How to display expressions in Smarty?

Server

  • How to install Apache 2.0 on Ubuntu
  • How to configure /etc/hosts and sites-available file
  • How to restart apache server

Linux Ubuntu

  • How to find hidden files in a folder from the command line?
  • How to find your machine IP in CLI?
  • Which command is used to open Sublime text editor in CLI?
  • How to install packages from apt repository?
  • How to generate SSH key through command line?

AWS

  • What is SaaS?
  • What credentials are used to connect to AWS?
  • What is S3?
  • What is EC2?
  • What is bucket and region in AWS?
  • What is CloudFront and SQS?

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads