Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming - The Basics

Total questions: 23

Worksheet time: 14mins

Name
Class
Date
1.
Computer Science is the study of _____________ . 
a)
lunch
b)
computers
c)
people who like technology 
d)
robots
2.
 A program is a set of __________.
a)
sentences
b)
directions
c)
paragraphs
d)
games
3.
Which one is *NOT* a flow control structure:
a)
sequence
b)
directions
c)
conditions
d)
loops
4.
Sequence is the:
a)
order of events
b)
instruction given to a computer by a programmer
c)
paragraphs
d)
language written by humans to communicate with computers
5.
A command is the:
a)
order of events
b)
instruction given to a computer by a programmer
c)
paragraphs
d)
language written by humans to communicate with computers
6.
Code is the:
a)
order of events
b)
instruction given to a computer by a programmer
c)
paragraphs
d)
language written by humans to communicate with computers
7.
pseudocode is the:
a)
order of events
b)
instruction given to a computer by a programmer
c)
paragraphs
d)
writing out a program in regular language before translating it into actual code
8.
A programmer is:
a)
person who writes code and communicates instructions to a computer
b)
person who types
c)
person who studies computers
d)
error or mistake in your code
9.
Debugging is:
a)
person who writes code and communicates instructions to a computer
b)
Finding and correcting mistakes in your code
c)
person who studies computers
d)
error or mistake in your code
10.
A bug is:
a)
person who writes code and communicates instructions to a computer
b)
Finding and correcting mistakes in your code
c)
person who studies computers
d)
error or mistake in your code
11.
Condition:
a)
If this...then do this.....
else, 
if that...then do that...
b)
repeats part of a program
12.
Loop:
a)
If...then.....
b)
repeats part of a program
13.
The number of times a piece of code is repeated is called ______
a)
iterations
b)
redos
14.
A loop that you know exactly how many times it will loop
a)
for loop
b)
while loop
c)
loop-de-loop
15.
A loop that will repeat so long as a condition true. You don't know how many times it will loop.
a)
for loop
b)
while loop
c)
loop-de-loop
16.
Can hold an unknown value, like a number or a word. We use them in math too!
a)
variable
b)
string
c)
integer
d)
array
17.
Can hold an unknown word:
a)
variable
b)
string
c)
integer
d)
array
18.
Can hold an unknown number:
a)
variable
b)
string
c)
integer
d)
array
19.
object oriented programming means...
a)
a coding language based on actions 
b)
language model organized around objects 
20.
describes properties of a set of objects, like a blueprint
a)
class 
b)
object
c)
property
d)
superclass
21.
a part of an object
a)
class 
b)
object
c)
property
d)
superclass
22.
one specific instance of a class, one 'thing'
a)
object
b)
class
c)
property
d)
superclass
23.
A parent class whose attributes are inherited by subclasses
a)
object
b)
class
c)
property
d)
superclass