For this assignment, you'll be provided with part of a project: enough to create, and display, a listing of Student records. You're to write an additional program, HonourList, that can create a filtered listing of those students who scored high enough to make the 'honour list'.

The threshold for qualifying for the honour list will be entered by the user, and a .pdf will also produced summarizing the honour list.

What's provided

You should start by checking out the included files. It contains:

  • A Student class, ready for serialization
    • You may not modify this file. It will become incompatible with the data if you do
  • A ClassList main class, that can display the list of students in a binary file
    • There's no need to modify this one
  • A CreateClassList main class, that can accept user input to create additional class listings
    • You'll need this to provide more testing cases, but shouldn't need to modify it

Of course, these are all within the included project.

Requirements

You're to write the HonourList program that will:

  • Acquire the threshold to use from the user
  • Prepare a report (suitable for printing)
    • For each record, it should have three columns:
    • The student's Id number
    • The student's name
    • Collectively, the student's grade and letter
  • Prepare a new binary output file
  • Read in from the binary data file, and for each record:
    • Determine if it's at, or above, that threshold. For those that are:
    • Add them to the new data file
    • Add them to the report
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.