An algorithm is a set of instructions that describes how to get something done. Algorithms can be designed using pseudocode and flow charts. They are written using statements and expressions.
What is an algorithm?
A set of step-by-step instructions
Software that analyses data
A hardware device that stores data
Where are algorithms used?
Algorithms are used in many different areas where instruction sets are needed
Algorithms are only used by computers
Algorithms are only used in planning
What is a variable?
Data that is stored in a memory location, that cannot be changed
Data that is stored in a memory location, that can be changed
Data that is produced by a computer, that cannot be changed
What is a bubble sort?
An algorithm that sorts a list of numbers into the correct order
An algorithm that finds the highest number in a list
An algorithm that finds the lowest number in a list
What is pseudocode used for?
To program every piece of software
To plan algorithms using a specific programming language
To plan algorithms using plain English
What shape represents a decision in a flowchart?
What shape represents a process in a flowchart?
What is syntax?
A way to plan algorithms in plain English
The set of rules about how to use a particular programming language
The structure used to create a flowchart
What happens if you type a statement incorrectly into a programming language?
Nothing will happen
The program will correct it
You will get a syntax error
When is an expression used?
To create an algorithm
In a statement when working with values
To debug a program