Top 150+ Solved Advanced Web Technologies MCQ Questions Answer
Q. A ________ script can be placed anywhere in the document.
a. PHP
b. java script c
c. Angular js
d. none of these
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
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
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
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
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
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
Q. PHP supports the following data types:
a. String
b. Integer
c. Float (floating point numbers - also called double)
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
Q. the _________ statement is used to perform different actions based on differentconditions
a. switch
b. if condition
c. foreach
d. while
Q. In php, A ___________ is a block of statements that can be used repeatedlyin a program.
a. function
b. procedure
c. block
d. loop
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