Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding

Total questions: 55

Worksheet time: 40mins

Name
Class
Date
1.
What is an error in a program that prevents the program from running as expected?
a)
Algorithm
b)
Program
c)
Bug
d)
Code
2.
What is finding and fixing errors in programs?
a)
Debugging
b)
Program
c)
Bug
d)
Code
3.
What is Code?
a)
Rules of conduct.
b)
A pack between friends.
c)
One or more commands designed to be carried out by a computer.
d)
Edoc spelled backwords.
4.
What is Code?
a)
Rules of conduct.
b)
A pack between friends.
c)
One or more commands designed to be carried out by a computer.
d)
Edoc spelled backwords.
5.
What do we call the person who writes the instructions for the computer to complete a task?
a)
architect
b)
programmer
c)

sequencer

d)
composer
6.
What can you make with programming?
a)
Games
b)
Websites
c)
Apps
d)
All of these
7.
A user does this to tell the computer start the commands you have written into the program.
a)
event
b)
run program
c)
function
d)
abstraction
8.

Code is...

a)

too difficult for Primary School students.

b)

a riddle

c)

a song or poem dedicated to someone.

d)

specific instructions in a computer program.

9.
What is the action of doing something over and over again?
a)
Loop
b)
Persistence
c)
Program
d)
Code
10.

A good code/program must be

a)

Detailed and short

b)

Hard to understand

c)

Very long

11.

A coder is to a computer as a teacher is to

a)

Book

b)

Principal

c)

Blackboard

d)

Student

12.

Imagine writing a program that instructs a bird on how to take off, fly and land, what code can I easily loop/repeat?

a)

Lift off

b)

Flap wings

c)

Land

d)

Lay eggs

13.

What is wrong with the below program?

a)

Too long

b)

Wrong sequence

c)

Wrong steps

14.

What is an algorithm?

a)

A set of instructions.

b)

A piece of Software.

c)

External Hardware

d)

A medical condition

15.

Algorithms are used to plan the steps to complete a variety of tasks, not just those for computers

a)

TRUE

b)

FALSE

16.

If I say the word "Algorithm" I am talking about what?

a)

When we all go to a store called Rithim.

b)

Algae that can DANCE!!!

c)

A new dance move.

d)

A list of steps you follow to finish a task.

17.

When you tell the computer to repeat a command or step over and over and over and over and over and over and over and over and over and... oh yeah, over again as many times as you tell to repeat.

a)

Deja Vu

b)

Loop

c)

Repeating

d)

Being annoying

18.

A piece of code with multiple steps that have been simplified down to one command which you can easily call over and over again.

a)

digital footprint

b)

run program

c)

abstraction

d)

function

19.

Statements that can only run under certain conditions or situations such as: if the seat is taken, then move to the next available seat.

a)

conditionals (if/then statements)

b)

variable

c)

abstractions

d)

binary

20.

A letter or symbol to which a some value can be assigned.

a)

Print

b)

Variable

c)

Output

d)

Bug

21.

Which language does a computer understand?

a)

Sync Language

b)

English language

c)

Programming Language

d)

Note language

22.

Which of the following is a Programming Language

a)

Anaconda

b)

Puppy

c)

Dexter

d)

Python

23.

Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.

a)

Command

b)

Run Program

c)

Algorithm

d)

Block-based programming language

24.

A contraction of "Binary Digit". A bit is the single unit of information in a computer, typically represented as a 0 or 1.

a)

Event

b)

Bit

c)

Conditionals

d)

ASCII

25.

The common programming structure that implements "conditional statements"

a)

Bug

b)

Debugging

c)

If-Statement

26.

A way of representing information using only two options

a)

BINARY

b)

Code

c)

Loop

d)

Conditionals

27.

An instruction for the computer. Many commands put together make up algorithms and computer programs.

a)

Algorithm

b)

If-Statement

c)

Loop

d)

Command

28.
What is Binary Code?
a)
Is a language that only the Java script code can use
b)
A mathematical language that uses 1 & O's
c)
Is a computer language that use 1-10 numbers to code
29.
What is a sequence?
a)
Is the correct order of commands
b)
Is the correct order of fuctions
c)
Is the correct order of manipulatives
30.
Loops are...
a)
An exception to a rule of commands
b)
A selection of commands
c)
A repetition of a command
31.
Which algorithm will get the bird to the pig?
a)
Forward 
Turn Left Forward
Forward
b)
Forward
Forward
Turn Left
Forward
Forward
c)
Forward
Forward
Turn Right
Forward
Forward
d)
Forward
Turn Left
Forward
Forward
32.
Which algorithm will get Scrat to the acorn?
a)
Forward
Turn Left
Forward
Turn Right
Forward
b)
Forward
Turn Left
Forward
Turn Left
Forward
c)
Forward
Forward
Turn Right
d)
Turn Left
Forward
Turn Right
Forward
33.
a)
Make a character dance
b)
Make a sound play
c)
rotate a character
d)
chase the mouse
34.
Why won't this code continuously move the sprite when clicking the directional arrows?
a)
The "if" statements need to be inside a "forever" block
b)
The "point in directions" values need to change
c)
The "move 1 steps" commands need to be inside a "forever" block
d)
Need a 2nd "point in direction" block after "move 1 step"
35.
What will the cat say when this script is run?
a)
Have a nice day. (only)
b)
Here's some fruit. (only)
c)
Here's some fruit. Have a nice day. 
d)
You can't have any. Have a nice day. 
36.
a)

Draw random colors

b)

Draw random shapes

c)

Noting, code is broken

d)

Draw random colors in random spots

37.
You are driving a car left to right and you want other cars to come from opposite direction. Which of the following code block could be used for a car coming from right side of the stage?
a)
1
b)
2
c)
3
38.
The above script is added to a sprite. What happens to “Oranges” when the sprite touches to “Bowl” object?
a)
The position of “Oranges” sprite goes up 1
b)
The number of “Oranges” sprite increases 1
c)
The number of “Oranges” sprite collected is incremented 1
39.
You are creating a number guess game and want to give 7 chances to the player to guess the number correctly. Which control statement you would use?
a)
1
b)
2
c)
3
40.
What do you call the characters in Scratch? 
a)
Sprite
b)
Script
c)
Scratch
d)
Sprite Scripts 
41.
What do you call the list of commands in Scratch? 
a)
Sprite
b)
Script
c)
Scratch
d)
Help
42.

What are these called in coding?

a)

Tiles

b)

Segments

c)

Actors

d)

Blocks

43.

Coding is used ...

a)

in robotics

b)

in the automotive industry

c)

in the medical field

d)

all of the above

44.

What do these blocks help you to do?

a)

Make sound

b)

Repeat Steps

c)

Move Forward

d)

Hide an actor

45.

What is coding (more then 1)

a)

Programming a computer

b)

unlocking a bike lock

c)
d)

Programming a game eg.Fortnite

46.
He is the chairman, chief executive officer, and co-founder of social networking website Facebook.
a)
Mark Zuckerberg
b)
Oprah Winfrey
c)
Donald Trump
d)
Steve Jobs 
47.
He was the co-founder and chairman, of  the largest PC company, Microsoft
a)
Kanye West 
b)
Steve Jobs
c)
Donald Trump
d)
Bill Gates 
48.
He was the co-founder, chairman, and chief executive officer (CEO) of Apple Inc.
a)
Bill Gates 
b)
Dr. Martin Luther King
c)
Steves Jobs
d)
Eddie Murphy 
49.

HTML is the code used to create

a)

games

b)

UI

c)

webpages

50.

a green flag or play button that must be clicked to run the program

a)

null

b)

output

c)

go

d)

loop

51.

a programming language for creating web applications

a)

java

b)

HTML

c)

keystroke

d)

modifier

52.

Binary code is a computer language that uses only 2 options: _____ to carry out tasks

a)

letters and numbers

b)

zeros and ones

c)

x and y

53.

Look at the picture. Which answer describes the code pictured?

a)

travels forward, then backwards, then turns purple

b)

travels forward, then left, then turns purple

c)

travels left, then backwards, then turns blue

d)

this robot does not move

54.

Look at the picture. Which answer describes the code pictured?

a)

travel forward for 3 seconds then stop

b)

travel backwards then forwards then stop

c)

change to multicolor

d)

the robot does not travel at all

55.
You are driving a car left to right and you want other cars to come from opposite direction. Which of the following code block could be used for a car coming from right side of the stage?
a)
1
b)
2
c)
3