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, (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
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
IN java
YOUR TASK IS TO IMPLEMENT A JAVA APPLICATION WHICH WILL FUNCTION AS A
TYPE OF STUDENT REGISTRATION
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.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fac559950-cbce-4870-b239-9d864899402b%2F8652a7f8-3a67-4f96-8033-a5eb301355da%2Fn9gas3_processed.png&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
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 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
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](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
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)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education