Sail E0 Webinar

MCQs

Total Questions : 67 | Page 5 of 7 pages
Question 41. What will be the output of the following PHP code ?
  1.    0
  2.    infinite loop
  3.    no output
  4.    error
 Discuss Question
Answer: Option D. -> error
Question 42. What will be the output of the following PHP code ?
  1.    123456789101112
  2.    12345678910
  3.    1234567891011
  4.    infinite loop
 Discuss Question
Answer: Option A. -> 123456789101112
Question 43. What will be the output of the following PHP code ?
  1.    **********
  2.    *********
  3.    ***********
  4.    infinite loop
 Discuss Question
Answer: Option B. -> *********
Question 44. What will be the output of the following PHP code ?
  1.    -3-4-5
  2.    -3-4
  3.    infinite loop
  4.    no output
 Discuss Question
Answer: Option D. -> no output
Question 45. What will be the output of the following PHP code ?
  1.    123456789101112
  2.    12345678910
  3.    1234567891011
  4.    infinite loop
 Discuss Question
Answer: Option D. -> infinite loop
Question 46. What will be the output of the following PHP code ?
  1.    In for loop
  2.    After for loop
  3.    In for loopAfter for loop
  4.    Infinite loop
 Discuss Question
Answer: Option C. -> In for loopAfter for loop
Question 47. What will be the output of the following PHP code ?
  1.    In for loop
  2.    After for loop
  3.    In for loopAfter for loop
  4.    Infinite loop
 Discuss Question
Answer: Option B. -> After for loop
Question 48. What will be the output of the following PHP code ?
  1.    In for loopIn for loopIn for loopIn for loop……infinitely
  2.    After for loopAfter for loopAfter for loop……..infinitely
  3.    In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop…..infinitely
  4.    After for loop
 Discuss Question
Answer: Option A. -> In for loopIn for loopIn for loopIn for loop……infinitely
Question 49. What will be the output of the following PHP code ?
  1.    Infinite
  2.    123…….20
  3.    1357…19
  4.    13579…21
 Discuss Question
Answer: Option A. -> Infinite
Question 50. What will be the output of the following PHP code ?
  1.    Hello….36 times
  2.    Hello….45 times
  3.    Hello….50 times
  4.    Hello….40 times
 Discuss Question
Answer: Option A. -> Hello….36 times

Latest Videos

Latest Test Papers