Sail E0 Webinar

MCQs

Total Questions : 77 | Page 4 of 8 pages
Question 31. What will be the output of the following PHP code?
  1.    error
  2.    this works
  3.    this worksthis too works
  4.    this works this too works
 Discuss Question
Answer: Option C. -> this worksthis too works
Question 32. What will be the output of the following PHP code?
  1.    4
  2.    5
  3.    2
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> 4
Question 33. What will be the output of the following PHP code?
  1.    I am awesome!!
  2.    const
  3.    const, I am awesome!!
  4.    “const”,”I am awesome!”
 Discuss Question
Answer: Option A. -> I am awesome!!
Question 34. What will be the output of the following PHP code?
  1.    SaladSaladSaladSaladSalad is good
  2.    is good SaladSaladSaladSaladSalad
  3.    is good Salad
  4.    Salad is good
 Discuss Question
Answer: Option D. -> Salad is good
Question 35. What will be the output of the following PHP code?
  1.    O’Malley Wins The Heavyweight Championship!
  2.    O’malley Wins The Heavyweight Championship!
  3.    O’Malley wins the heavyweight championship!
  4.    o’malley wins the heavyweight championship!
 Discuss Question
Answer: Option D. -> o’malley wins the heavyweight championship!
Question 36. What will be the output of the following PHP code?
  1.    I love my country
  2.    i love my Country
  3.    I love my Country
  4.    I Love My Country
 Discuss Question
Answer: Option D. -> I Love My Country
Question 37. What will be the output of the following PHP code?
  1.    welcome to India
  2.    welcome to india
  3.    Welcome to India
  4.    Welcome to india
 Discuss Question
Answer: Option A. -> welcome to India
Question 38. What will be the output of the following PHP code?
  1.    What does /”yolo/” mean?
  2.    What does ”yolo” mean?
  3.    What does ”yolo” mean?
  4.    What does ”yolo” mean?
 Discuss Question
Answer: Option D. -> What does ”yolo” mean?
Question 39. What will be the output of the following PHP code?
  1.    Hello World!
  2.    welcome to india
  3.    This is PHP!
  4.    MCQ questons
 Discuss Question
Answer: Option A. -> Hello World!
Question 40. What will be the output of the following PHP code?
  1.    Array ( [0] => Hello [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. )
  2.    Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. )
  3.    Hello world. It’s a beautiful day
  4.    Array ( [1] => Hello [2] => world. [3] => It’s [4] => a [5] => beautiful [6] => day. )
 Discuss Question
Answer: Option B. -> Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. )

Latest Videos

Latest Test Papers