Top 350+ Solved Web Technology MCQ Questions Answer

From 331 to 345 of 417

Q. We can use ___ to comment a single line?i) /?ii) //iii) #iv) /* */

a. Only ii)

b. i), iii) and iv)

c. ii), iii) and iv)

d. Both ii) and iv)

  • c. ii), iii) and iv)

Q. Which of the below statements is equivalent to $add += $add ?

a. $add = $add

b. $add = $add +$add

c. $add = $add + 1

d. $add = $add + $add + 1

  • b. $add = $add +$add

Q. Which of the below symbols is a newline character?

a. \r

b. \n

c. /n

d. /r

  • b. \n

Q. Which of the looping statements is/are supported by PHP?i) for loop ii) while loop iii) do-while loop iv) foreach loop

a. i) and ii)

b. i), ii) and iii)

c. All of the above

d. None of the above

  • c. All of the above

Q. Who is the father of PHP?

a. Rasmus Lerdorf

b. Willam Makepiece

c. Drek Kolkevi

d. List Barely

  • a. Rasmus Lerdorf

Q. Which of following variables can be assigned a value to it?i) $3helloii) $_helloiii) $thisiv) $This

a. All of the above

b. Only ii)

c. ii), iii) and iv)

d. ii) and iv)

  • d. ii) and iv)

Q. A----- is whatever you’re using to interact with the internet

a. client

b. HTTP

c. serer

d. navigation

  • a. client

Q. The web browser on your computer is one-----

a. HTTP

b. serer

c. navigation

d. client

  • d. client

Q. A-----is a computer that responds to requests by serving responses

a. client

b. HTTP

c. serer

d. navigation

  • c. serer

Q. The-------is about communication between web clients and web servers.

a. client

b. HTTP

c. serer

d. www

  • d. www

Q. The example of--------are often browsers (Chrome, Edge, Safari).

a. client

b. HTTP

c. serer

d. navigation

  • a. client
Subscribe Now

Get All Updates & News