Algorithms Flashcards
What does Unambiguous mean ?
This mean 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 does Pseudo-code mean ?
a structured code-like , language that can be used to describe an algorithm
What does Variable mean ?
a ‘container’ to store data
What is an Identifier ?
It is a unique name given to a variable or a constant
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 does construct mean ?
a component from which something is built. Letters and Numbers
what is a selection ?
a construct that allows a choice to be made between different alternatives
what is an iteration ?
a construct that means the repetition of a process
what does the “ IF…THEN…ELSE “ statement means ?
the “IF…THEN…ELSE” statement allows a choice to be made between two alternatives based on whether or not a condition is met
What is a 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.
What is a random number ?
A number within a given range of numbers in such way that each number in the range has an equal change of occurring