Top 50+ Solved Web Techniques MCQ Questions Answer
Q. A ______is a small file that the server embeds on the user's computer. Each timethe same computer requests a page with a browser, it will send the ________ too.
a. Cookie & cookie
b. FTP & TCP
c. GET & POST
d. HTTP request & HTTP Responses
Q. _______ statements reduce parsing time as the preparation on the query is doneonly once (although the statement is executed multiple times)
a. Prepared
b. fetch
c. array
d. SSL
Q. The MySQLi functions allows you to access______ database servers.
a. Mysql
b. SSL
c. Fetch
d. none of these
Q. The____ function fetches a result row as an associative array, a numeric array, orboth.
a. fetch array()
b. Cookie()
c. S_Array()
d. D_array()
Q. The ssl_set()function is used to establish secure connections using _____
a. secure socket layer (SSL)
b. Mysql
c. http
d. none of these
Q. __________ function is used to change the default database for the connection.
a. fetch_array()
b. Cookie()
c. S_Array()
d. mysqli_select_db()
Q. An inherited class is defined by using the ______ keyword.
a. extends
b. constructor
c. object
d. none of these
Q. Get and ________ are two HTTP methods that a client use to pass from dataserver.
a. get
b. Post
c. Server
d. Client
Q. ______ tag is used for multiple selections.
a. select tag
b. text tag
c. list tag
d. none of these
Q. Abstract classes and methods are when the parent class has a named method,but need its child class(es) to fill out the tasks.
a. true
b. false
c. both a and b
d. none of these
Q. An abstract class is a class that contains at least one abstract method. Anabstract method is a method that is declared, but not implemented in the code.
a. true
b. false
c. both a and b
d. none of these
Q. When inheriting from an abstract class, the child class method must be definedwith the same name, and the same or a less restricted access modifier.
a. true
b. false
c. both a and b
d. none of these
Q. Interfaces allow you to specify what methods a class should implement.
a. true
b. false
c. both a and b
d. none of these
Q. Interfaces are declared with the ________ keyword:
a. interface
b. abstract class
c. implements
d. None of these