Algorithms Flashcards
What does Unambiguous mean?
This means that the instructions cannot be misunderstood.
What does sequence mean?
An ordered set of instructions.
What does Algorithm mean?
A precise method for solving a problem.
What is High-level programming language?
A programming language that resembles natural human language.
What is a Flowchart?
A graphical representation of an algorithm.
What is a Pseudo-code?
A structured, code-like language that can be used to describe an algorithm.
What is a variable?
A ‘container’ used to store data.
What is an Identifier?
A unique name given to a variable or a constant. Making code much easier to read.
What is an Arithmetic operator?
An operator that performs a calculation on two numbers.
What is a Constant?
A ‘container’ that holds a value that never changes. Like variables, constants have unique identifiers.
What is Selection?
A construct that allows a choice to be made between different alternatives.
What is iteration?
A construct that means the repetition of a process.
What is a IF…THEN…ELSE statement?
The IF…THEN…ELSE statement allows a choice to be made between two alternatives whether or not a condition is met.
What is Relational operator?
An operator that compares two values.
What is a Nested IF statement?
A nested IF statement consists of one or more IF statements placed inside each other.