Top 350+ Solved Advance PHP MCQ Questions Answer

From 16 to 30 of 320

Q. Notice that the destruct function starts with-------Sol:

a. __Construct()

b. ___()

c. oop

d. class

  • b. ___()

Q. -----function that is automatically called when you create an object from a class, and a ---------function that is automatically called at the end of the scriptSol:

a. __Construct() & __destruct()

b. ___Destruct()& input()

c. oop& procedure

d. class & object

  • a. __Construct() & __destruct()

Q. ------stands for Object-Oriented Programming.Sol:

a. __Construct()

b. ___Destruct()

c. OOP

d. class

  • c. OOP

Q. -----and methods can have access modifiers which control where they can be accessedSol:

a. Properties

b. Destruct

c. OOP

d. class

  • a. Properties

Q. -----the property or method can be accessed from everywhere. This is defaultSol:

a. Properties

b. public

c. protected

d. private

  • b. public

Q. ------the property or method can ONLY be accessed within the classSol:

a. Properties

b. public

c. protected

d. private

  • d. private

Q. --------in OOP When a class derives from another class.Sol:

a. inheritance

b. public

c. protected

d. private

  • a. inheritance

Q. An inherited class is defined by using the------keywordSol:

a. inheritance

b. public

c. extends

d. private

  • c. extends

Q. The long form of WSDL is-----------------

a. Simple Object Access Protocol

b. Universal Description, Discovery and Integration

c. Web Services Description Language

d. none of these

  • c. Web Services Description Language

Q. following are the characteristics of web services

a. XML-based

b. Coarse-grained

c. Loosely coupled

d. all of above

  • d. all of above

Q. In the coarse-grained operation, a few objects hold a lot of related data

a. yes

b. no

c. can not say

d. none of these

  • a. yes

Q. It wrapsone or more fine-grained services together into a coarse-grained service

a. yes

b. no

c. can not say

d. none of these

  • a. yes
Subscribe Now

Get All Updates & News