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

Thursday, 12 February 2015

PHP Interview Questions :

 

Web Development company Que. 1 To work with remote files in PHP you need to enable
a.       allow_url_fopen 
b.      allow_remote_files
c.       both of above
d.      none of above
Que. 2  mysql_connect( ) does not take following parameter
a.       database host
b.      user ID
c.       password
d.      database name

Que. 3 When uploading a file if the UPLOAD_ERR-OK contains value 0 it means
a.       Uplaod is not successful, error occurred
b.      The file uploaded with success
c.       Uploaded file size is 0
d.      File upload progress is 0% completed 

Que. 4 With SQL, how do you select a column named "FirstName" from a table named "Persons"?

a) EXTRACT FirstName FROM Persons


b) SELECT Persons.FirstName


c) SELECT FirstName FROM Persons


d) None of these 


Que. 5 _______ function is used to return the length of string.

a) strlength()


b) str()

c) len()

d) strlen()


Que.6 Which of the following functions require the allow-url-fopen must be enabled? 
a.  include()
b.  require() 
c.  both of above 
d.  None of above

Que.7 Identify the variable scope that is not supported by PHP 
a.  Local variables 
b.  Function parameters 
c.  Hidden variables
d.  Global variables

Que.8 Identify the invalid identifier 
a.  my-function 
b.  size 
c.  –some word
d.  This&that

Que.9  The ____ function is used to set a cookie.
a) getcookie()

b) fetchcookie()

c) setcookie()

d) setcokie()


Que.10  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

Answer-sheet


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

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


         

Thursday, 21 August 2014

Hello Everyone ...!!!

here is the answer-sheet for  Questions to improve PHP developer's skills

           Questions                               Answers


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

 PHP Questions and Answers


 
 

Share your experience with us or give any suggestion... in comments





Wednesday, 30 July 2014

Hello Everyone...!!!

 

Every Thursday we conduct a quiz practice for PHP DEVELOPER which help them to improve their WEB DEVELOPMENT skills

 

Today i am Here are some mySQL (Database) questions to solve...

 

 
interview questions for PHP developers, PHP web development test, PHP quiz questions
PHP interview questions

 

Que.1 The updated MySQL extension released with PHP 5 is typically referred to as..


a) MySQL
b) mysql
c) mysqli
d) mysqly 


Que. 2 mysql_connect( ) does not take following parameter


a) Database host 
b) User ID
c) Password
d) Database name


Que. 3 Which one of the following statements instantiates the mysqli class?

a) mysqli = new mysqli()
b) $mysqli = new mysqli()
c) $mysqli->new.mysqli()
d) mysqli->new.mysqli()

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


a) sssion_decode
b) session_destroy
c) sessipon_id
d) session_PW


Que. 5 Which one of the following methods is responsible for sending the query to the database?


a) query()
b) send_query()
c) sendquery()
d) query_send()


Que.6  Which one of the following methods recuperates any memory consumed by a result set?


a) destroy()
b) remover()
c) alloc()
d) free()


Que.7  If there is no error, then what will the error() method return?


a) TRUE
b) FALSE
c) Empty String
d) 0


Que. 8 Which version of MySQL introduced the prepared statements?


a) MySQL 4.0
b) MySQL 4.1
c) MySQL 4.2
d) MySQL 4.3


Que.9  Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?


a) get_row()
b) fetch_row()
c) fetch()
d) row()


Que. 10 Which one of the following statements should be used to include a file?


a) #include ‘filename’;
b) include ‘filename’;
c) @include ‘filename’;
d) #include 


Answersheet of this quiz will be available tomorrow ..


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-4
 



Share your experience or if you have any suggestion feel free to give in comments


Regards : M2 Software Solutions Pvt. Ltd. 




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