< Back

Activity 6

Gradebook

As many of you have likely noticed, I'm not an incredibly big fan of Inquire. However, The one part I do like about Inquire is the gradebook. It is much nicer than having a spreadsheet storing grades. However, I'd like to break away from using Inquire at some point. I could easily write my own gradebook software, but I think it might be better practice for you to design one.

Details

Read this entire section before you start coding. This is a design exercise only!

You are going to design a simple gradebook program for CPSC 170. Towards that end, you need to write two different classes: Students and Gradebook. Your Student class should store all of the things associated with a student, namely quiz and assignment grades.

Your Gradebook class is simply going to be a collection of students. I should be able to get a list of all the quiz grades of a particular student, as well as get a list of all of the assignment grades for a particular student. I also might want to be able to add new students, and add new grades to a particular student.