Tommorow Flashcards
(24 cards)
Algorithm
A sequence of steps that can be followed to complete a task.
Decomposition
The process of breaking down problems into smaller sub-problems.
Abstraction
The process of removing unnecessary detail from a problem.
Integer
A data type which is a whole number.
Real
A data type which is a number that can have a decimal value.
Boolean
A data type with two equally possible values.
Character
Any letter, number, space, punctuation mark or symbol that can be typed onto a computer.
String
A sequence of characters.
Identifier
Include names for variables, constant and subroutine names
Variable
A slot in memory that is given a name or an identifier so that it can be referred to and changed in a program.
Constant
A value that cannot be altered by the program during normal execution
Assignment
Sets/resets the values of an integer and copies it to a memory location
Iteration
A process wherein a set of instructions or structures are repeated in a sequence a specified number of times or until a condition is met (Repeating lines of code).
Definite (Iteration)
Instructions that will repeat a set number of times (for loop).
Indefinite (Iteration)
Instructions that will be repeated until certain conditions are met (while loop).
Selection
Decisions that must be made while designing a program.
Subroutine
A sequence of program instructions that perform a specific task, packaged as a unit.
Procedure
A set of coded instructions that tell a computer how to run a program of calculation.
Function
A named section in the program that performs a specific task and can be repeated multiple times (returns a value).
Nested
Nesting is where logic structures sequence, selection and loop are combined
Array
A data structure which can store a fixed-sized collection of elements of the same data type
Concatenate
Strings can be joined to form a new string of data
Structured Approach
Writing smaller programs to become familiar with the syntax of a language (the structures it uses) whilst keeping the logic of the program focused and brief (using decomposition to make smaller programs).
Validation
The program checks the data to make sure it meets rules and restrictions