A sample run of your program should look like below. Note that the user’s inputs are highlighted in bold. Enter an input file: proj1_test_case.txt -------------------------------------------------- Course Report Options -------------------------
A sample run of your program should look like below. Note that the user’s inputs are highlighted in bold. Enter an input file: proj1_test_case.txt -------------------------------------------------- Course Report Options -------------------------
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
A sample run of your program should look like below. Note that the user’s inputs are highlighted in
bold.
Enter an input file: proj1_test_case.txt
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 2
--------------------------------------------------
--------------------------------------------------
Course Report: First Name Order
--------------------------------------------------
Ana 1500 - 80.00 (B) (rank: 3)
Ana 2000 - 100.00 (A) (rank: 1)
Diego 2500 - 50.00 (F) (rank: 5)
Lee 3000 - 80.00 (B) (rank: 3)
Sarah 1000 - 88.05 (B) (rank: 2)
--------------------------------------------------
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 1
CSS 2A Page 3 of 6
Project 1
bold.
Enter an input file: proj1_test_case.txt
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 2
--------------------------------------------------
--------------------------------------------------
Course Report: First Name Order
--------------------------------------------------
Ana 1500 - 80.00 (B) (rank: 3)
Ana 2000 - 100.00 (A) (rank: 1)
Diego 2500 - 50.00 (F) (rank: 5)
Lee 3000 - 80.00 (B) (rank: 3)
Sarah 1000 - 88.05 (B) (rank: 2)
--------------------------------------------------
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 1
CSS 2A Page 3 of 6
Project 1
CSS 2A
--------------------------------------------------
--------------------------------------------------
Course Report: Numerical Average Order
--------------------------------------------------
Ana 2000 - 100.00 (A) (rank: 1)
Sarah 1000 - 88.05 (B) (rank: 2)
Ana 1500 - 80.00 (B) (rank: 3)
Lee 3000 - 80.00 (B) (rank: 3)
Diego 2500 - 50.00 (F) (rank: 5)
--------------------------------------------------
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 3
--------------------------------------------------
Statistics
--------------------------------------------------
Number of students: 5
Class Average: 79.61
Grade Distribution (histogram)
A *
B * * *
C
D
F *
--------------------------------------------------
CSS 2A Page 4 of 6
Project 1
--------------------------------------------------
--------------------------------------------------
Course Report: Numerical Average Order
--------------------------------------------------
Ana 2000 - 100.00 (A) (rank: 1)
Sarah 1000 - 88.05 (B) (rank: 2)
Ana 1500 - 80.00 (B) (rank: 3)
Lee 3000 - 80.00 (B) (rank: 3)
Diego 2500 - 50.00 (F) (rank: 5)
--------------------------------------------------
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 3
--------------------------------------------------
Statistics
--------------------------------------------------
Number of students: 5
Class Average: 79.61
Grade Distribution (histogram)
A *
B * * *
C
D
F *
--------------------------------------------------
CSS 2A Page 4 of 6
Project 1
CSS 2A
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 4
---------------------------------------------------
Record Finder: Enter the name of a student: Ana
---------------------------------------------------
Name: Ana
ID: 2000
Average: 100.00 (A)
Name: Ana
ID: 1500
Average: 80.00 (B)
--------------------------------------------------
--------------------------------------------------
--------------------------------------------------
Course Report Options
--------------------------------------------------
1. Print in numerical average order
2. Print in first name order
3. Print course statistics
4. Record Finder
Choose any other option to quit.
--------------------------------------------------
Selection: 4
---------------------------------------------------
Record Finder: Enter the name of a student: Ana
---------------------------------------------------
Name: Ana
ID: 2000
Average: 100.00 (A)
Name: Ana
ID: 1500
Average: 80.00 (B)
--------------------------------------------------
--------------------------------------------------
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 5 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education