Top 350+ Solved Advance PHP MCQ Questions Answer
Q. GET request is often cacheable while-----request is hardly cacheable.Sol:
a. $_GET
b. $_POST
c. POST
d. GET
Q. GET method supports only string data types while-------method supports different datatypes, such as string, numeric, binary, etcSol:
a. $_GET
b. $_POST
c. POST
d. GET
Q. there are two ways the browser client can send information to the web server .The GET Method & The POST MethodSol:
a. yes
b. no
c. can not say
d. none of these.
Q. Never use GET method if you have password or other sensitive information to be sentto the server.Sol:
a. yes
b. no
c. can not say
d. none of these.
Q. GET can't be used to send binary data, like images or word documents, to the serverSol:
a. yes
b. no
c. can not say
d. none of these.
Q. The data sent by GET method can be accessed using QUERY_STRING environmentvariable.Sol:
a. yes
b. no
c. can not say
d. none of these.
Q. The POST method can be used to send ASCII as well as binary dataSol:
a. yes
b. no
c. can not say
d. none of these.
Q. The PHP provides $_POST associative array to access all the sent information usingPOST method.Sol:
a. yes
b. no
c. can not say
d. none of these.
Q. PHP $_POST is a PHP super global variable which is used to collect form data aftersubmitting an HTML form with method="post". $_POST is also widely used to pass variablesSol:
a. yes
b. no
c. can not say
d. none of these.
Q. The GET method can retrieve information identified by the request-URl (UniformResource Identifier)Sol:
a. yes
b. no
c. can not say
d. none of these.
Q. Use POST when you need the server, which controls URL generation of your resourcesSol:
a. yes
b. no
c. can not say
d. none of these.
Q. The GET method is restricted to send upto------characters onlySol:
a. 1024
b. 1000
c. 255
d. 1056