← Back to the Introduction to Computer Science outline The Course Maker
← Introduction to Computer Science outline
Week 8 · Readings & resources

Week 8 — Readings & Resources

Introduction to Computer Science Free sample edition

Your primary reading is Chapter 8 (in this module). Everything below is the optional, go-deeper layer — pick what helps, skip the rest.

How to use this page

This page has 10 items (4 readings and 6 videos). Allow 43–52 minutes for everything. Each group points back to the matching chapter section and review segment, so use the full menu when you want more practice before the midterm, or take the quick path below.

Every video here has captions: turn them on with the CC button in the player. The chapter covers the same ideas in text.

Pick-one quick path (17–20 min total)

① Predict it, then read the last line

Chapter 8, Section “Predict, then run: the review method” · Session 1, Segment 1, “Predict, then run” · Remember: write your prediction down before you run, and read any error from its last line, where the error type is named.

  • How to Read Python Error Messages, Fix Your First Bugs, Python Tutorial 6 — Mrs. Tech — a short party-planning program crashes and gets fixed one error at a time, reading each message from the bottom up; pause at the NameError, TypeError, and SyntaxError parts and name the type before the video does. The last few error types are a preview of later weeks. Use it while working through the Week-8 module overview. (video, 6 min) (captions: creator)
  • Rubber Duck Debugging — rubberduckdebugging.com — a one-page, tongue-in-cheek explainer of an old programmer's habit: tell a rubber duck what your code is supposed to do, then go through it line by line until you hear yourself describe something the code does not do. Read the numbered method and skip the jokes about buying a duck. (reading, 2–4 min)

② Name the type, then find the branch

Chapter 8, Section “Name the type: division, remainders, and slices” · Session 1, Segment 2, “Name the type” · Remember: a single slash always makes a float, and Python works out not, then and, then or.

③ Read for the six classic slips

Chapter 8, Section “Read for the six classic slips: the checklist” · Session 2, Segment 6, “The classic-bug checklist” · Remember: read every program for the six slips before you run it, because five of them run with no error message at all.

Optional one-stop reference (free online reference)

Heads-up (links rot): these point to outside sites that occasionally move or rename pages. If a link ever fails, tell your instructor and use the reference above in the meantime.

Provenance: Built with The Course Maker · samples.thecoursemaker.com