wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Programming

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is programming?

a)

a set of related activities

b)

someone who knows how to program

c)

giving the computer a set of commands

d)

a language where the codes are written in text

2.

Programming is the same thing as coding.

a)

True

b)

False

3.

What is a "bug" in programming?

a)

an error in a code

b)

a scratch on the screen

c)

something is wrong with the computer

d)

none of the above

4.

What is "debugging" in programming?

a)

a programming language of the web

b)

an error in a code

c)

giving the computer a set of commands

d)

the process of finding and fixing errors in programming

5.

Block coding is when the codes are written in text.

a)

True

b)

False

6.

Which of these Karel commands are written correctly?

a)

move;

b)

turnLeft();

c)

putball

d)

takeit();

7.

Each Karel command ends with a () and a ;.

a)

True

b)

False

8.

Which line(s) contains the bug?

a)

1 and 3

b)

3 only

c)

5 only

d)

3 and 5

9.

What do you use when you want to teach Karel a new command?

a)

a bug

b)

a function

c)

block coding

d)

you have to write more codes

10.

What lines would you replace with the turnRight function?

a)

Lines 4 & 5

b)

Lines 7 - 9

c)

Lines 8 - 10

d)

Lines 4 & 5 and lines 8 - 10