Create an application to keep track of a list of students and their grades in a data structures course using a binary search tree. • Create a class called student that contains 2 data members: name and grade and then create a binary search tree of objects of this class. Make sure you validate the grade (A through F, and ? for in-progress grades). • Create a menu that has the following options: o Add a student -- add the student if he/she is not already in the class o Remove a student -- display “Not Found” error message if the student is not in the class. o Update the grade -- display “Not Found” error message if the student is not in the class. o Display class roster The program should use the binary tree definition. Please list all main, cpp, and hpp files. There must be a Student class, with Student.hpp and Student.cpp files. Do not use structures

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question

Create an application to keep track of a list of students and their grades in a data structures course using a binary search tree.
• Create a class called student that contains 2 data members: name and grade and then create a binary search tree of objects of this class. Make sure you validate the grade (A through F, and ? for in-progress grades).
• Create a menu that has the following options:
o Add a student -- add the student if he/she is not already in the class
o Remove a student -- display “Not Found” error message if the student is not in the class.
o Update the grade -- display “Not Found” error message if the student is not in the class.
o Display class roster

The program should use the binary tree definition.

Please list all main, cpp, and hpp files. There must be a Student class, with Student.hpp and Student.cpp files. Do not use structures.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Operations of Linked List
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT