wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

tle JAVASCRipt test

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

To increase value of X by 1?

a)

x++;

b)

x=x+1;

2.

O comando (a)   é utilizado quando precisamos que apareça um alerta no navegador

3.

What kind of data type is the value "Javascript!"?

a)

A Boolean

b)

A Word

c)

A Number

d)

A String

4.

HTML is a/n __________ language.

a)

C++

b)

semantic

c)

javascript

d)

engineering

5.

An "ID" can be a word or a number.

a)

True

b)

False

6.

var x = 5;

var y = 2;

var z = x % y;


What would be the value of "z" in the above code?

a)

1

b)

2

c)

0

7.

Qual dos eventos capturam o foco recebido por um elemento?

a)

change

b)

focus

c)

click

d)

submit

8.

JavaScript é a mesma coisa que Java?

a)

Verdadeiro

b)

Falso

9.

What is *Math* in this line of code?

a)

A value

b)

A method

c)

An object

d)

A variable

10.

Como criar uma função no javascript?

a)

function minhaFuncao()

b)

function:minhaFuncao()

c)

function = minhaFuncao()