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

A bidirectional relationship in class diagrams is described by..





Which of the following variables does PHP use to authenticate a user? i) $_SERVER['PHP_AUTH_USER'] ii) $_SERVER['PHP_AUTH_USERS'] iii) $_SERVER['PHP_AUTH_PU'] iv) $_SERVER['PHP_AUTH_PW']





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





Which symbol is used to declare nested namespaces?





PHP provides built-in interceptor methods, which can intercept messages sent to undefined methods and properties. This is also known as ___.





Can joins be nested?



Which datatypes are treaded as arrays





How many configuration directives pertinent to PHP’s mail function are available?





How many types of filtering are present in PHP?





Which of the following DBMSs do not have a native PHP extension?






Which of the following are correct ways of creating an array? i) state[0] = “karnataka”; ii) $state[] = array(“karnataka”); iii) $state[0] = “karnataka”; iv) $state = array(“karnataka”);





Which of the following type cast is not correct?





Which one of the following statements should you use to set the session username to Nachi?





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





___ code makes change easier because the impact of altering an implementation will be localized to the component being altered.





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





PHP does not have an built in support for which one of the following ?





Select the incorrect statement about PHP programming language





The session_start() function must appear..





You use the get_class_methods() function to return the names of all the methods in the class. Which function will you use to print it on the screen?





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





PHP 4 did not support instanceof. Instead, which function did it provide?





UML stands for?





How many predefined exceptions does SPL provide access to?





Which method scope prevents a method from being overridden by a subclass?





Which directive determines how the session information will be stored?





The developers of PHP deprecated the safe mode feature as of which PHP version.





How would you store order number (34) in an 'OrderCookie'?





Which one of the following function should I use to find the parent class of a class?





___ are used in class diagrams to describe the way in which specific elements should be used.





  • 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.