wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz 9 (15.09.2021)

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

In _______, the program code is run from the server hosting the website.

a)

server-side programming

b)

client-side programming

2.

In _______, programs are run on the user's computer using scripts that are downloaded along with the HTML and CSS files.

a)

server-side programming

b)

client-side programming

3.

JavaScript is _________

a)

an compiled language

b)

an interpreted language

c)

inserted directly into an HTML file

d)

placed in a separate text file that is linked to the HTML file

4.

The ______ attribute tells the browser to parse the HTML and JavaScript code together, only pausing to process the script before returning to the HTML file.

a)

async

b)

defer

c)

script

d)

HTML

5.

A ____________ occurs after a script has been successfully loaded with no syntax errors and is being executed by a browser.

a)

load-time error

b)

run-time error

c)

logical error

d)

random error

6.

An _______ is an entity within the browser or web page that has ________ that define it and ________ that can be acted upon it.

a)

object, methods, properties

b)

properties, methods, object

c)

object, properties, methods

d)

methods, properties, object

7.

A ______ is a named item in a program that stores a data value, such as a number or text string.

a)

property

b)

value

c)

method

d)

variable

8.

JavaScript supports the following data types:

a)

numeric value

b)

text string

c)

Boolean value

d)

object

9.

A _________ is a statement that runs a command or command block only when certain circumstances are met.

a)

conditional statement

b)

logical statement

c)

comparison statement

d)

continue statement

10.

A ____ value indicates the truth or falsity of a statement.

a)

numeric

b)

Boolean

c)

text

d)

date