by BlastRoom
Students tell syntax errors from logic errors, choose test data, step through code to trace values and fix common bugs.
#computing#ict#cambridge_computing#cambridge_computing_stage_6
20 questions
One question set, multiple game modes. Tap any game to see it in action. Not sure which to pick?
A program accepts a number of tickets from 1 to 20. A tester enters 12. What kind of test data is this?
What is debugging?
What is a syntax error?
In Python, which line has a syntax error?
What is a logic error?
A program should find the area of a rectangle but works out length + width. What kind of error is this?
Why can logic errors be harder to find than syntax errors?
What is test data?
A program accepts ages from 5 to 11. Which test value is right at the edge of the allowed range?
A program asks for a number from 1 to 10. Which test value should the program reject?
Why should you also test a program with data that it should reject?
A program should say Pass for a score of 50 or more. Look at its flowchart. Which test score shows the bug?
What does stepping through a program mean?
Why is it useful to watch a variable's value while stepping through a program?
A program should add 2 to total three times and show 6. It shows 2. The line total = 0 is inside the loop. What is the bug?
In Scratch, a sprite should move 10 steps five times, but it only moves once. What is the most likely bug?
You have just fixed a bug. What should you do next?
In a test plan, what is the expected result?
An adding program is tested with 4 and 5. The expected result is 9, but the program outputs 20. What is most likely wrong?
Why is it a good idea to test a program in small parts as you build it?
Outrun the horde and crack the passcode.
Pick a tile, answer, hit bonuses and steals.
Copyright and Online Content
20 questions
Database Design
20 questions
Decomposition and Problem Solving
20 questions
Files and Digital Content
20 questions
Flowcharts
20 questions
Games with Variables
20 questions
Keeping Data Safe
20 questions
Networks and the Internet
20 questions
Animation and Movement
20 questions
Automation in Industry
20 questions