wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Coding Basics

Total questions: 26

Worksheet time: 14mins

Name
Class
Date
1.

What is the name for the basic orders given to a computer?

a)

Algorithm

b)

Code

c)

Line

d)

Petition

2.

Does code-by-blocks allow you to program without having a deep knowledge on programming languages?

a)

True

b)

False

3.

Which is the main character of Scratch?

a)

A cat

b)

A dog

c)

A fox

d)

A mouse

4.

Scratch allows you to do...

a)

animations

b)

paintings

c)

music

d)

All of them are correct

5.

When you're programming, is there only one way to resolve the problem right?

a)

True

b)

False

6.

What kind of instructions are used to do a repetitive task?

a)

A function

b)

A condition

c)

A loop

d)

An event

7.

Which is the best method to encapsulate code that execute a determinate task?

a)

A loop

b)

A condition

c)

A function

d)

An event

8.

Which kind of instructions respond to external actions (i.e. mouse click or key typped in keyboard)?

a)

A loop

b)

A condition

c)

A function

d)

An event

9.

The 21st century is

a)

the digital age

b)

all about electricity

c)

the age of physics

10.

An If/Else statement is

a)

a command that tells the computer to repeat an action

b)

a normal computer function

c)

a decision between 2 things

11.

Computers are really good at

a)

turning themselves off

b)

repeating commands

c)

not working

d)

doing jobs for humans

12.

When you define your own command and give it a command

a)

instruction

b)

loop

c)

function

d)

code

13.

When you get to a computer program and repeat a command, you can give it an exact number of times to

a)

repeat

b)

end

14.

HTML is the code used to create

a)

games

b)

UI

c)

webpages

15.

a green flag or play button that must be clicked to run the program

a)

null

b)

output

c)

go

d)

loop

16.

What is coding?

a)

something used to develop computer programs

b)

a form of "language" used to communicate computer actions

c)

an essential part to everything we do online

d)

All of these

17.

Look at the picture. Which answer describes the code pictured?

a)

travels forward, then backwards, then turns purple

b)

travels forward, then left, then turns purple

c)

travels left, then backwards, then turns blue

d)

this robot does not move

18.

A name that refers to a value. Stores a piece of data, and gives it a specific name.

a)

declaration

b)

variable

c)

operator

d)

source

19.

Any finite sequence of characters (i.e., letters, numerals, symbols and punctuation marks).

a)

String

b)

Commenting

c)

Casting

d)

Boolean

20.

Which symbol is used to indicate a comment?

a)

&

b)

@

c)

=

d)

#

21.

Finding and fixing errors in programs

a)

Defining

b)

Decompose

c)

Debugging

d)

Fixing

22.

What is the definition of a variable?

a)

Something that is stored by the computer but the value changes.

b)

Something used by the computer

c)

Something that cannot be changed

d)

Something that is not stored but the value changes

23.

a 'sequence' is

a)

a clever piece of computer code

b)

a programming language

c)

a set of instructions carried out in order

d)

a piece of code that is rarely used

24.

Interpret the following code. how many steps will the sprite take in total?

a)

5

b)

-5

c)

10

d)

0

25.

Definition: Writing instructions in special languages

a)

algorithm

b)

coding

c)

function

d)

loop

26.
A conditional statement is also referred to as a(n):
a)
Question
b)
If/Then Statement
c)
Object
d)
Syntax