wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Code Evaluation Practice, 1/23

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What will be printed to the console when this code is run?

a)

"A"

b)

"A", "B", "C"

c)

"A", "C"

d)

"B"

2.

What will be printed to the console when this code is run?

a)

"A"

b)

"A", "B", "C"

c)

"A", "C"

d)

"B"

3.

What will be printed to the console when the following code is run?

a)

"hi", "bye"

b)

"hi", "goodbye"

c)

"hello", "bye"

d)

"hello", "goodbye"

4.

What will be printed to the console when the following code is run?

a)

"hi", "bye"

b)

"hi", "goodbye"

c)

"hello", "bye"

d)

"hello", "goodbye"

5.

Which text words will you see on the canvas when this code is run?

a)

"G'day", "Hello", "Goodbye"

b)

"Goodbye"

c)

"Hello", "Goodbye"

d)

"Hello"

6.

Which text words will you see on the canvas when this code is run?

a)

"G'day", "Hello", "Goodbye"

b)

"Goodbye"

c)

"Hello", "Goodbye"

d)

"Hello"

7.

If the user clicks in the bottom right corner of the canvas, what will be printed to the console?

a)

"Wow"

b)

"Wow", "Neat"

c)

"Neat"

8.

Which text words will you see on the canvas when this code is run?

a)

"G'day", "Hello", "Goodbye"

b)

"Goodbye"

c)

"Hello", "Goodbye"

d)

"Hello"

9.

What will be printed to the console when this code is run?

a)

"a", 5

b)

"a", "a"

c)

"b", 2

d)

2, 2

10.

What will be printed to the console when this code is run?

a)

"a", "b"

b)

"a", "b", "c"

c)

"b", "c"

d)

"b"