Sail E0 Webinar

MCQs

Total Questions : 103 | Page 9 of 11 pages
Question 81. Which of the following is NOT a valid PHP comparison operator?
  1.    !=
  2.    >=
 Discuss Question
Answer: Option D. ->
Question 82. What array will you get if you convert an object to an array?
  1.    An array with properties of that object as the array's elements
  2.    An array with properties of that array as the object's elements
  3.    An array with properties of that object as the Key elements
  4.    An array with keys of that object as the array's elements
 Discuss Question
Answer: Option A. -> An array with properties of that object as the array's elements
Question 83. Array values are keyed by ______ values (called indexed arrays) or using ______ values (called associative arrays)
  1.    Positive number, negative number
  2.    Even number, string
  3.    String, Boolean
  4.    Integer, string
 Discuss Question
Answer: Option D. -> Integer, string
Question 84. How many types of filtering are present in PHP?
  1.    3
  2.    2
  3.    4
  4.    None
 Discuss Question
Answer: Option B. -> 2
Question 85. Which one of the following PHP function is used to determine a file’s last access time?
  1.    fileltime()
  2.    filectime()
  3.    fileatime()
  4.    filetime()
 Discuss Question
Answer: Option C. -> fileatime()
Question 86. What does SPL stand for?
  1.    Standard PHP Library
  2.    Source PHP Library
  3.    Standard PHP List
  4.    Source PHP List
 Discuss Question
Answer: Option A. -> Standard PHP Library
Question 87. Which function can be used to move the pointer to the previous array position?
  1.    last()
  2.    before()
  3.    prev()
  4.    previous()
 Discuss Question
Answer: Option C. -> prev()
Question 88. Which version of PHP was added with Exception handling?
  1.    PHP 4
  2.    PHP 5
  3.    PHP 5.3
  4.    PHP 6
 Discuss Question
Answer: Option B. -> PHP 5
Question 89. What is the difference between GET and POST method?
  1.    GET displays the form values entered in the URL of the address bar where as POST does not.
  2.    POST displays the form values entered in the URL of the address bar where as GET does not.
  3.    There is no difference
  4.    none of the above
 Discuss Question
Answer: Option A. -> GET displays the form values entered in the URL of the address bar where as POST does not.
Question 90. PHP is not a programming language
  1.    False
  2.    True
 Discuss Question
Answer: Option A. -> False

Latest Videos

Latest Test Papers