CS3: Use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
Keyword | Definition |
---|---|
algorithm | step by step instructions to solve a problem (with or without a computer) |
debug | find and fix an error in a program |
error | something that has gone wrong with an algorithm |
input | data that goes into a computer program (for example: the keys you press) |
logical reasoning | thinking through what a program should do and comparing it with what it actually does |
output | information that comes out as the result of running a computer program (for example: what you see on screen) |
program | code which allows a computer to follow an algorithm |
run | launching a computer program |
step | running one instruction at a time to see what happens rather than running a whole program |
testing | running a computer program to check if it does what it is supposed to do |