Algorithm Flashcards
what does Unambiguous mean
This means that the instructions cannot be misunderstood . simply saying ‘turn’ would be ambiguous because you could turn right or left.
what does Sequence mean
An ordered set of instructions
what does algorithm mean
a precise method for solving a problem
what does high level programming language mean
A programming language that resembles natural human language.
what does flowchart mean mean
A graphical representation of an algorithm. Each step in the algorithm is representative by a symbol. Symbols are linked together with arrows showing the order in which steps are executed.
what does Pseudo-code mean
A structured code like language that can be used to describe an algorithm
what does Variable mean
A ‘container’ used to store data
what does identifier mean
a unique name given to a variable or a constant
what does arithmetic operator mean
an operator that performs a calculation on two numbers
what does Constant mean
A ‘container’ that holds a value that never changes.
what does construct mean
a component from which something is built.
what does selection mean
a construct that allows a choice to be made between different alternatives.
what does iteration mean
a construct that means the repetition of a process.
what does if…then…else statment mean
the if…then…else statement allows a choice to be made between two alternatives based on whether or not a condition is met.
what does relational operator mean
an operator that compares two values
what does nested if statement mean
a nested if statement consists of one or more if statements placed inside each other.
what does indefinite iteration mean
this is used when the number of iterations is not known before the loop is started.
what does definite iteration mean
this is used when the number of iterations or turns of the loop,is known in advance .
what does logical operator mean
a Boolean operator using,and,or and not.
what does random number mean
a number within a given range of numbers that is generated in such a way that each number in the range has an equal chance of occurring.
what does nested loop mean
a loop that runs inside another loop.`
What is concatenation
the linking together of two or more items of information
What is logic error
an error in an logic of the code