Question: Make an application that opens a .csv file that contains project marks for the whole class and lets the lecturer display and edit marks. When
Make an application that opens a .csv file that contains project marks for the whole class and lets the lecturer display and edit marks.
When the application is launched, it should first ask the user to enter a file name.
If the file doesn't exist, the program should exit. Otherwise it should read the file.
The file is expected to have the following structure. The first row should contain column names. The first two columns should always have the same name: student id and student name. The last column name should also always be the same name: total. The rest of the column names are various marking criteria. There can be any number of these columns, they must always have a number of assigned points in brackets to the left of the column name and the sum of these numbers must be 100. If the sum is not 100 or some of the numbers are missing, the user should be asked to enter the marks for each of the columns one after another. This process should repeat until the sum is 100. An example of the first row of a valid csv file is given below:
Student Id, Student Name, Technical Difficulty (30), Innovation (20), Documentation (25), Presentation (25), Total
Note that your csv file should have at least 6 marking criteria that are different from the example and your program should be able to handle files with different numbers of marking criteria.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
