πŸ“Š Advanced Web Technologies
Q. Which one of the following keyword is used to inherit our subclass into a superclass?
  • (A) . extends
  • (B) . implements
  • (C) . inherit
  • (D) . include
πŸ’¬ Discuss
βœ… Correct Answer: (A) . extends
πŸ“Š Advanced Web Technologies
Q. Which one of the following functions is used to determine object type?
  • (A) obj_type()
  • (B) type()
  • (C) is_a()
  • (D) is_obj()
πŸ’¬ Discuss
βœ… Correct Answer: (C) is_a()
πŸ“Š Advanced Web Technologies
Q. Which one of the following functions is used to determine whether a class exists?
  • (A) exist()
  • (B) exist_class()
  • (C) class_exist()
  • (D) exist()
πŸ’¬ Discuss
βœ… Correct Answer: (C) class_exist()
πŸ“Š Advanced Web Technologies
Q. PHP recognize constructors by the name.
  • (A) class name()
  • (B) _construct()
  • (C) function _construct()
  • (D) function __construct()
πŸ’¬ Discuss
βœ… Correct Answer: (D) function __construct()
πŸ“Š Advanced Web Technologies
Q. Which of the following statements are true is/are true about constructors in PHP?
(i) PHP 4 introduced class constructors.
(ii) Constructors can accept parameters.
(iii) Constructors can call class methods or other functions
(iv) Class constructors can call on other constructors.
  • (A) All of the mentioned
  • (B) None of the mentioned
  • (C) only i
  • (D) only ii
πŸ’¬ Discuss
βœ… Correct Answer: (A) All of the mentioned
πŸ“Š Advanced Web Technologies
Q. Which method scope prevents a method from being overridden by a subclass?
  • (A) Abstract
  • (B) Protected
  • (C) Final
  • (D) Static
πŸ’¬ Discuss
βœ… Correct Answer: (C) Final
πŸ“Š Advanced Web Technologies
Q. the switch statement is used to perform different actions based on different conditions
  • (A) true
  • (B) false
  • (C) both a and b
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) true
πŸ“Š Advanced Web Technologies
Q. The long form of SQL is __________.
  • (A) Structural query language
  • (B) Structural question language
  • (C) System Query Language
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Structural query language