Top 150+ Solved Advanced Web Technologies MCQ Questions Answer

From 136 to 150 of 185

Q. A ________ script can be placed anywhere in the document.

a. PHP

b. java script c

c. Angular js

d. none of these

  • a. PHP

Q. The default file extension for PHP files is _________

a. .PHP

b. .js

c. .Ajs

d. none of these

  • a. .PHP

Q. __________ is used to show the out put …or give message..same as printf in clanguage…

a. Echo

b. java script

c. Angular js

d. none of these

  • a. Echo

Q. A PHP script starts with <?php and ends with ?>:<?php // PHP code goes here ?>

a. true

b. false

c. both a and b

d. none of these

  • a. true

Q. PHP code is executed on the server, and the result is returned to the browser asplain HTML

a. true

b. false

c. both a and b

d. none of these

  • a. true

Q. PHP files can contain text, HTML, CSS, JavaScript, and PHP code

a. true

b. false

c. both a and b

d. none of these

  • a. true

Q. PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)

a. true

b. false

c. both a and b

d. none of these

  • a. true

Q. PHP is compatible with almost all servers used today (Apache, IIS, etc.)

a. true

b. false

c. both a and b

d. none of these

  • a. true

Q. PHP supports a ___________ range of databases

a. wide

b. small

c. short

d. none of these

  • a. wide

Q. PHP supports the following data types:

a. String

b. Integer

c. Float (floating point numbers - also called double)

d. all of the above .

  • d. all of the above .

Q. PHP divides the operators in the following groups:

a. Increment/Decrement operators

b. Logical operators

c. String operators

d. all of the above

  • d. all of the above

Q. the _________ statement is used to perform different actions based on differentconditions

a. switch

b. if condition

c. foreach

d. while

  • b. if condition

Q. In php, A ___________ is a block of statements that can be used repeatedlyin a program.

a. function

b. procedure

c. block

d. loop

  • a. function

Q. In php A function will not execute automatically when a page loads.

a. true

b. false

c. both a and b

d. none of these

  • a. true
Subscribe Now

Get All Updates & News