wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Programming

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.
Which of these is most similar to a computer program?
a)
Science book
b)
Encyclopedia
c)
Dictionary
d)
Map
2.
A programmer is to a computer as a teacher is to:
a)
A desk
b)
A student
c)
A library
d)
A principal
3.
Imagine a car as a computer, and its engine as a program. Which of the following is an input for the engine program?
a)
The gas pedal
b)
The driver's seat
c)
The steering wheel
d)
The windshield wipers
4.
A good algorithm must be:
a)
Detailed
b)
Replaceable
c)
Simple
d)
Open-ended
5.
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-clockwise until seal is broken
a)
The function has too many steps
b)
The instructions are not specific
c)
The function doesn't apply to every bottle
d)
The instructions are out of sequence
6.
List the following in order from simplest to most complex: A) Function; B) Program; C) Step
a)
A,B,C
b)
B,A,C
c)
C,A,B
d)
C,B,A
7.
How can the following instruction be made more specific? "Meet Joe at the corner of Main Street and First Avenue."
a)
Describe how you firts met Joe
b)
List all the streets that intersect First Avenue
c)
Describe the current weather conditions
d)
Set an exact time for the meeting
8.
Imagine writing a program that instructs a bird how to take off, fly, and land. What function is likely to be looped?
a)
Lift off
b)
Flap wings
c)
Find landing spot
d)
Land
9.
If a program has gone through many iterations, what must be true?
a)
The code is extremely complex
b)
The code has changed a great deal over time
c)
The code is written in more than one language
d)
The code once contained many bugs
10.
For a chef, what is the most important variable in preparing a meal for a dinner party?
a)
The time of the party
b)
The distance to the grocery store
c)
The brand of your stove
d)
The number of guests