Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. What will be the output of the following PHP code?
Correct Answer is : one transaction does not affect the other
2. What will be the output of the following PHP code?
"red", "b"=>"green", "c"=>"blue");echo array_shift($a);print_r ($a);?>
Correct Answer is : START TRANSACTION
3. What will be the output of the following PHP code?
Correct Answer is : TRUE
4. What will be the output of the following PHP code?
Correct Answer is : FALSE
5. Which of the functions is used to sort an array in descending order?
Correct Answer is : transaction effects are recorded permanently
6. What will be the output of the following PHP code?
Correct Answer is : 2
7. What will be the output of the following PHP code?
Correct Answer is : methods
8. y in the above question you need to get the array sorted in the manner we humans would have done it i.e picture1 then picture2 etc.. Which of the following function should be used?
Correct Answer is : $fh
9. What will be the output of the following PHP code?
Correct Answer is : $dbh
10. What will be the output of the following PHP code?
Correct Answer is : $rc
11. What will be the output of the following PHP code?
Correct Answer is : DROP INDEX
12. What will be the output of the following PHP code?
Correct Answer is : subquerying
13. Which of the following term originates from the Greek language that means “having multiple forms,” defines OOP’s ability to redefine, a class’s characteristics?
Correct Answer is : foreign
14. The practice of creating objects based on predefined classes is often referred to as..
Correct Answer is : TRUE
15. Which one of the following property scopes is not supported by PHP?
Correct Answer is : $h
16. Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
Correct Answer is : $ary
17. Which one of the following is the right way to define a constant?
Correct Answer is : $rows
18. Which one of the following is the right way to call a class constant, given that the class is mathFunction?
Correct Answer is : TRUE
19. Which one of the following is the right way to invoke a method?
Correct Answer is : Natural language
20. Which of the following is/are the right way to declare a method?
i) function functionName() { function body }
ii) scope function functionName() { function body }
iii) method methodName() { method body }
iv) scope method methodName() { method body }