wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

it10

Total questions: 20

Worksheet time: 18mins

Name
Class
Date
1.

What does XAMPP stand for?

(a)  

2.

(a)   are expressions terminated by semicolons

3.

The (a)   tell the web server to treat everything inside the tags as PHP code to run

4.

(a)   means to process text strings word-by-word, line-by-line, to figure out what to do with them.

5.

(a)   Is a software that converts source code into the code that computer can understand

6.

(a)   is the stuff you type that is typically invisible on the screen, including spaces, tabs, and carriage returns

7.

PHP is case-sensitive. Knowing what are case sensitive and what is not is very important to avoid syntax errors.

a)

True

b)

False

8.

There are 10 datatypes

a)

True

b)

False

9.

A (a)   is a sequence of characters or letters

10.

An (a)   stores multiple values in one single variable

11.

(a)   is used if you want to select one of many blocks of code to be executed

12.

PHP is a recursive acronym for

(a)  

13.

PHP was created by a man named?

(a)  

14.

in a truth table, If X = True and Y = False then the value of ((!X && Y) || Y && X) is?

(a)  

15.

(a)   are symbols that are used to perform mathematical calculations

16.

A (a)   in PHP code is a line that is not executed as a part of the program

17.

This data type can hold one of two values: true or false.

(a)  

18.

Which of the following is correct on creating comment in PHP?

a)

*My comment*

b)

/*My comment*/

c)

<!--My comment-->

d)

**My comment**

19.

PHP codes should start with ____ and ends with ____

a)

<php> ... </php>

b)

<? ... /?>

c)

<php ... />

d)

<?php ... ?>

20.

We should name variables used in PHP with ...

a)

Nothing

b)

$$

c)

?

d)

$