Q.1
Which one of the following is displayed below the class name in the class diagrams?
Q.2
+ is the visibility code for?
Q.3
A valid class name starts with a ......., followed by any number of letters, numbers, or underscores.
1. Number
2. Letter
3. Period
4. Underscore
Q.4
Which relationship is illustrated by a line that begins with an unfilled diamond?
Q.5
If the diamond is filled it depicts which relationship?
Q.6
Which one of the following statements is true about sequence diagrams?
Q.7
Which one of the following is know as the key to object-oriented programming?
Q.8
Which one among the following means tight coupling?
Q.9
UML stands for?
Q.10
In a class diagram the class is divided into three sections, what is displayed in the first section?
Q.11
_________ are used in class diagrams to describe the way in which specific elements should be used.
Q.12
Placing a static method for generating _______ objects in the ________ class is convenient.
Q.13
The extent to which proximate procedures are related to one another is known as.
Q.14
______ occurs when discrete parts of a system’s code are tightly bound up with one another so that a change in one part necessitates changes in the others.
Q.15
________ code makes change easier because the impact of altering an implementation will be localized to the component being altered.
Q.16
Polymorphism is also known as______
Q.17
If you call a method and it doesn’t exist it’ll cause a problem. To check the method which function will you use?
Q.18
What will be the output if a protected method is given as argument to the function method_exist()?
Q.19
How many times can you define _______ autoload in a process?
Q.20
Which one of the following function should I use to find the parent class of a class?
Q.21
Which class accepts a class name or an object reference and returns an array of interface name?
Q.22
Which one of the following functions will you use to check that the class exists before you work with it?
Q.23
Which one of the following will you use to check the class of an object?
Q.24
Which symbol is used to declare nested namespaces?
Q.25
Which keyword can be used to fix the above error?
Q.26
Object-oriented code tries to minimize dependencies by moving responsibility for handling tasks away from _______ and toward the objects in the system.
Q.27
PHP 4 did not support instanceof. Instead, which function did it provide?
Q.28
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?
Q.29
Which one of the following statements is true for include_once() and require_once()?
Q.30
Which one of the following statements is true for require() and require_once()?
0 h : 0 m : 1 s