YOUR TASK IS TO IMPLEMENT A JAVA APPLICATION WHICH WILL FUNCTION AS A TYPE OF STUDENT REGISTRATION DATABASE WHICH WILL ENABLE AN ADMINISTRATIVE USER TO EITHER CREATE OR DELETE A STUDENT ACCOUNT IN THE DATABASE IN ORDER TO STORE THE FOLLOWING DETAILS:- (1)THE STUDENT’S NAME, (4) THE STUDENT’S ID NUMBER, (3) A LIST OF THE COURSES WHICH THE STUDENT HAS TAKEN ALONG WITH THE CORRESPONDING GRADES FOR THESE COURSES. NOTE: WHEN THE VALUE -1 IS ENTERED, THE APPLICATION WILL TERMINATE. please check the attached image

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter3: Data Representation
Section: Chapter Questions
Problem 3RP
icon
Related questions
Question

IN java

 YOUR TASK IS TO IMPLEMENT A JAVA APPLICATION WHICH WILL FUNCTION AS A

TYPE OF STUDENT REGISTRATION DATABASE WHICH WILL ENABLE AN ADMINISTRATIVE USER TO EITHER CREATE OR DELETE A

STUDENT ACCOUNT IN THE DATABASE IN ORDER TO STORE THE FOLLOWING DETAILS:-

(1)THE STUDENT’S NAME,

(4) THE STUDENT’S ID NUMBER,

(3) A LIST OF THE COURSES WHICH THE STUDENT HAS TAKEN ALONG WITH THE CORRESPONDING GRADES FOR THESE

COURSES.

NOTE: WHEN THE VALUE -1 IS ENTERED, THE APPLICATION WILL TERMINATE.

please check the attached image

YOUR TASK IS TO IMPLEMENT A JAVA APPLICATION WHICH WILL FUNCTION AS A
TYPE OF STUDENT REGISTRATION DATABASE WHICH WILL ENABLE AN ADMINISTRATIVE USER TO EITHER CREATE OR DELETE A
STUDENT ACCOUNT IN THE DATABASE IN ORDER TO STORE THE FOLLOWING DETAILS:-
(1)THE STUDENT'S NAME,
(11) THE STUDENT'S ID NUMBER,
(111) A LIST OF THE COURSES WHICH THE STUDENT HAS TAKEN ALONG WITH THE CORRESPONDING GRADES FOR THESE
COURSES.
NOTE: WHEN THE VALUE -1 IS ENTERED, THE APPLICATION WILL TERMINATE.
A TYPICAL EXAMPLE OF THE PROGRAM'S INPUT AND OUTPUT IS SHOWN BELOW:
Enter "1" to print out the full name & ID of every student in the database,
"2" to enter the course codes and grades for a specific student's ID,
"3" to retrieve the courses and grades for a specific student's ID or,
"4" to register a new student to the database or
"-1" to quit the program: 1
The full name of student #1 is: Mariam Baksh, ID: 201910077
The full name of student #2 is: Noora AlBeloushi, ID: 201810010
The full name of student #3 is: Ali AlEkabi, ID: 201910075
Enter "1" to print out the full name & ID of every student in the database,
"2" to enter the course codes and grades for a specific student's ID,
"3" to retrieve the courses and grades for a specific student's ID or,
"4" to register a new student to the database or
"-1" to quit the program:
Enter new student's UoF ID: 201912345
Enter new student's first name: Ahmad
Enter new student's last name: Hantoobi
Enter new student's age: 26
Registration Successful, the new student is Ahmad Hantoobi, UoF ID: 201912345
Enter "1" to print out the full name & ID of every student in the database,
"2" to enter the course codes and grades for a specific student's ID,
"3" to retrieve the courses and grades for a specific student's ID or,
"4" to register a new student to the database or
"-1" to quit the program: -1
Application wil1 now exit, goodbye!
NOTE: THE JAVA APPLICATION WHICH YOU WILL DEVELOP SHOULD INCORPORATE THE FOLLOWING FUNCTIONALITY:
SOME OPERATION TO RETRIEVE THE STUDENT'S NAME IF THE USER PROVIDES AN ID NUMBER (AND SUCH AN ID
NUMBER CANNOT EVER HAVE BEEN ASSIGNED TO ANOTHER STUDENT OR BE RE-ASSIGNED TO A FUTURE STUDENT)
SOME OPERATION TO DELETE A STUDENT RECORD ALONG WITH HIS/HER ID AND ASSOCIATED COURSES AND
GRADES, THIS WOULD THEN CAUSE A RE-ORDERING OF ARRAY SLOTS TO MAKE SURE THAT NO EMPTY SLOTS ARE
LEFT AFTER A RECORD HAS BEEN DELETED.
SOME OPERATION TO ENABLE THE REPLACEMENT OF AN EXISTING GRADE ONLY WITH A BETTER GRADE FOR A
GIVEN STUDENT . AND NOTE THAT THE SAME COURSE CODE CANNOT BE LISTED TWICE FOR THE SAME STUDENT.
Transcribed Image Text:YOUR TASK IS TO IMPLEMENT A JAVA APPLICATION WHICH WILL FUNCTION AS A TYPE OF STUDENT REGISTRATION DATABASE WHICH WILL ENABLE AN ADMINISTRATIVE USER TO EITHER CREATE OR DELETE A STUDENT ACCOUNT IN THE DATABASE IN ORDER TO STORE THE FOLLOWING DETAILS:- (1)THE STUDENT'S NAME, (11) THE STUDENT'S ID NUMBER, (111) A LIST OF THE COURSES WHICH THE STUDENT HAS TAKEN ALONG WITH THE CORRESPONDING GRADES FOR THESE COURSES. NOTE: WHEN THE VALUE -1 IS ENTERED, THE APPLICATION WILL TERMINATE. A TYPICAL EXAMPLE OF THE PROGRAM'S INPUT AND OUTPUT IS SHOWN BELOW: Enter "1" to print out the full name & ID of every student in the database, "2" to enter the course codes and grades for a specific student's ID, "3" to retrieve the courses and grades for a specific student's ID or, "4" to register a new student to the database or "-1" to quit the program: 1 The full name of student #1 is: Mariam Baksh, ID: 201910077 The full name of student #2 is: Noora AlBeloushi, ID: 201810010 The full name of student #3 is: Ali AlEkabi, ID: 201910075 Enter "1" to print out the full name & ID of every student in the database, "2" to enter the course codes and grades for a specific student's ID, "3" to retrieve the courses and grades for a specific student's ID or, "4" to register a new student to the database or "-1" to quit the program: Enter new student's UoF ID: 201912345 Enter new student's first name: Ahmad Enter new student's last name: Hantoobi Enter new student's age: 26 Registration Successful, the new student is Ahmad Hantoobi, UoF ID: 201912345 Enter "1" to print out the full name & ID of every student in the database, "2" to enter the course codes and grades for a specific student's ID, "3" to retrieve the courses and grades for a specific student's ID or, "4" to register a new student to the database or "-1" to quit the program: -1 Application wil1 now exit, goodbye! NOTE: THE JAVA APPLICATION WHICH YOU WILL DEVELOP SHOULD INCORPORATE THE FOLLOWING FUNCTIONALITY: SOME OPERATION TO RETRIEVE THE STUDENT'S NAME IF THE USER PROVIDES AN ID NUMBER (AND SUCH AN ID NUMBER CANNOT EVER HAVE BEEN ASSIGNED TO ANOTHER STUDENT OR BE RE-ASSIGNED TO A FUTURE STUDENT) SOME OPERATION TO DELETE A STUDENT RECORD ALONG WITH HIS/HER ID AND ASSOCIATED COURSES AND GRADES, THIS WOULD THEN CAUSE A RE-ORDERING OF ARRAY SLOTS TO MAKE SURE THAT NO EMPTY SLOTS ARE LEFT AFTER A RECORD HAS BEEN DELETED. SOME OPERATION TO ENABLE THE REPLACEMENT OF AN EXISTING GRADE ONLY WITH A BETTER GRADE FOR A GIVEN STUDENT . AND NOTE THAT THE SAME COURSE CODE CANNOT BE LISTED TWICE FOR THE SAME STUDENT.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
ADT and Class
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning