Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 w have a collection of courses taken; each of these courses will have a name, department, semester taken, and grade received. 2 Specifications 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 inked lit) 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 w have a collection of courses taken; each of these courses will have a name, department, semester taken, and grade received. 2 Specifications 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 inked lit) 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

Step: 3

blur-text-image

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 3 Lnai 6323

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

3642159389, 978-3642159381

More Books

Students also viewed these Databases questions

Question

Create a workflow analysis.

Answered: 1 week ago