Design a student file writer adt that can be used to


In the chapter, we defined and implemented the Student File Reader ADT for extracting student records from an external source. We can define and use a similar ADT for output.

(a) Design a Student File Writer ADT that can be used to display, or store to an output device, student records contained in a StudentRecord object.

(b) Provide an implementation of your ADT to output the records by displaying them to the terminal in a neatly formatted fashion.

(c) Provide an implementation of your ADT to output the records to a text file using the same format described in the text.

(d) Design and implement a complete program that extracts student records from a text file, sorts them by either student id or student name, and displays them to the terminal using your ADT. The choice of sort keys should be extracted from the user.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Design a student file writer adt that can be used to
Reference No:- TGS01715678

Expected delivery within 24 Hours