wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Development Technologies II Viva Quiz

Total questions: 19

Worksheet time: 19mins

Name
Class
Date
1.
What does PHP stand for?
a)
Preprocessor Home Page
b)
Hypertext Preprocessor
c)
Pretext Hypertext Processor
d)
Personal Hyper Processor
2.
Which of the following is the correct syntax to write a PHP code?
a)
<?php ?>
b)
< php >
c)
< ? php?>
d)
<? ?>
3.
Which of the following is the default file extension of PHP files?
a)
.ph
b)
.xml
c)
.php
d)
.html
4.
Which is the right way of declaring a variable in PHP?
a)
$3hello
b)
$this
c)
$_hello
d)
$5_Hello
5.
Which of the following is not a variable scope in PHP?
a)
Extern
b)
Static
c)
Local
d)
Global
6.
Which of the following is used for concatenation in PHP?
a)
+ (plus)
b)
. (dot)
c)
* (Asterisk)
d)
append()
7.
What is the use of isset() function in PHP?
a)
The isset() function is used to check whether variable is set or not
b)
The isset() function is used to check whether the variable is string or not
c)
The isset() function is used to check whether the variable is free or not
d)
None of the above
8.

What does PDO stand for?

(a)  

9.
Name, value, expire, patrh, httponly, domain, secure all of these are arguments of
a)
session ( ) function
b)
reset_cookie ( ) function
c)
setcookie ( ) function
d)
None of them
10.
If you want to free all variables in a session, which function you can use
a)
session_destroy ( )
b)
set ( )
c)
session_unset ( )
d)
All of them
11.
The session_start() function must appear..
a)
after the html tag
b)
before the body tag
c)
after the body tag
d)
before the html tag
12.
Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?
a)
get_row()
b)
fetch()
c)
fetch_row()
d)
row()
13.
In a LIKE clause, you can ask for any value ending in “ton” by writing
a)
LIKE ton$
b)
LIKE *ton
c)
LIKE %ton
d)
LIKE .*ton
14.
Which of these commands will delete a table called AAA if you have appropriate authority:
a)
DROP AAA
b)
DROP TABLE AAA
c)
DELETE AAA
d)
DELETE TABLE AAA
15.
Which of the following is available in MySQL:
a)
CREATE TRIGGER
b)
CREATE SCHEMA
c)
CREATE FAIRY LIGHTS
d)
CREATE DATABASE
16.
The output from PHP is statically generated.
a)
True
b)
False
17.
SQL is not case sensitive. SELECT is the same as select.
a)
True
b)
False
18.
When using the POST method, variables are displayed in the URL:
a)
True
b)
False
19.
POST method should not be used while sending passwords or other sensitive information?
a)
True
b)
False