Development - Php - Php Test

Test Instructions :

1. The Test is 1hr duration.
2. The Test Paper consists of 30 questions. The maximum marks are 30.
3. All the questions are multiple choice question type with three options for each question.
4. Out of the three options given for each question, only one option is the correct answer.
5. Each question is allotted 1 mark for each correct response.
6. 0.25 will be deducted for incorrect response of each question.
Start Test

   Time Left : 00 : 30    : 00

What functions count elements in an array?

  

  

  

What is the description of Error level E_ERROR?

  

  

  

  

What does PHP stand for? i) Personal Home Page ii) Hypertext Preprocessor iii) Pretext Hypertext Processor iv) Preprocessor Home Page

  

  

  

  

The extent to which proximate procedures are related to one another is known as…

  

  

  

  

Since which version of PHP was the directive max_file_limit available.

  

  

  

  

Suppose all web material is located within the directory /home/www. To prevent users from viewing and manipulating files such as /etc/password, which one of the following statements should you use?

  

  

  

  

Which one of the following statements is true for require() and require_once()?

  

  

  

  

If the directive session.cookie_lifetime is set to 3600, the cookie will live until..

  

  

  

  

What is the difference between stat() and fstat()?

  

  

  

  

  

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

  

  

  

  

In a class diagram the class is divided into three sections, what is displayed in the first section?

  

  

  

  

Which one of the following is the right description for the method getMessage() ?

  

  

  

  

The session_start() function must appear..

  

  

  

  

Can joins be nested?

  

  

Which one of the following function returns the port number of a specified service?

  

  

  

  

Which symbol is used to declare nested namespaces?

  

  

  

  

Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?

  

  

  

  

Which keyword is used to refer to properties or methods within the class itself?

  

  

  

  

Which parameter determines whether the old session file will also be deleted when the session ID is regenerated?

  

  

  

  

Which of the following network transports doesn’t PHP support?

  

  

  

  

  

Which one of the following should not be used while sending passwords or other sensitive information?

  

  

  

  

Which one of the following functions finds the last occurrence of a string, returning its numerical position?

  

  

  

  

If you want to temporarily store uploaded files in the /tmp/phpuploads/ directory, which one of the following statement will you use?

  

  

  

  

Which one of the following is not a preg PHP function?

  

  

  

  

Which of the following printing construct/function accpets multiple parameters?

  

  

  

  

In mail($param2, $param2, $param3, $param4), the $param2 contains:

  

  

  

  

Which one of the following methods in the exception class, is used to get a nested exception object?

  

  

  

  

How many error levels are available in PHP?

  

  

  

  

Which keyword is used to put a stop on inheritance?

  

  

  

  

Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?

  

  

  

  

Note:
  • Click the 'Submit Test' button given in the bottom of this page to Submit your answers.
  • Test will be submitted automatically if the time expired.
  • Don't refresh the page.