2.1.6: be able to determine what value a variable will hold at a given point in a program (trace table)
Keyword | Definition |
---|---|
Boolean | True or False |
Character | Single letter, digit or punctuation mark (e.g. !) |
Data type | Integer, boolean, real, character or string |
Debug | find and fix an error in code |
Integer | a whole number (e.g. 1) |
Real | Decimal number (also known as float) (e.g. 1.432) |
Step | run just one line of code and see what happens |
String | Zero or more characters stored in order (e.g. "hello 123") |
Trace table | shows the values stored in each variable after running each line of code in an algorithm or program |
Value | the data stored in a variable |
Variable | data structure with a name. Used to store a value that can change when the program runs |