Friday 6 February 2015


PHP Interview Questions :  

 


Que.1 In PHP language PEAR stands for

A PHP Enhancement and Application reduce
B PHP Event and Application Repository
C PHP Extension and Application Repository
D None of these above

Que.2 fopen($file_doc,”r+&rdquo opens a file for
a. reading
b. writing
c. none of above
d. both of above

Que.3 Which of the following is not a session function?

a. sssion_decode
b. session_destroy
c. session_id
d. session_pw

Que.4 Which of following commenting is supported by Php

a. Single line c++ syntax - //
b. Shell syntax - #
c. Both of above
d. None of above

Que.5 Which of the following method sends input to a script via a URL?

a. Get
b. Post
c. Both
d. None

Que.6 During PHP installation which function creates a HTML page to display records how PHP was installed ?

A. phpconf()
B. phpinfo()
C. phprec()
D. phpdisplay()

Que.7 Which SQL keyword is used to sort the result-set? 
 
a) ORDER
b) SORT
c) ORDER BY
d) SORT B

Que.8 When you need to obtain the ASCII value of a character which of the following function you apply in PHP?

a. chr( );
b. asc( );
c. ord( );
d. val( );

Que.9 Casting operator introduced in PHP 6 is

a. (array)
b. (int64)
c. (real) or (double) or (float)
d. (object)

Que.10 Trace the function that does continue the script execution even if the file inclusion fails

a. include ()
b. require ()
c. both of above
d. None of above


Answersheet :


Que.1          C
Que.2          D
Que.3          D
Que.4          C
Que.5          A
Que.6          B
Que.7          C
Que.8          C
Que.9          B
Que.10        A


Want more Questions CLICK THE LINKS BELOW :

 


PHP Multiple choice questions and answers-1
PHP Multiple choice questions and answers-2 
PHP Multiple choice questions and answers-3
PHP Multiple choice questions and answers-4
PHP Multiple choice questions-5 
PHP Multiple choice questions and answers-6 
PHP Multiple choice questions and answers-7
PHP Multiple choice questions and answers-8
PHP Multiple choice questions and answers-9
PHP Multiple choice questions and answers-10  
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   

Solve the Questions and improve your web development skills....
 

Regards : M2Soft Solutions 

 

 


In PHP language PEAR stands for [A] PHP Enhancement and Application reduce [B] PHP Event and Application Repository [C] PHP Extension and Application Repository [D] None of these above Read more: http://www.gkseries.com/computer-engineering/php/introduction-to-php/introduction-to-php#ixzz3QxX3IaK6

© 2013-2014 http://www.gkseries.com

0 comments:

Post a Comment

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