wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Chapter 1-4

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

The following are examples of logical operators except:

a)

And

b)

Or

c)

Nor

d)

Not

2.

In modulus division, 10 % 6 is equal to:

a)

Two

b)

Three

c)

Four

d)

Five

3.

The following are rules in naming convention except:

a)

It should start with a number or underscore.

b)

It should be descriptive.

c)

Second letter can be a number.

d)

It should not contain any special character except underscore.

4.

It contains instructions that continually repeat until a certain condition is reached.

a)

Conditional Statement

b)

Looping Statement

c)

If...Else Statement

d)

Infinite Statement

5.

It is a type of website that displays different types of content every time a user views it.

a)

Static

b)

Dynamic

c)

Iteration

d)

Repetition

6.

It is a character that represents a specific mathematical or logical action or process.

a)

Statement

b)

Conditional

c)

Operator

d)

Looping

7.

Website that stays the same for every visitor unless the developer makes a concerted effort to modify the page’s source code.

a)

Dynamic

b)

Symmetric

c)

Static

d)

Webpage

8.

The following are examples of operators except:

a)

Logical

b)

Arithmetic

c)

Rational

d)

Relational

9.

Assuming that the value of x=14, y=2 then x % y is equal to:

a)

Zero

b)

One

c)

Two

d)

Three

10.

This refers to the "=" (equals) sign and assigns a variable.

a)

Relational Operator

b)

Logical Operator

c)

Arithmetic Operator

d)

Assignment Operator

11.

It is a value that can change, depending on conditions or on information passed to the program.

a)

Declarations

b)

Statement

c)

Tags

d)

Variable

12.

Which of the following is not a part of looping statement.

a)

Continuation Condition

b)

Boolean Expression

c)

Initialization Expression

d)

Update Expression

13.

A variable that declared by starting the variable name with the dollar sign ($).

a)

Local

b)

Global

c)

General

d)

Initial

14.

It used to display the output of parameters that are passed to it in php language.

a)

Console Output

b)

Print

c)

Echo

d)

Show

15.

He invented the World Wide Web while at CERN.

a)

Tim Burton

b)

Thimothy Berners Ling

c)

Justin Timberlake

d)

Tim Berners-Lee