applicationstudent records most computer applications are written to process and manipulate data that is stored external to the program data is commonly extracted from files stored on diskfrom databasesand even from remote sites through web services for examplesuppose we have collection of records stored on disk that contain information related to students at smalltown college we have been assigned the task to extract this information and produce report similar to the following in which the records are sorted by identification number list of students id name class gpa --- smithjohn sophomore joneswendy junior smithjane senior walessam senior robertssally freshman greenpatrick freshman nelsonamy sophomore robertsjane senior taylorsusan sophomore loganmark junior brownjessica sophomore number of students our contact in the registrar' officewho assigned the taskhas provided some information about the data we know each record contains five pieces of information for an individual student( the student' id number represented as an integer( their first and last nameswhich are strings( an integer classification code in the range [ that indicates if the student is freshmansophomorejunioror seniorand ( their current grade point average represented as floatingpoint value what we have not been toldhoweveris how the data is stored on disk it could be stored in plain text filein binary fileor even in database in additionif the data is stored in text or binary filewe will need to know how the data is formatted in the fileand if it' in relational databasewe will need to know the type and the structure of the database designing solution even though we have not yet been told the type of file or the format used to store the datawe can begin designing and implementing solution by working with an abstraction of the input source no matter the source or format of the datathe extraction of data records from external storage requires similar stepsopen connectionextract the individual recordsthen close the connection to aide in our effortwe define student file reader adt to represent the extraction of