| 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. What will be the output of the following PHP code? ";print_r($b1);?>

Correct Answer is : column

2. hat will be the output of the following PHP code?

Correct Answer is : SOME

3. hat will be the output of the following PHP code?

Correct Answer is : EXISTS and NOT EXISTS

4. What will be the output of the following PHP code?

Correct Answer is : TRUE

5. What will be the output of the following PHP code ? "21", "Ron" => "23","Malfoy" => "21");array_change_key_case($age, CASE_UPPER);array_pop($age);print_r($age);?>

Correct Answer is : Correlated

6. What will be the output of the following PHP code ? "red", "b" => "green", "c" => "blue", "d" => "yellow");$a2 = array("e" => "red","f" => "green", "g" => "blue");$result = array_intersect($a1, $a2);print_r($result);?>

Correct Answer is : UNION

7. What will be the output of the following PHP code ?

Correct Answer is : column name

8. What will be the output of the following PHP code ? "Jaguar", "b" => "Land Rover", "c" => "Audi", "d" => "Maseratti");echo array_search("Audi", $a);?>

Correct Answer is : FALSE

9. What will be the output of the following PHP code ?

Correct Answer is : DISTINCT

10. What will be the output of the following PHP code ?

Correct Answer is : ALL

11. What will be the output of the following PHP code ?

Correct Answer is : FALSE

12. What will be the output of the following PHP code ?

Correct Answer is : ORDER BY

13. What will be the output of the following PHP code ? "21", "Ron" => "19", "Malfoy" => "23");ksort($age);foreach($age as $x => $x_value){ echo "Key=" . $x . ", Value=" . $x_value; echo "
";}?>

Correct Answer is : LIMIT

14. hat will be the output of the following PHP code?

Correct Answer is : MERGE

15. What will be the output of the following PHP code? "35", "Ben"=>"37", "Joe"=>"43");print_r(array_change_key_case($age, CASE_UPPER));?>

Correct Answer is : UNION ALL

16. What will be the output of the following PHP code?

Correct Answer is : transactions

17. What will be the output of the following PHP code?

Correct Answer is : commit

18. What will be the output of the following PHP code?

Correct Answer is : rollback

19. What will be the output of the following PHP code? "red", "b"=>"green", "c"=>"blue", "d"=>"yellow");$a2 = array("e"=>"red", "f"=>"green", "g"=>"blue");$result = array_diff($a1, $a2);print_r($result);?>

Correct Answer is : Atomicity

20. What will be the output of the following PHP code? ";print_r($b1);?>

Correct Answer is : Consistency