wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Pretest coding

Total questions: 30

Worksheet time: 19mins

Name
Class
Date
1.

What is a computer program?

a)

a collection of instructions that performs a specific task when executed by a computer

b)

Something you can use to write a document

2.
What do code and program mean?
a)
Create a password
b)
Writing step by step the instructions that tell the computer what to do
3.

What is an algorithm?

a)

a well-defined procedure that allows a computer to solve a problem

b)

The first step of a computer program

4.

Coding

a)

the act of creating a computer program

b)

a collection of instructions that performs a specific task when executed by a computer

c)

a loop is a sequence of instructions that is continually repeated until a certain condition is reached

5.

a named section of a program that performs a specific task. In this sense it is like a type of procedure or routine

a)

step

b)

function

c)

loop

d)

conditional statement

6.

a sequence of instructions that is continually repeated until a certain condition is reached

a)

variable

b)

function

c)

conditional statement

d)

loop

7.

Each repetition of the process used to make improvements

a)

bug

b)

iteration

c)

input

8.

an error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result

a)

iteration

b)

virus

c)

bug

d)

variable

9.

set of rules performed if a certain condition is me, often referred to as if/then statements

a)

computer program

b)

conditional statement

c)

function

d)

algorithm

10.

some known or unknown quantity of information

a)

number

b)

variable

c)

equation

d)

algorithm

11.

refers to physically or automatically adding data to a system

a)

input

b)

output

c)

coding

d)

bug

12.

Data generated by a computer

a)

input

b)

output

c)

bug

d)

loop

13.

Which of the following is an example of an output device?

a)

mouse

b)

keyboard

c)

printer

14.

Which of the following is an example of an input device?

a)

speakers

b)

monitor

c)

keyboard

d)

printer

15.

"Repeat until basket empty" is what part of the code?

a)

step

b)

variable

c)

loop

d)

conditional

16.

"place" is what part of the code?

a)

step

b)

variable

c)

loop

d)

conditional

17.

"basket B" is what part of the code?

a)

step

b)

variable

c)

loop

d)

conditional

18.

"if fruit" is what part of the code?

a)

step

b)

variable

c)

loop

d)

conditional

19.

The language that programmers create and use to tell a computer what to do

a)

Code

b)

Command

c)

Run Program

d)

BINARY

20.

Statements that only run under certain conditions

a)

Block-based programming language

b)

Conditionals

c)

If-Statement

d)

Run Program

21.

ASCII

a)

American Information and Standard Codes

b)

Standard Code for Information Interchange.

c)

American Standard Code for Information Interchange.

22.

Finding and fixing problems in an algorithm or program

a)

Debugging

b)

Conditionals

c)

Run Programs

d)

Algorithms

23.

Cause the computer to execute the commands you've written in your program

a)

ASCII

b)

Run Program

c)

Debugging

d)

Conditionals

24.

The common programming structure that implements "conditional statements"

a)

Bug

b)

Debugging

c)

If-Statement

25.

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

a)

Algorithm

b)

If-Statement

c)

Loop

d)

Command

26.

An action that causes something to happen

a)

ASCII

b)

Event

c)

BINARY

d)

Bit

27.
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.
28.
What do we call the person who writes the instructions for the computer to complete a task?
a)
architect
b)
programmer
c)
Bob
d)
composer
29.
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
30.
What can you make with programming?
a)
Games
b)
Websites
c)
Apps
d)
All of these