Explain the author design and logic
The tasks
[4 marks]
The text file MARKS contains the final marks of students enrolled in Computer Science units from a few years ago (the student numbers have been randomly generated, so the file doesn't contain actual students' information). Each line contains 3 tab-separated fields, providing a student number, their mark (/100) in a unit, and a unitcode.
which unit had the highest average mark?
[8 marks]
Depending on the value of its PATH environment variable, your shell will be able to locate several hundred, or several thousand, executable programs (that are found on disk).
Your solution will be tested with different text files, so it's strongly suggested that you try your solution with a number of different text files -
debugging.txt, classroom.txt, unix-1969-1971.txt, autonomous-vehicles.txt, baseball.txt.