Top 150+ Solved Advanced Web Technologies MCQ Questions Answer
Q. The ____statement is used to perform different actions based ondifferent conditions.
a. switch
b. min
c. abs
d. sqrt()
Q. The PHP ____function formats a timestamp to a more readable date and time.
a. date()
b. min()
c. abs()
d. sqrt()
Q. A ______ is a way to store information (in variables) to be usedacross multiple pages.
a. cookie
b. session
c. abs
d. sqrt
Q. _______are the two main aspects of object-oriented programming.
a. classes and objects
b. constructor and destructor
c. object and array
d. none of these
Q. A ______allows you to initialize an object's properties upon creation of theobject.
a. classes
b. constructor
c. object
d. none of these
Q. If you create a __construct() function, PHP will automatically call thisfunction when you create an object from a class.
a. true
b. false
c. both a and b
d. none of these
Q. A ______is called when the object is destructed or the script is stopped orexited.
a. destructor
b. constructor
c. object
d. none of these
Q. If you create a __destruct() function, PHP will automatically call thisfunction at the end of the script.
a. true
b. false
c. both a and b
d. none of these
Q. URL stands for ____________ .
a. Uniform resource locator
b. Universal resource location
c. Universe research land mark
d. non of theses
Q. The __________ array contains information from the web server.
a. S_client
b. S_server
c. dynamic
d. non of these
Q. The _________ works through request header and response.
a. Authentication
b. Authority
c. Responsibility
d. none of these
Q. _____________ is a php super global variable which is used to access globalvariable from anywhere in PHP script.
a. $_ localb
b. $_Global
c. Client
d. none of these
Q. The size of file can be limited using _________ limit and _____________ limit.
a. soft and hard
b. little and short
c. mg and gb
d. none of these
Q. How do you create cookie in PHP by ________.
a. set-cookie()
b. create Cookie ()
c. make Cooking()
d. none of these