Sail E0 Webinar

MCQs

Total Questions : 103 | Page 5 of 11 pages
Question 41. PHP does not support numbers written in hexadecimal, octal or scientific notation.
  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False
Question 42. Strval()
  1.    Accepts a value and converts it into a string array
  2.    Accepts a value and converts it into an string dictionary
  3.    Accepts a value and converts it into string equivalent
  4.    None of above
 Discuss Question
Answer: Option C. -> Accepts a value and converts it into string equivalent
Question 43. PHP ..... demand that you declare a data type when you create a variable.
  1.    does
  2.    does not
 Discuss Question
Answer: Option B. -> does not
Question 44. PHP considers the following values as False
  1.    the integer 0
  2.    the one-character string 0
  3.    constant NULL
  4.    both A and B
  5.    All of Above
 Discuss Question
Answer: Option E. -> All of Above
Question 45. What is the limit of a PHP integer value?
  1.    16384
  2.    65536
  3.    1048576
  4.    2147483647
 Discuss Question
Answer: Option D. -> 2147483647
Question 46. With the introduction of namespaces, the same function name can be used in multiple places.
  1.    TRUE
  2.    FALSE
 Discuss Question
Answer: Option A. -> TRUE
Question 47. Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list.
  1.    percent
  2.    ampersand
  3.    asterix
  4.    backslash
 Discuss Question
Answer: Option D. -> backslash
Question 48. Multiple namespaces cannot be defined in the same file.
  1.    TRUE
  2.    FALSE
 Discuss Question
Answer: Option B. -> FALSE
Question 49. Which of the below namespace declaration is correct?
  1.    namespace ORA:
  2.    namespace 1_RA;
  3.    namespace ORA;
  4.    namespace ORA_#;
 Discuss Question
Answer: Option C. -> namespace ORA;
Question 50. As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace.
  1.    php
  2.    grant
  3.    use
  4.    label
 Discuss Question
Answer: Option C. -> use

Latest Videos

Latest Test Papers