Coding error where the rules of the language have been broken, e.g. a missing punctuation mark or keyword such as print(hello")
2
New cards
Runtime error
Any error that occurs while the program is running and stops execution, including division by zero and using an unknown variable
3
New cards
Logic error
An error that occurs when code compiles and runs, but doesn't perform correctly. E.g. using \> instead of \>\=. It is detected by systematic testing with a trace table
4
New cards
Test plan
A plan for testing a program in a structured way. Includes test data and expected results. Proper testing with one of these can find logic errors and prevent runtime errors
5
New cards
Trace table
A testing tool that finds logic errors. It records the values of variables at each point during execution, so you can see where the program code does something you didn't intend
6
New cards
Sequence
7
New cards
Selection
8
New cards
Iteration
9
New cards
Compiler
Syntax errors will be found by this program, it checks the high
10
New cards
Grammar
Another word for syntax, it is the rules of a language. Writing code that does not follow these rules causes a syntax error
11
New cards
Terminal
This shape starts and stops an algorithm
12
New cards
Process
This shape is used for a process such as calculating or sorting
13
New cards
Decision
This shape is used to perform selection based on a condition e.g. "if age \> 18"
14
New cards
Input/Output
This shape is used to show data entering or leaving the algorithm (I\_______/O\_______)
15
New cards
Subprogram
This shape indicates a call to a subprogram (which you can write in another flowchart)