Week 8 · Lesson 4 · 55 minutes

Proposed programming check

Build a small file tool and verify its boundary cases.

Planned lesson. Follow your teacher’s teaching order.

Assessment task supplied by your teacher.Weekly homework

Source workbook pages: 52.

Resources

55-minute lesson sequence
  1. 0–5 · Check files, editor, instructions and approved access arrangements.
  2. 5–45 · Independent programming and tests, 40 minutes suggested; apply agreed extra time or session arrangements.
  3. 45–50 · Save and identify code, output and test evidence; collect only at each student’s agreed end time.
  4. 50–55 · Unmarked setup/feedback note. Keep solutions private while any assessment remains active.

Try before notes

Check that you can access the agreed instructions, files and response tools.

Independent check

This is a proposed classroom programming check, not an IB examination. Your teacher will confirm whether it is used today and will provide the authorised task and agreed access arrangements.

Read the instructions before starting. Ask about unclear wording or a file-access problem. Work independently using only the agreed resources. Show reasoning or test evidence even when a final result is uncertain.

Keep your work safe. Do not overwrite supplied input files. When asked to finish, submit the named evidence and close the task. Feedback and repairs begin only after all learners have finished.

No worked examples, hints that solve the task, or answer reveals during the check. Task pages and marking keys remain teacher-release-only.

Show what you know

Save the code, report and test record. Which file is your program?

Week 8 homework

Show working. Keep code and output. Stop at 25 minutes and mark where you reached.

  1. Choose one returned theory error or a practice error. Write the original question in a few words, your corrected answer and one reason. If no work has been returned, use the MAR/MDR distinction.
  2. Predict and trace count_high([59, 60, 61], 60) and count_high([], 60). State which case checks equality and which checks an empty input.
  3. Prepare one question to bring on Monday 11 January. It must refer to a particular example, trace step or test result.

Source workbook pages: 54.

Weekly homework (Word)