Sail E0 Webinar

MCQs

Total Questions : 103 | Page 10 of 11 pages
Question 91. Which one of the following regular expression matches any string containing zero or one p?
  1.    p+
  2.    p*
  3.    p?
  4.    p#
 Discuss Question
Answer: Option C. -> p?
Question 92. Who is the creator of PHP?
  1.    Harry Potter
  2.    Albert Einstein
  3.    Rasmus Lerdorf
  4.    Joshua Roi Evangelio
 Discuss Question
Answer: Option C. -> Rasmus Lerdorf
Question 93. When was PHP created?
  1.    2000
  2.    1894
  3.    1995
  4.    1994
 Discuss Question
Answer: Option D. -> 1994
Question 94. Which function is used to remove all HTML tags from a string passed to a form?
  1.    remove_tags()
  2.    strip_tags()
  3.    tags_strip()
  4.    tags_remove()
 Discuss Question
Answer: Option B. -> strip_tags()
Question 95. What are the advantages of PHP?
  1.    Run fast
  2.    Code is hidden
  3.    Interactivity decreased
  4.    Cheap
 Discuss Question
Answer: Option A. -> Run fast
Question 96. PHP code is embedded directly into XHTML document?
  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes
Question 97. Which of the following function is used to pick one or more random values from PHP Array?
  1.    array_random()
  2.    Rand_array()
  3.    array_rand()
  4.    Random_array()
 Discuss Question
Answer: Option C. -> array_rand()
Question 98. How do you create a cookie in PHP?
  1.    setcookie()
  2.    makecookie()
  3.    createcookie()
  4.    none of the above
 Discuss Question
Answer: Option A. -> setcookie()
Question 99. What type of language is PHP
  1.    Client Side
  2.    Server Side
  3.    Browser Side
  4.    Web Side
 Discuss Question
Answer: Option B. -> Server Side
Question 100. What is a correct way to add a comment in PHP?
  1.    /*...*/
  2.    //
  3.    /*...*/ & //
 Discuss Question
Answer: Option D. -> /*...*/ & //

Latest Videos

Latest Test Papers