Sail E0 Webinar

MCQs

Total Questions : 67 | Page 7 of 7 pages
Question 61. What will be the output of the following PHP code ?
  1.    AshleyBaleBlank
  2.    BaleShrek
  3.    AshleyBlank
  4.    Bale
 Discuss Question
Answer: Option B. -> BaleShrek
Question 62. What will be the output of the following PHP code ?
  1.    error
  2.    infinite loop
  3.    no output
  4.    0
 Discuss Question
Answer: Option B. -> infinite loop
Question 63. What will be the output of the following PHP code ?
  1.    hihellobye
  2.    infinite loop
  3.    hihello
  4.    no output
 Discuss Question
Answer: Option D. -> no output
Question 64. What will be the output of the following PHP code ?
  1.    iiiii
  2.    infinite loop
  3.    iiiiiiiiiiiiiiiiiiiiiiiii
  4.    no output
 Discuss Question
Answer: Option A. -> iiiii
Question 65. What will be the output of the following PHP code ?
  1.    ArrayArrayArrayArrayArrayArray….infinitely
  2.    (“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)(“hi”,”hello”,”bye”)…infinitely
  3.    hihellobyehihellobyehihellobyehihellobyehihellobyehihellobye…..infinitely
  4.    no output
 Discuss Question
Answer: Option A. -> ArrayArrayArrayArrayArrayArray….infinitely
Question 66. What will be the output of the following PHP code ?
  1.    24
  2.    134
  3.    1234
  4.    1
 Discuss Question
Answer: Option A. -> 24
Question 67. What will be the output of the following PHP code ?
  1.    0
  2.    infinite loop
  3.    -1
  4.    1
 Discuss Question
Answer: Option C. -> -1

Latest Videos

Latest Test Papers