Sail E0 Webinar

MCQs

Total Questions : 54 | Page 5 of 6 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. PHP ..... demand that you declare a data type when you create a variable.
  1.    does not
  2.    does
 Discuss Question
Answer: Option A. -> does not
Question 43. What is the limit of a PHP integer value?
  1.    1048576
  2.    2147483647
  3.    16384
  4.    65536
 Discuss Question
Answer: Option B. -> 2147483647
Question 44. Strval()
  1.    Accepts a value and converts it into an string dictionary
  2.    Accepts a value and converts it into a string array
  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 45. PHP considers the following values as False
  1.    constant NULL
  2.    the integer 0
  3.    All of Above
  4.    the one-character string 0
  5.    both A and B
 Discuss Question
Answer: Option C. -> All of Above
Question 46. 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.    backslash
  4.    asterix
 Discuss Question
Answer: Option C. -> backslash
Question 47. Multiple namespaces cannot be defined in the same file.
  1.    TRUE
  2.    FALSE
 Discuss Question
Answer: Option B. -> FALSE
Question 48. With the introduction of namespaces, the same function name can be used in multiple places.
  1.    FALSE
  2.    TRUE
 Discuss Question
Answer: Option B. -> TRUE
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.    label
  2.    php
  3.    grant
  4.    use
 Discuss Question
Answer: Option D. -> use

Latest Videos

Latest Test Papers