1.1 algorithms Flashcards
define unambiguous
this means that the instruction cannot be misunderstood.
define sequence
an ordered set of instructions
define algorithm
a precise method for solving a problem
define high level programming language
a programming language that resembles natural human language
define flowchart
a graphical representation of an algorithm
define pseudo- code
a structured code like language that can be used to describe an algorithm
define variable
a ‘container’ used to store data. that data stored in a variable in called as a value.
define identifier
a unique name given to a variable or a constant
define arithmetic operator
an operator that performs calculation on 2 numbers
define constant
a ‘container’ that holds a value that never changes
define construct
a component from which something is built
define selection
a construct that allows a choice to be made between different alternatives
define iteration
a construct that means the repetition of a process
the IF…THEN…ELSE statement
the IF…THEN…ELSE statement allows a choice to be made between 2 alternatives based whether or not a conditionis met
define relational operator
an operator that compares 2 values