Web Technologies MCQs - Unit 1
Web Technologies MCQs - Unit 1
A
client
B
server
C
both on client and server
D
None of the above
Correct Answer
Server
Correct Answer
$(dollar symbol)
A
Double quotes
B
single quotes
C
both A and B
D
inverted comas
Correct Answer
both A and B
A
Type of a variable
B
value of a variable
C
size of a variable
D
both A and B
Correct Answer
Type and value of a variable
Correct Answer
**
A
fun
B
function
C
fundec
D
no need to use any word
Correct Answer
function
A
reference to PHP function
B
reference to external recourses of PHP
C
both A & B
D
to store pointers
Correct Answer
both A & B
A
GET
B
POST
C
SUBMITT
D
both GET & POST
Correct Answer
both GET and POST
A
GET
B
POST
C
SUBMITT
D
both A & B
Correct Answer
POST - because data sent by using POST method is not visible to others
A
5000 characters
B
10000 characters
C
about 2000 characters
D
no limitation
Correct Answer
about 2000 chars
A
var_dump()
B
getenv()
C
preg_match()
D
none of the above
Correct Answer
getenv()
A
fopen()
B
openf()
C
fopens()
D
both A and B
Correct Answer
fopen()
A
File pointer
B
length of file
C
name of the file
D
both A and B
Correct Answer
File Pointer and length of the file expressed in bytes.
A
SESSID
B
PHPSESS
C
PHPSESSID
D
PHPID
Correct Answer
PHPSESSID
A
array()
B
session array()
C
$_SESSION[]
D
none
Correct Answer
$_SESSION[]
A
MYSQLi extension
B
PDO
C
both A and B
D
none
Correct Answer
both A and B
A
cookie ()
B
set()
C
setcookie()
D
none
Correct Answer
setcookie()
A
<? PHPβ¦β¦?>
B
<?........?>
C
<%.....%>
D
All of the above
Correct Answer
All of the above
A
max_size
B
upload_size
C
upload_max_filesize
D
upload_max_size
Correct Answer
upload_max_filesize.
A
To open a file
B
to read a file
C
to write a file
D
to open a file to read and write
Correct Answer
to open a file to read and write