Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implemented in the C++ Language running on linux. Show output as well. 1 Description You will create a program that emulates an interactive database of

Implemented in the C++ Language running on linux. Show output as well.

image text in transcribed

image text in transcribed

1 Description You will create a program that emulates an interactive database of students and the courses they have taken. The program will use the command-line and allow a user to 1) create, 2) update, and 3) delete student records (often referred to as "CRUD" operations). Each student will have the following metadata: name, date of birth, and major. In addition, each student will have a collection of courses taken; each of these courses will have a name, department, semester taken, and grade received 2 Specification:s The executable should be called StudentDB and will be executed at the com mand line Your main database structure should be its own class, called StudentDB which contains a singly linked list of students, and methods to create, update, and delete student records. The database should also have member functions to access metadata, such as number of students in the database, and to print a list of the students Create a class called Student which will be the data contained in the nodes of the StudentDB class, along with member methods to update and delete the student. Each student object will also have as a member attribute the head of a singly linked list of courses taken by the student Each course recorded should be of a class called Course that contains the name, department, semester, and grade received. All the user to input the class names, departments, and majors To delete a student from the database or a course from a single student, you can use name-based search (e.g. enter the student's name, find it, and remove it from the linked list). More complicated mechanisms are also acceptable as long as the instructions presented by the program are clear. The structure of an example database can be visualized as: 1 Description You will create a program that emulates an interactive database of students and the courses they have taken. The program will use the command-line and allow a user to 1) create, 2) update, and 3) delete student records (often referred to as "CRUD" operations). Each student will have the following metadata: name, date of birth, and major. In addition, each student will have a collection of courses taken; each of these courses will have a name, department, semester taken, and grade received 2 Specification:s The executable should be called StudentDB and will be executed at the com mand line Your main database structure should be its own class, called StudentDB which contains a singly linked list of students, and methods to create, update, and delete student records. The database should also have member functions to access metadata, such as number of students in the database, and to print a list of the students Create a class called Student which will be the data contained in the nodes of the StudentDB class, along with member methods to update and delete the student. Each student object will also have as a member attribute the head of a singly linked list of courses taken by the student Each course recorded should be of a class called Course that contains the name, department, semester, and grade received. All the user to input the class names, departments, and majors To delete a student from the database or a course from a single student, you can use name-based search (e.g. enter the student's name, find it, and remove it from the linked list). More complicated mechanisms are also acceptable as long as the instructions presented by the program are clear. The structure of an example database can be visualized as

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

Students also viewed these Databases questions

Question

=+21.1. Prove ( e-ux2 /2 dx =1-1/2. ,00 12 T = 00

Answered: 1 week ago

Question

7. Identify six intercultural communication dialectics.

Answered: 1 week ago