Fundamental Programming Flashcards
integer
a value which is a whole number
real
a value which is a number containing a decimal point
Boolean
a value which can be TRUE or FALSE
Character
A value which contains a single character-(letter , symbol or digit)
String
A value which contains a sequence of characters
Variable
Variables contain values which CAN change
Constant
A constant value CANNOT be changed once assigned
Declare/Declaration
The process of informing the computer of a new variable and the type of data it will contain
Assign/Assignment
The process of giving a value to a variable
Execute
The process of a computer carrying out an instruction
Statement
An instruction for a computer programme to execute
Condition
A statement which will either evaluate to TRUE or FALSE
Iteration
Where code repeats-also known as a loop
Definite Iteration
Also known as count controlled iteration- where a loop repeats code a specific number of pre-determined times, often in a FOR loop
Indefinite iteration
Also known as condition controlled iteration- where a loop repeats until a condition is no longer met, often in a WHILE loop
Selection
The program preforms a check list against a condition and responds accordingly, often in an IF loop
Nested
Where a statement is contained within another statement(nested loop, nested selection loop)
Subroutine
Programmers create these to prefrom a specific job