wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding Basics SC-1

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

A variable is used to...

a)

tell if an expression is true or false

b)

repeat the same instructions over and over again

c)

store information to be referenced and used by programs

d)

store information so that it is never used in the program

2.

In Basketball, what are good variables?

a)

Score

b)

If the team wins

c)

If the team loses

d)

Whether the team listens to the coach

3.
What is a list of steps you can follow to finish a task?
a)
Algorithm
b)
Program
c)
Bug
d)
Code
4.
What is an error in a program that prevents the program from running as expected?
a)
Algorithm
b)
Program
c)
Bug
d)
Code
5.
How many bits are in a byte?
a)
1
b)
2
c)
4
d)
8
6.
What is a one or zero called in coding?
a)
Byte
b)
Code
c)
Switch
d)
Bit
7.
Which algorithm will get the bird to the pig?
a)
Forward
Turn Left
Forward
Forward
b)
Turn Left
Forward
Forward
Forward
c)
Forward
Turn right
Forward
Forward
8.
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
9.

What are these called in coding?



a)

Tiles

b)

Segments

c)

Actors

d)

Blocks

10.

Code that makes the sprite create the same movements over and over again is called:

a)

Variable

b)

Conditional

c)

Loop

11.

Coding can be used to

a)

Program robots

b)

create websites, games & apps

c)

tell computers what to do

d)

all of these

12.

a computer graphic that may be moved on-screen.

a)

sprite

b)

event

c)

blockly

d)

loop

13.
Which of the above let us manipulate the position of the selected sprite while coding?
a)
1
b)
2
c)
3
14.
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
15.

An If/Else statement is

a)

a command that tells the computer to repeat an action

b)

a normal computer function

c)

a decision between 2 things

16.

Language directly understood by a computer.

a)

HLL

b)

LLL

c)

JAVA

d)

Machine Language

17.

The spelling and grammar of a programming language.

a)

Syntax

b)

Program

c)

Loops

d)

Commands

18.

What happens when we write the wrong code?

a)

The program won't run

b)

The sequence will help itself

c)

The program will run fine

d)

None

19.

When a user enters data into a computer, what is this called?

a)

Input

b)

Output

c)

Process

d)

Program

20.

What is data?

a)

A music band

b)

A type of power for computers

c)

The information used by computers

d)

None