wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Review PHP Programming 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What statement is that has this analogy?

a)

If Else

b)

Switch Case

c)

For Loop

d)

While Loop

2.

What's the name of this operator?

a)

Arithmatic

b)

Logical

c)

Bitwise

d)

Comparison

3.

What's the selection statement that mostly used for authentication?

a)

Switch statement

b)

If Elseif statement

c)

For loop

d)

While loop

4.

How many types of Scalar's data?

a)

2 (integer, string)

b)

3 (integer, string, float)

c)

4 (integer, string, float, boolean)

d)

5 (integer, string, float, boolean, array)

5.

How many styles of comment?

a)

1 (single comments only)

b)

2 (single and multi-line comments)

c)

3 (single, multi-line, and block comments)

d)

4 (single, multi-line, block, and inline comments)

6.

How many types of data in PHP?

a)

2 (scalar & compound)

b)

3 (scalar, compound & special)

c)

4 (scalar, compound, special & array)

d)

1 (only scalar)

7.

What's the name of this operator ?

a)

Arithmetic

b)

Logical

c)

Comparison

d)

Bitwise

8.

What's the name of this operator?

a)

Assignment

b)

Comparison

c)

Arithmetic

d)

Logical

9.

Tags used to display the output?

a)

Echo/Print

b)

Display/Show

c)

Output/Result

d)

Write/Log

10.

PHP is stand for?

a)

Personal Home Page

b)

Private Home Page

c)

Hypertext Preprocessor

d)

Hypertext Programming