Top 150+ Solved Advanced Web Technologies MCQ Questions Answer

From 16 to 30 of 185

Q. The ability to hide the details of implementation is known as _____.

a. Abstract class

b. Interface

c. Encapsulation

d. inheritance.

  • c. Encapsulation

Q. An _______ is one that cannot be instantiated, only inherited

a. Abstract class

b. Interface

c. Encapsulation

d. inheritance.

  • a. Abstract class

Q. Constant name are proceeded by _____ like a normal variable declaration.

a. Abstract class

b. dollar sign($)

c. Encapsulation

d. inheritance.

  • b. dollar sign($)

Q. _______ is available when a method is called from within an object context

a. Abstract class

b. dollar sign($)

c. $this

d. inheritance.

  • c. $this

Q. in PHP, An _____is a special variable, which can hold more than one value ata time.

a. array

b. structure

c. csss

d. none of these

  • a. array

Q. In PHP, there are three types of arrays:

a. Indexed arrays -

b. Associative arrays -

c. Multidimensional arrays -

d. all of the above

  • d. all of the above

Q. The _____ functions can be used to find the lowest or highest value in a list ofarguments:

a. count & num

b. min & max

c. abs & count

d. sqrt() & round

  • b. min & max

Q. the _____function returns the square root of a number:

a. count

b. min

c. abs

d. sqrt()

  • d. sqrt()

Q. The _______ function generates a random number:

a. rand

b. min

c. abs

d. sqrt()

  • a. rand

Q. To create a constant, use the _____ function.is used

a. define()

b. min()

c. abs()

d. sqrt()

  • a. define()

Q. In PHP7, you can create an Array constant using the ____ function.

a. define()

b. min()

c. abs()

d. sqrt()

  • a. define()
Subscribe Now

Get All Updates & News