WorksheetsPretest coding
Total questions: 30
Worksheet time: 19mins
What is a computer program?
a collection of instructions that performs a specific task when executed by a computer
Something you can use to write a document
What is an algorithm?
a well-defined procedure that allows a computer to solve a problem
The first step of a computer program
Coding
the act of creating a computer program
a collection of instructions that performs a specific task when executed by a computer
a loop is a sequence of instructions that is continually repeated until a certain condition is reached
a named section of a program that performs a specific task. In this sense it is like a type of procedure or routine
step
function
loop
conditional statement
a sequence of instructions that is continually repeated until a certain condition is reached
variable
function
conditional statement
loop
Each repetition of the process used to make improvements
bug
iteration
input
an error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result
iteration
virus
bug
variable
set of rules performed if a certain condition is me, often referred to as if/then statements
computer program
conditional statement
function
algorithm
some known or unknown quantity of information
number
variable
equation
algorithm
refers to physically or automatically adding data to a system
input
output
coding
bug
Data generated by a computer
input
output
bug
loop
Which of the following is an example of an output device?
mouse
keyboard
printer
Which of the following is an example of an input device?
speakers
monitor
keyboard
printer
"Repeat until basket empty" is what part of the code?
step
variable
loop
conditional
"place" is what part of the code?
step
variable
loop
conditional
"basket B" is what part of the code?
step
variable
loop
conditional
"if fruit" is what part of the code?
step
variable
loop
conditional
The language that programmers create and use to tell a computer what to do
Code
Command
Run Program
BINARY
Statements that only run under certain conditions
Block-based programming language
Conditionals
If-Statement
Run Program
ASCII
American Information and Standard Codes
Standard Code for Information Interchange.
American Standard Code for Information Interchange.
Finding and fixing problems in an algorithm or program
Debugging
Conditionals
Run Programs
Algorithms
Cause the computer to execute the commands you've written in your program
ASCII
Run Program
Debugging
Conditionals
The common programming structure that implements "conditional statements"
Bug
Debugging
If-Statement
An instruction for the computer. Many commands put together make up algorithms and computer programs.
Algorithm
If-Statement
Loop
Command
An action that causes something to happen
ASCII
Event
BINARY
Bit
