Sail E0 Webinar

MCQs

Total Questions : 77 | Page 3 of 8 pages
Question 21. What will be the output of the following PHP code?
  1.    error
  2.    $msg
  3.    0
  4.    will this work
 Discuss Question
Answer: Option D. -> will this work
Question 22. What will be the output of the following PHP code?
  1.    1
  2.    2
  3.    3
  4.    4
 Discuss Question
Answer: Option D. -> 4
Question 23. What will be the output of the following PHP code?
  1.    106
  2.    103
  3.    104
  4.    209
 Discuss Question
Answer: Option C. -> 104
Question 24. What will be the output of the following PHP code?
  1.    0.11845976421345
  2.    0.23568451142521
  3.    0.46364760900081
  4.    1
 Discuss Question
Answer: Option C. -> 0.46364760900081
Question 25. What will be the output of the following PHP code?
  1.    Hello you! How are you today?
  2.    GREETING
  3.    GREETING, Hello you! How are you today?
  4.    “GREETING”,”Hello you! How are you today?”
 Discuss Question
Answer: Option A. -> Hello you! How are you today?
Question 26. What will be the output of the following PHP code?
  1.    Error
  2.    49
  3.    1
  4.    Sum
 Discuss Question
Answer: Option C. -> 1
Question 27. What will be the output of the following PHP code?
  1.    0
  2.    1
  3.    0.5
  4.    -0.5
 Discuss Question
Answer: Option B. -> 1
Question 28. What will be the output of the following PHP code?
  1.    b is executedb is executedb is executed
  2.    b is executeda is executed
  3.    a is executed
  4.    b is executeda is executedb is executed
 Discuss Question
Answer: Option D. -> b is executeda is executedb is executed
Question 29. What will be the output of the following PHP code?
  1.    Returned value from the function : $return_value
  2.    Error
  3.    Returned value from the function : 30
  4.    Returned value from the function :
 Discuss Question
Answer: Option C. -> Returned value from the function : 30
Question 30. What will be the output of the following PHP code?
  1.    No Output
  2.    Error
  3.    sayHello
  4.    HelloWorld
 Discuss Question
Answer: Option D. -> HelloWorld

Latest Videos

Latest Test Papers