| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Which one of the following is known as the key to object-oriented programming ?

Correct Answer is : All of the mentioned

2. Which one among the following means tight coupling ?

Correct Answer is : DESC table_name;

3. UML stands for?

Correct Answer is : gender char(1) check( gender IN (‘M’, ‘F’)),

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

Correct Answer is : ENUM

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

Correct Answer is : gender ENUM (‘M’, ‘F’),

6. Which one of the following is displayed below the class name in the class diagrams?

Correct Answer is : All of the mentioned

7. Which relationship is illustrated by a line that begins with an unfilled diamond?

Correct Answer is : Primary key is missing

8. If the diamond is filled it depicts which relationship?

Correct Answer is : A ”foreign Key” belong to this particular table

9. Which one of the following statements is true about sequence diagrams?

Correct Answer is :

10. A bidirectional relationship in class diagrams is described by________

Correct Answer is : It defines the tables used by a query & linking of tables in Mysql

11. # is the visibility code for?

Correct Answer is : All of the mentioned

12. Which one of the following is displayed in the third section of the class diagram?

Correct Answer is : Permanent Tables

13. Which one of the following is not a valid class name?

Correct Answer is : Virtual tables

14. Fill in the blank with the best option. An Object is a/an ________ of a class.

Correct Answer is : Rows returned by sub query

15. There are two objects- $product1 = new Shop(); $product2 = new Shop(); Which one of the following statements is right about them?

Correct Answer is : FROM

16. Which version of PHP introduced the visibility keywords i.e public, private, and protected?

Correct Answer is : All of the mentioned

17. Which characters is used to access property variables on an object-by-object basis?

Correct Answer is : FROM

18. Code that uses a class, function, or method is often described as the..

Correct Answer is : Virtual tables

19. Which keyword precedes a method name?

Correct Answer is : None of the mentioned

20. If you omit the visibility keyword in your method declaration, by default the method will be declared as..

Correct Answer is : All of the mentioned