Big Idea 1 · Topic 1.4 · Exercise 1
Error Hunt - The Bug Report Log
25 minutes
Back to the Topic 1.4 lessonAll CSP topics
How this page works
The writing boxes below are yours. What you type stays in this browser, is saved here as you go, and is never sent to us or to your teacher. Hand the written work in the way your teacher asked for it.
The graded check at the bottom is the part that records to your teacher's gradebook.
Part B, from your handoutNot recorded
Your handout says these are the same items available here. Part A stays on paper.
Q1 · 3 points on the handout
Two situations: (a) a value goes wrong SOMEWHERE in a 40-line program, location unknown; (b) you suspect ONE specific formula line. Choose the better tool from the five ways for each situation, and explain the difference in one sentence each.
Q2 · 3 points on the handout
GradePro's formula gets fixed to divide by 3. Write ONE complete test case that confirms the fix - defined input, expected output - and state what the team must do if the test fails anyway (cite the CED's testing loop).
Q3 · 2 points on the handout
ENRICHMENT: Modern code editors underline illegal statements as you type, and 'fuzzers' hammer programs with millions of random inputs hunting for crashes. Map each tool onto the CED error type it catches best - then name the error type NEITHER can reliably catch, and explain what a human must supply to catch it.
No graded check on this page yetNot recorded
About the line in your handout
Your handout says this exercise is available online and auto-graded. The exercise IS here, and it is the same work in the same order, but the auto-graded half is not written for this topic yet. Nothing on this page is scored or sent to your teacher.
Hand this in the way your teacher asked for it. Topic 1.1 has its graded check today, and the rest follow.