Showing posts with label PHP interview questions for freshers. Show all posts
Showing posts with label PHP interview questions for freshers. Show all posts

Thursday, 19 February 2015

Web Design And Development Company 
QUESTIONS :

Que.1 iframe in HTML is used to display a web page within a web page. 

 

A. True
B. False

                                                                                                                                                                                                         Ans:   A 


Que.2 - An HTML file written in notepad can be saved with an extension: 

 

A. .htm
B. .html
C. Any of the above
D. None of the above. 

                                                                                                                                                                                                        Ans:   C           


Que.3 - Which of the following is true about links by default?

 

A. An unvisited link is underlined and blue.
B. A visited link is underlined and red.
C. An active link is underlined and purple.
D. All the above. 

                                                                                                                                                                                                           Ans:  A 

Que.4 The href attribute in the link tag specifies the: 

 

A. Destination of a link.
B. Link.
C. Hypertext
D. None of the above

                                                                                                                                                                                                         Ans:   A 


Que.5 HTML Event Attributes onload fires just before the page is finishing loading.

 

A. True
B. False 

                                                                                                                                                                                                    Ans:   B   


Que.6 HTML Event Attributes onunload fires 

 

A. when the browser window has been closed
B. when the browser window is minimized
C. when the browser window has changed focus to other window.
D. After the page is finished loading
                                                                                                                                      Ans:   A
                                                                                                                        

Que.7 HTML Form Events ___________, fires the moment that the element loses focus.

 

A. onblur
B. onfocus
C. onchange
D. onlostfocus


                                                                                                                                                                                                         Ans:   A 


Que.8 Which of the following tags below are used for a multi-line text input control?

 

A. textml tag
B. text tag
C. textarea tag
D. Both b and c above  

                                                                                                                                                                                                                    Ans:   C 

Que.9 What is cell padding? 

 

A. Used to separate cell walls from their contents.
B. Used to set space between cells
C. Both a and b above
D. Used to provide width to a cell

                                                                                                                                                                                                                Ans:   A                 

Que.10 What are meta tags used for?


A. To store information usually relevant to browsers and search engines.
B. To only store information usually relevant to browsers
C. To only store information about search engines.
D. To store information about external links


                                                                                                                                                                                                                    Ans:   A

Want PHP Questions CLICK THE LINKS BELOW

 

 PHP Multiple choice Questions and answers-11
 PHP Multiple choice Questions and answers-12
 PHP Multiple choice questions and answers-13 
 PHP Multiple choice questions and answers-14

 

 Regards : Web Design and Development Company

   

Wednesday, 26 November 2014


Hello Everyone...!!!
Today i am here with more then 200 PHP interview questions for PHP developers to improve their web development skills and prepare for interviews.
Web development Company indore


 Que.1: Variable scope on which a variable does not loose its value when the function exists and use that value if the function is called again is:

A. Local
B. function parameter
C. static
D. None of above

Que.2 : When defining identifier in PHP you should remember that

A. Identifier are case sensitive. So $result is different than $ result
B. Identifiers can be any length
C. Both of above
D. None of above

Que.3 : mysql_connect( ) does not take following parameter

a. database host
b. user ID
c. password
d. database name

 
Que.4 : In php string data are

A. delimited by single quote
B. delimited by double quote
C. delimited by < << identifier
D. All of above

 
Que.5 : Which function includes the specified file even the statement evaluates to false in which block the function is placed.

A. include()
B. require()
C. both of above
D. None of above


 
Que.6 : The ___________ function can be used to compare two strings using a case-insensitive binary algorithm

A. strcmp()
B. stricmp()
C. strcasecmp()
D. stristr()

Que.7 : The left associative dot operator (.) is used in PHP for

A. multiplication
B. concatenation
C. separate object and its member
D. delimeter

Que.8 : Which of following are compound data type?

A. Array
B. Objects
C. Both
D. None of above


Que.9 : On failure of which statement the script execution stops displaying error/warning message?

A. include()
B. require()
C. both of above
D. None of above

Que.10 : PHP variables are

A. Multitype variables
B. Double type variables
C. Single type variable
D. Trible type variables


Answersheet of these Questions will be available Tomorrow
 
Want more Questions....??? CLICK THE LINKS BELOW



PHP Multiple choice questions and answers-8



 

Share your experience or any suggestion with us .. VIA COMMENTS

 


Regards : Web Development Company Indore








  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube