[SOLVED] CSE314 Offline 01-Offline On Shell Script

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Online-01-Shell-Script-mrja2b.zip (432.6 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

Online on Shell Script ——————————————————————————————————————————-

You need to grade some students based on their obtained marks in some subjects.

Input:

From a file named course.txt, you need to read the subjects to consider.
For each subject (e.g. physics, chemistry, mathematics, etc.), there will be a file named subject.txt (e.g. physics.txt, chemistry.txt, mathematics.txt).
In these files, there will be some lines containing two integers, separated by space. The first integer is the student id(1905***) and the second integer is the marks of that student in that subject.
You need to grade them based on their average marks.

Output:

The output is a .csv file.

The header of the .csv file is StudentID, Subject1, Subject2, …., SubjectN, Total Marks, Average marks, and Grade.
Fill out the .csv file accordingly.

See the sample IO files for clarification

  • Online-01-Shell-Script-mrja2b.zip