wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Quiz!

Total questions: 23

Worksheet time: 24mins

Name
Class
Date
1.

What is used to signal to the computer to START following the code?

a)

Input

b)

Output

c)

Variable

d)

Logic

2.

Which of these allows code to have multiple (more than 1) options?

a)

Input

b)

Output

c)

Variable

d)

Logic

3.

How many variables would be needed to create the numbers on dice?

a)

2

b)

4

c)

6

d)

8

4.

What is the word used to describe how numbers are chosen on dice?

a)

Predictable

b)

Random

c)

Consistent

5.

How many variables would be needed to create a game of "rock, paper, scissors"?

a)

1

b)

3

c)

5

d)

100

6.

Morse code is made up of a series of...

a)

Books

b)

Dots and dashes

c)

Unfortunate Events

d)

TV shows

7.

Morse code message could be sent using which methods? (Choose 3)

a)

Blinking with eyes

b)

Flashing lights

c)

Beeps

d)

Paper plane

8.

TRUE or FALSE: A computer must follow instructions exactly as they are programmed?

a)

TRUE

b)

FALSE

9.

What should you do if your program doesn't work the way you expected?

a)

Smash your computer

b)

Cry

c)

Carefully check every bit of code to see where the mistake is.

d)

Give up

10.

What was the website we were using to create electronic dice?

a)

Typing.com

b)

Google.com

c)

Microbit.org

11.

We used Block code to make our electronic dice. What other types of code could be used on the Microbit website? Choose 2.

a)

Python

b)

Javascript

c)

Scratch

d)

Morse

12.

Coding can be used to

a)

Program robots

b)

create websites, games & apps

c)

tell computers what to do

d)

all of the above

13.
In coding terms an action or event you want to repeat multiple times is called a
a)
loop
b)
do-over
c)
time-line
d)
sequence
14.
Why is it important to learn how to write code?
a)
Programming can change the world.
b)
Programming is a basic literacy in the digital age.
c)
The ability to code separates those who have ideas from those who can make their ideas a reality.
d)
All of the above
15.
True or False: HTML is a coding language used to create web pages.
a)
True
b)
False
16.
True or False: A hyperlink can be a word, phrase, or graphic.
a)
True
b)
False
17.
True or False: You must save a text file with a .html extention so a web browser can open it.
a)
True
b)
False
18.
True or False: A website's home page is typically named homepage.html.
a)
True
b)
False
19.
Which of the following tags is used to insert a blank line?
a)
<br>
b)
<h1>
c)
<hr>
d)
<p>
20.
Items in a(n) ___ list are preceded by numbers.
a)
unordered
b)
bulleted
c)
ordered
d)
grocery
21.
The ___ tag set provides information to the browser about your webpage including the author name and keywords.
a)
<html></html>
b)
<body></body>
c)
<style></style>
d)
<meta></meta>
22.
True or False: The order of your <html>, <head>, and <body> tags is not important.
a)
True
b)
False
23.
True or False: The filenames that precede '.html' may not contain special characters, spaces, misspellings, or capital letters. 
a)
True
b)
False