wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Intro to Computer Programming

Total questions: 14

Worksheet time: 9mins

Name
Class
Date
1.
A computer program is best described as a series of ___________.
a)
Instructions
b)
Questions
c)
Answers
d)
Numbers
2.
How can the following instruction be made more specific? "Meet Joe at the corner of Main Street and First Avenue."
a)
describe how you first met Joe
b)
list all the streets that intersect with First Avenue
c)
describe current weather conditions 
d)
set an exact time for the meeting
3.
What is wrong with the following "code" for opening a bottle?
1. Grip cap with index finger and thumb
2. Remove cap
3. Twist counter-clock-wise until seal is broken
a)
to many steps
b)
not specific 
c)
function doesn't apply to every bottle 
d)
instructions are out of sequence
4.

1.Which building block of algorithm is commonly referred to as a ‘loop’?

a)

Sequence

b)

Iteration

c)

Selection

d)

Variable

5.

Why is iteration important in an algorithm?

a)

It determines the order in which instructions are to be carried out

b)

It allows multiple paths through a program

c)

It allows code to be simplified by removing repetitive steps

d)

It makes the algorithm harder to understand.

6.
In coding terms, the action of doing something over and over again.
a)
Repeating
b)
Repetition
c)
Loop
d)
Do-over
7.

Which of the following would be a programming language?

a)

Water

b)

Python

c)

The class I am currently in.

d)

Jada

8.

Iterate

a)

An extra piece of information passed to a function to customize it for a specific need

b)

a collection of commands made available to a programmer

c)

A precise sequence of instructions for processes that can be executed by a computer

d)

To repeat in order to achieve, or get closer to, a desired goal.

9.

A precise sequence of instructions for processes that can be executed by a computer

a)

Selection

b)

Pair Programming

c)

Iterate

d)

Algorithm

10.

Iterate

a)

An extra piece of information passed to a function to customize it for a specific need

b)

a collection of commands made available to a programmer

c)

A precise sequence of instructions for processes that can be executed by a computer

d)

To repeat in order to achieve, or get closer to, a desired goal.

11.

Block based programming language is a programming language where instructions are mainly represented as blocks.

a)

True

b)

False

12.

____________ is information the user sends to the computer

a)

Software

b)

Input

c)

Secondary Memory

d)

Program

13.

Which is the easiest set of instructions to follow?

a)

Draw a house.

b)

Draw a house with 4 windows, a door, chimney and a path.

c)

Draw a house with windows and a driveway.

d)

Draw a square, with 4 squares inside.

14.

Which algorithm, will NOT take you from A to B

a)

UP 1

RIGHT 5

UP 2

b)

RIGHT 1

UP 3

RIGHT 4

c)

UP 2

RIGHT 5

UP 1

d)

LEFT 1

UP 3

RIGHT 5