Question: Problem 3 ( Abstract Data Types, 5 % ) For each of the following data storage needs, describe which abstract data types you would suggest

Problem 3(Abstract Data Types, 5%)For each of the following data storage needs, describe which abstract data types you would suggest using. Natural choices would include list, set, map, stack, and queue but also any simpler data types that you may have learned about before.Try to be specific, e.g., rather than just saying a list, say a list of integers or a list of structs consisting of a name (string) and a GPA (double). Also, please give a brief explanation for your choice: we are grading you at least as much on your justification as on the correctness of the answer. Also, if you give a wrong answer, when you include an explanation, well know whether it was a minor error or a major one, and can give you appropriate partial credit. There may be multiple equally good options, so your justification may get you full credit.a data type that stores all of the students waiting for office hour help, ordered by their place in line (an integer from 0 to n-1). Given an integer, it brings up the student at that position.a data type that stores all of the students that earned an A grade in CSCI 103.a data type that stores all of the student records in CSCI 104: given a student name, it brings up the student record with that name.a data type that stores all of the students that were in CSCI 103 in Spring 2024. Given a grade, it brings up all of the students that earned that grade.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!