wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Grade 8 Coding Assessment

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.
What is coding?
a)
A type of math problem
b)
An instruction set for computers
c)
A way to draw pictures
d)
A form of writing
2.
What does 'sequential events' mean in coding?
a)
Events that happen at the same time
b)
Events that happen one after another
c)
Events that repeat over and over
d)
Events that are nested within each other
3.
What are loops in coding?
a)
Instructions that are repeated
b)
Instructions that are only used once
c)
Instructions that are written in a circle
d)
Instructions that change color
4.
What does 'nested events' refer to?
a)
Events that happen at the same time
b)
Events that are placed inside other events
c)
Events that are repeated
d)
Events that happen in a sequence
5.
What is pseudocode?
a)
A type of programming language
b)
An informal way to describe a program
c)
A way to draw pictures
d)
A type of flow chart
6.
What does 'concurrent events' mean?
a)
Events that happen one after another
b)
Events that happen at the same time
c)
Events that are repeated
d)
Events that are nested
7.
In coding, what does 'repeating events' help to do?
a)
Make the code longer
b)
Make the code more readable and efficient
c)
Make the code harder to understand
d)
Make the code colorful
8.
The 3 main control structures of coding are:
a)
loop, line, efficiency
b)
start, instruction, finish
c)
sequence, repetition, selection
d)
block, line, input
9.
How many bits are needed to represent one letter in binary?
a)
4
b)
6
c)
8
d)
10
10.
What is the term used for a grouping of eight bits?
a)
Byte
b)
Nibble
c)
Digit
d)
Bit
11.
What is half of a byte called?
a)
Bit
b)
Nibble
c)
Byte
d)
Kilobyte
12.
What does the term 'bit' refer to?
a)
A type of computer
b)
A binary digit
c)
A storage device
d)
A programming language
13.
What does "efficient coding" mean?
a)
Using as many lines of code to ensure all possibilities are covered
b)
Using the least lines of code to minimize storage space and execution time
c)
Using as many lines of code necessary as long as the job is done
14.
What will the computer answer if the instructions are: "start at 10 minus, 3 each time, loop 5 times."
a)
-1
b)
-5
c)
4
d)
1
15.
The computer has the following instructions: start at 12, multiply 5 each time. If the output is 7,500, how many times did the computer loop the code?
a)
3
b)
4
c)
5
d)
6
16.

What does "debugging" mean in coding?

a)

Removing insects from a room

b)

Making a program run faster

c)

Finding and fixing errors in code

d)

Decorating a computer