Chapter 7 - Programming Flashcards
Algorithms
Sets of rules that define a solution to a problem
Pseudocode
A structured form of English used to define the steps needed to solve a problem
Machine code
A stream of binary code that represent instructions that are to be carried out - specific to computer
Low-level code
Works at the level of computer hardware
Assembly language
Uses mnemonics to represent instructions
High-level languages
Commands may represent several machine code instructions
Compiler
Converts whole code into machine code before running it. Source code runs independently to object code so compiler not needed and difficult to modify
IDE
Integrated development environment includes source code editors, debuggers etc
Sequence
The path through a program that the computer follows in order
Selection
Path through program decided by condition
Iteration
Set of instructions repeated several times
Variable
A named storage reserved in memory for data to be used in a program. It can be updated by the program and has no value at design time
Constant
A place reserved in memory for data to be used in a program. It cannot be changed by the program, only at the editing stage
Array
A set of variables with the same name and an index number to identify the different variables
Syntax errors
Errors in the use of language rules e.g. undeclared variables