Learning ObjectivesREVISION
2.1.7 Programming
Algorithm
Learning ObjectivesREVISION
2.1.7 Programming
A set of rules that define the solution to a
problem.
Learning ObjectivesREVISION
2.1.7 Programming
High Level Code
Learning ObjectivesREVISION
2.1.7 Programming
A language that humans can understand
Learning ObjectivesREVISION
2.1.7 Programming
Machine Code
Learning ObjectivesREVISION
2.1.7 Programming
A language the CPU understands - binary
Learning ObjectivesREVISION
2.1.7 Programming
Translators
Learning ObjectivesREVISION
2.1.7 Programming
Converts high level code to machine code.
Learning ObjectivesREVISION
2.1.7 Programming
Compiler
Learning ObjectivesREVISION
2.1.7 Programming
Translates the code all together
Learning ObjectivesREVISION
2.1.7 Programming
Interpreter
Learning ObjectivesREVISION
2.1.7 Programming
Translates the code line by line.
Learning ObjectivesREVISION
2.1.7 Programming
Assembler
Learning ObjectivesREVISION
2.1.7 Programming
Converts code into a CPU specific language
Learning ObjectivesREVISION
2.1.7 Programming
IDE
Learning ObjectivesREVISION
2.1.7 Programming
Integrated Development Environment
1. Code editor
2. Error checking
3. Translator
4. Run time environment
5. Auto documentation
Learning ObjectivesREVISION
2.1.7 Programming
Sequence
Learning ObjectivesREVISION
2.1.7 Programming
Statements must be written in the correct
order
Learning ObjectivesREVISION
2.1.7 Programming
Selection
Learning ObjectivesREVISION
2.1.7 Programming
A program will perform an action based on a
condition.
Learning ObjectivesREVISION
2.1.7 Programming
Iteration
Learning ObjectivesREVISION
2.1.7 Programming
Code is repeat for a set number of times, or
until a condition has been met.
Learning ObjectivesREVISION
2.1.7 Programming
Variable
Learning ObjectivesREVISION
2.1.7 Programming
A value that can change while the
program is running.
Learning ObjectivesREVISION
2.1.7 Programming
Constant
Learning ObjectivesREVISION
2.1.7 Programming
A value that does not change while the
program is running.
Learning ObjectivesREVISION
2.1.7 Programming
Datatypes
Learning ObjectivesREVISION
2.1.7 Programming
Integer – a whole number
Float – a decimal number
Boolean – a true or false value
String – a combination of characters
Character – a single textual character
Learning ObjectivesREVISION
2.1.7 Programming
Arrays
Learning ObjectivesREVISION
2.1.7 Programming
A data structure that stores multiple pieces of data of the same
datatype.
Learning ObjectivesREVISION
2.1.7 Programming
Syntax Errors
Learning ObjectivesREVISION
2.1.7 Programming
An error with the code that stops the program
working
Learning ObjectivesREVISION
2.1.7 Programming
Logic Errors
Learning ObjectivesREVISION
2.1.7 Programming
The program will work, but not as expected.