Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You will design a program that manages student records at a university. You will need to use a number of concepts that you learned in

image text in transcribed
You will design a program that manages student records at a university. You will need to use a number of concepts that you learned in class including: use of classes, use of dictionaries and input and output of comma delimited cav files. Input a] Students MajorsList.cwr -- contains items listed by row. Each row contains student ID, last name, first name, major, and optionally a disciplinary action indicator b) GPAList cev -- contains items listed by row. Each row contains student ID and the student GPA cj GraduationDatesList.cav - contains items listed by row. Each row contains student ID and graduation date. Example Students MajorsList cev, GPAList.es and GraduationDatesList,cav are provided for reference. Your code will be expected to work with any group of input files of the appropriate format. Names, majors, GPAs and graduation dates can and will likely be different from the examples provided. You can reuse parts of your code from Part 1. Required Output 1] Interactive Inventory Query Capability a. Query the user of an item by asking for a major and GPA with a single query. Print a message["No such student"] if the major is not in the roster, more that one major or GPA is submitted. Ignore any other words, so "smart Computer Science student 3.5" is treated the same as "Computer Science 3.5"- IL Print "Your student(s]:" with the student ID, first name, last item, GPA. Do not provide students that have graduated or had disciplinary action. List all the students within 0.1 of the requested GPA. Also print "You may, also, consider:" and provide information about the same student type within 0.25 of the requested GPA. Do not provide students that have graduated or had disciplinary action. iv. If there were no students who satisfied neither ii nor ill above - provide the information about the student within the requested major with closest GPA to that requested. Do not provide students that have graduated or had disciplinary action . v. After output for one query, query the user again. Allow 'o' to quit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus Early Transcendentals

Authors: James Stewart

7th edition

538497904, 978-0538497909

More Books

Students also viewed these Mathematics questions