Here you will be writing a program to maintain the student database. Your program will maintain the student information such as names, Id's, and the examl score, exam2 score and exam3 score.

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
icon
Related questions
Question
Python 3 .. pictures added
• If the user types any other option
Display the message "Invalid Choice. Try again" and go back and display the menu.
PS:
You program must keep displaying the menu until the user types the option E, to exit the program. For this,
you can use, while loop.
For exact input and output messages and possible error messages, please refer to the test case scenario.
Transcribed Image Text:• If the user types any other option Display the message "Invalid Choice. Try again" and go back and display the menu. PS: You program must keep displaying the menu until the user types the option E, to exit the program. For this, you can use, while loop. For exact input and output messages and possible error messages, please refer to the test case scenario.
Here you will be writing a program to maintain the student database. Your program will maintain the student
information such as names, Id's, and the examl score, exam2 score and exam3 score.
Here is the description of the project.
Write a program with 5 arrays.
Names
ID
Scorel
Score2
Score3
Your program should display the following menu of choices to the user. It should perform the operations as
suggested by the user and always come back to the menu and wait for the user to type in her/his choice.
Type P to populate the student information,
Type U to update student Information
Type D to display the student information.
Type C to calculate the Grade.
Type E to exit.
• If the user types P
Ask the user to enter the 4 student names, ID's, and scorel, score2 and.score 3 for each of the student. Return
to the menu
• If the user types D then:
Ask the user to enter the ID of the student. Search for the student in the ID array and display student name, ID,
Scorel, score2, score3. Return to the menu.
• If the user types U then:
Ask the user to enter the ID of the student. Search for the student in the ID array and display student name, ID.
scorel, score2, score3. Ask the user to enter the new scores for the student. Update the Scorel, Score2, and
Score3 arrays at that position.
• If the user types C then
Ask the user for the student ID. Find the student Id in the ID array. Calculate the average of the three scores for
that student and display the grade of that student. The grade should be calculated based on the following
criteria. If the average is between 90 and 100, then the grade is A. If the average is between 80 and 89, then the
grade should be B. If the average is between 70 and 79, then grade should be C. If the average is between 60
and 69 then the grade should be D. If the average is below 60, then the grade is F. Return to the main menu
If the user types E. then:
Terminate the main program.
Transcribed Image Text:Here you will be writing a program to maintain the student database. Your program will maintain the student information such as names, Id's, and the examl score, exam2 score and exam3 score. Here is the description of the project. Write a program with 5 arrays. Names ID Scorel Score2 Score3 Your program should display the following menu of choices to the user. It should perform the operations as suggested by the user and always come back to the menu and wait for the user to type in her/his choice. Type P to populate the student information, Type U to update student Information Type D to display the student information. Type C to calculate the Grade. Type E to exit. • If the user types P Ask the user to enter the 4 student names, ID's, and scorel, score2 and.score 3 for each of the student. Return to the menu • If the user types D then: Ask the user to enter the ID of the student. Search for the student in the ID array and display student name, ID, Scorel, score2, score3. Return to the menu. • If the user types U then: Ask the user to enter the ID of the student. Search for the student in the ID array and display student name, ID. scorel, score2, score3. Ask the user to enter the new scores for the student. Update the Scorel, Score2, and Score3 arrays at that position. • If the user types C then Ask the user for the student ID. Find the student Id in the ID array. Calculate the average of the three scores for that student and display the grade of that student. The grade should be calculated based on the following criteria. If the average is between 90 and 100, then the grade is A. If the average is between 80 and 89, then the grade should be B. If the average is between 70 and 79, then grade should be C. If the average is between 60 and 69 then the grade should be D. If the average is below 60, then the grade is F. Return to the main menu If the user types E. then: Terminate the main program.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Introduction to computer system
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
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education