Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a python program .. Submit a zipped file named COMP2102 FLIS HW2 XXXXX containing three files. The first file named HW2 main0 XXXXXpy contains

Write a python program .. image text in transcribed
Submit a zipped file named COMP2102 FLIS HW2 XXXXX containing three files. The first file named HW2 main0 XXXXXpy contains the main function, the second file named HW2 library XXXXXpy contains the rest of fimctions, and the third file named Hw2 xinXXdocx contains the diagrams requested in the additional requirements, where xXXXXrepresents your student ID Write a program that reads from a text file "students.bt" student information of a given class and stores them into a dictionary of lists. Each line of the file contains a student id (integer), a student name, a student gpa (float), and the number of completed credits (integer). The program should then display the menu shown below allowing the user to select repeatedly an option until he or she chooses to quit P Print the student information (name, id, gpa and credits) of all students sorted in increasing order of their ids F Find and display student information for a given student id (the user enters the student id) L List all the information (id, gpa and credits) of all students under probation (ie. gpa

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

More Books

Students also viewed these Databases questions