NEW
Font size
WorksheetsCode Review
Total questions: 20
Worksheet time: 10mins
A ______ is used to do a set of instructions for a certain number of times.
Variable Block
Repeat Block
If Block
Decision Block
A ______ is used to make a decision based on a condition.
Variable Block
Repeat Block
If Block
Decision Block
In computer programming, what is a variable?
A sequence of instructions
A computer programming language
A problem in the software
A placeholder for a piece of information that can change
In computer programming, what is debugging?
A sequence of instructions
A computer programming language
fixing problems in the software
None of the above
In computer programming, what is an algorithm?
A sequence of instructions
A computer programming language
A problem in the software
A placeholder for a piece of information that can change
This is a code for a character solving a maze. How many step(s) FORWARD will the character take?
The code will repeat until the maze is solved
One step
We don't know since we don't know the design of the maze
Three steps
This is for a character solving a maze. What will happen if there is no path ahead ?
The character will turn left UNTIL there is a path ahead
The program will stop
The character will turn left ONCE
The character will turn right ONCE
How many times will the color be changed in this code?
It will change four (4) times
It will change ten(10) times
It will change forty (40) times
It will change four hundred (400) times
This code is for a character drawing a shape. What shape will be drawn?
A triangle (3 sided shape)
A square (4 sided shape)
A hexagon (6 sided shape)
An octagon (8 sided shape)
Make a character draw an equilateral triangle. How many degrees would we need to make him turn?
90
45
120
140
This code is for a character drawing shapes. How many squares will this code draw?
4
8
16
20
What is the correct definition of the word program?
a set of code that runs one after the other in a machine
an algorithm that has been coded to run in a machine
a set of numbers and words that are interpreted by a machine
a computer language that is understood by the machine
What will happen when I click the flag
Move 1 steps
Move 100 steps
Move 5 steps
You will not move
Why are loop codes used?
to increase the accuracy of the code
to repeat actions until completion
to repeat actions if another action fails
to repeat actions until the end of the code
Will this repeat forever?
Yes. it will repeat nonstop
It will repeat 100 times
No, it won't repeat at all
It will repeat only 10 times
What cause the computer to execute the commands you've written in your program?
Debug
Start
Process
Run
In coding, this returns a value
Coding
Loop
Function
Programming
An instruction for the computer. Many of these put together make up algorithms and computer programs.
Command
Directions
Instructions
Program
A programming language that lets users create programs using blocks or graphical programming elements, rather than text
block-based
text-based
coding
none of the above
Information. Often, quantities, characters, or symbols are the inputs and outputs of computer programs.
Bits
Bugs
Data
Languages
