wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Code Review

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

A ______ is used to do a set of instructions for a certain number of times.

a)

Variable Block

b)

Repeat Block

c)

If Block

d)

Decision Block

2.

A ______ is used to make a decision based on a condition.

a)

Variable Block

b)

Repeat Block

c)

If Block

d)

Decision Block

3.

In computer programming, what is a variable?

a)

A sequence of instructions

b)

A computer programming language

c)

A problem in the software

d)

A placeholder for a piece of information that can change

4.

In computer programming, what is debugging?

a)

A sequence of instructions

b)

A computer programming language

c)

fixing problems in the software

d)

None of the above

5.

In computer programming, what is an algorithm?

a)

A sequence of instructions

b)

A computer programming language

c)

A problem in the software

d)

A placeholder for a piece of information that can change

6.

This is a code for a character solving a maze. How many step(s) FORWARD will the character take?

a)

The code will repeat until the maze is solved

b)

One step

c)

We don't know since we don't know the design of the maze

d)

Three steps

7.

This is for a character solving a maze. What will happen if there is no path ahead ?

a)

The character will turn left UNTIL there is a path ahead

b)

The program will stop

c)

The character will turn left ONCE

d)

The character will turn right ONCE

8.

How many times will the color be changed in this code?

a)

It will change four (4) times

b)

It will change ten(10) times

c)

It will change forty (40) times

d)

It will change four hundred (400) times

9.

This code is for a character drawing a shape. What shape will be drawn?

a)

A triangle (3 sided shape)

b)

A square (4 sided shape)

c)

A hexagon (6 sided shape)

d)

An octagon (8 sided shape)

10.

Make a character draw an equilateral triangle. How many degrees would we need to make him turn?

a)

90

b)

45

c)

120

d)

140

11.

This code is for a character drawing shapes. How many squares will this code draw?

a)

4

b)

8

c)

16

d)

20

12.

What is the correct definition of the word program?

a)

a set of code that runs one after the other in a machine

b)

an algorithm that has been coded to run in a machine

c)

a set of numbers and words that are interpreted by a machine

d)

a computer language that is understood by the machine

13.

What will happen when I click the flag

a)

Move 1 steps

b)

Move 100 steps

c)

Move 5 steps

d)

You will not move

14.

Why are loop codes used?

a)

to increase the accuracy of the code

b)

to repeat actions until completion

c)

to repeat actions if another action fails

d)

to repeat actions until the end of the code

15.

Will this repeat forever?

a)

Yes. it will repeat nonstop

b)

It will repeat 100 times

c)

No, it won't repeat at all

d)

It will repeat only 10 times

16.

What cause the computer to execute the commands you've written in your program?

a)

Debug

b)

Start

c)

Process

d)

Run

17.

In coding, this returns a value

a)

Coding

b)

Loop

c)

Function

d)

Programming

18.

An instruction for the computer. Many of these put together make up algorithms and computer programs.

a)

Command

b)

Directions

c)

Instructions

d)

Program

19.

A programming language that lets users create programs using blocks or graphical programming elements, rather than text

a)

block-based

b)

text-based

c)

coding

d)

none of the above

20.

Information. Often, quantities, characters, or symbols are the inputs and outputs of computer programs.

a)

Bits

b)

Bugs

c)

Data

d)

Languages