Writing a program to maintain the student database

Assignment Help Basic Computer Science
Reference no: EM13547650

You must use Arrays and Functions to do this. If you don't, then you loose big portion of your grade.

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 exam1 score, exam2 score and exam3 score.

Here is the description of the project.

Write a program with 5 arrays.

Names(10)

ID(10)

Score1(10)

Score2(10)

Score3(10)

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 10 student names, ID's , and score1, 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, score1, 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, score1, score2, score3. Ask the user to enter the new scores for the student. Update the Score1, 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 70 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.
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..wend loop.

Reference no: EM13547650

Questions Cloud

Establishing trust relationships between the two domains : Establishing trust relationships between the two (2) domains.
Needs to examine and process the string : Needs to examine and process the string
Involved in a team charged to repair : 1. You are involved in a team charged to repair and maintain a web-based ticket distribution system, what are the necessary questions your team should pose to the owner? Make up five questions and suggest solutions to them. Keep your answe..
Open a new database in microsoft access : Open a new database in Microsoft Access
Writing a program to maintain the student database : Writing a program to maintain the student database
A company named rl medical imaging : For this course, your projects will be for a company named RL Medical Imaging (RLMI).
What are some of the important considerations regarding dbms : What are some of the important considerations regarding DBMS/Database design? Explain why these considerations are important.
Complete the requirements using dbdl : Complete the requirements using DBDL and create Diagram. Make sure all tables are normalized to 3NF and exhibit proper relationships.
Design a database application to keep track of movies : Design a database application to keep track of movies, actors, and the roles played by actors in movies. You may make up all the data.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How frequently should run maintenance on equipment

With one network operating system (NOS) running on routers and switches, there can be elimination of third party vendors which service. So actually how frequently would they require to run maintenance on their equipment?

  Write a program that reads a value

Write a program that reads a value (say n) from the user and ouputs "Hello world" n times. Verify that the user has entered an integer. If the input is 3, the output will be "hello world" 3 times.

  What other major discoveries in cosmology have relied

Some advances in our knowledge have been made possible through better equipment, such as Hubble's discoveries using the 100-inch Hooker telescope at Mount Wilson. What other major discoveries in cosmology have relied on improvements in existing ap..

  Information technology is the process of using computers or

information technology is the process of using computers or computing devices to obtain and handle information and

  Can a quantum computing bit-s multiple states contribute

Can a quantum computing bit's (qbit's) multiple states contribute any more computing power or hold any more extraordinary mathematical control/significance.

  Find the error in the following pseudocode

Find the error in the following pseudocode

  The idea of this animation is to have the cuckoo clock keep

The idea of this animation is to have the cuckoo clock keep time

  Application of artificial intelligence what are application

what are application of artificial intelligence in different fields and also explain it? ltbrgtwhat are application of

  Create a console-based program and a gui application

Create a console-based program and a GUI application

  Why ratings for high quality pages must all get same rating

Ratings for high quality pages should all get the same rating. For example, a high quality page for a common interpretation of the query should get the same rating as a high quality page for a minor interpretation of the query.

  Calculate the minimum distance from the start to the goal

Calculate the minimum distance from the start to the goal with passing all the checkpoints -Specification * A map consists of 5 characters as following.

  Describe a situation where dynamic memory allocation

Describe a situation where dynamic memory allocation might be required in order to make efficient use of your computer's resources. Also describe the precautions that your program should take for the correct and efficient implementation of dynamic..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd