1.2.4: be able to determine the correct output of an algorithm for a given set of data and use a trace table to determine what value a variable will hold at a given point in an algorithm
Keyword | Definition |
---|---|
algorithm | step by step instructions to solve a problem |
input | data that is needed for an algorithm to run |
output | information that is sent out when an algorithm has run |
trace table | grid showing how the value of each variable in an algorithm changes when each line of code runs |
value | data that can be stored in a variable |
variable | data structure which can store a value |