wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the output?

a)

4

b)

3

c)

2

d)

Error

2.

What is variable in programming?

a)

Symbolic name given to unknown quantity

b)

Storage name associated with symbolic name

c)

Pembolehubah

d)

Unknown

3.

Laragon / XAMMP are example of development stacks

a)

True

b)

False

4.

What does PHP stand for?

a)

Personal Home Page

b)

PHP Hypertext Preprocesor

c)

PHP Hypertext Procesor

d)

Private Home Page

5.

What is the output?

a)

Error

b)

Hi Bye

c)

10

d)

Bye

6.

What is the output?

a)

Sun

b)

Moon

c)

Error

d)

Sun Moon

7.

How do you write "Hello World" in PHP?

a)

Document.write("Hello World");

b)

System.out.println("Hello World");

c)

print "Hello World"!

d)

echo ("Hello World");

8.

PHP server scripts are surrounded by which delimiters?

a)

<? ... ?>

b)

<script> ... </script>

c)

<?php ... ?>

d)

<?php> ... </php>

9.

Which is not server-side scripting language?

a)

JSP

b)

Javascript

c)

DOT NET

d)

PHP

10.

You may use foreach to iterate items in an array variable.

a)

Yes

b)

No