Lab 6
Debugging Programs
Submit at the end of lab time

Overview

This lab practices finding and correcting errors in programs.

Using Lab 6 code

Download the zip folder for lab 6. Unzip it and study the three Python scripts.

Instructions

For each Python program, find the errors and fix them. Demonstrate that they work.

Study the format statement in song.py. Write a short explanation of how the format arguments are used and inserted into the string.

Deliverable

Create a text file called lab6.txt that contains listings of the corrected scripts, demonstrations that they run, and your explanation of the format statement.

At the top of the lab, provide a statement of your experience with the lab and whether you worked with others.

Submit your lab6.txt file to D2L.

Grading

Your lab submission will be graded using the following rubric:

  • + .5 --- Your submission is clearly formatted.
  • + .5 --- Your submission includes a summary statement and includes how you collaborated.
  • + .5 / 1.0 --- You submitted most of the lab (0.5) or you submitted all of the lab (1.0).
  • + .5 --- Your lab submission is generally correct.

Labs submitted late are subject to a half point penalty.