Question: Your project is to implement the required tunctionalities in the Object-Oriented (UU) style with at least three classes: Competition, Student, and Challenge. You need to

Your project is to implement the required
Your project is to implement the required tunctionalities in the Object-Oriented (UU) style with at least three classes: Competition, Student, and Challenge. You need to design appropriate static/instance variables, constructors, and static/instance methods in these classes. The class related info should be encapsulated inside the corresponding class. In this level, your program can read data from a file specified in the command line. The file stores the students' results in a competition. Your program should create a list of Student objects, a list of Challenge objects, and a 2D-list (or other data types) to store the students' results. You should design the classes properly so that these actions can be encapsulated within the appropriate classes. Note that, at this level, we only know the IDs of the students, and the IDs of the challenges. In the main class, your program should create a Competition object, call its reod_results(lenome) method to load data from the file (le_nome), and then call its display_results() method to display the results in the required format (as specified in the following). Below is an example of the file that stores the students' results - see the next page (in the sequel, we will call this file as the result file). The data fields are separated by commas and new lines. The first row contains the challenges' IDs, and the rst column contains the students' IDs. The first field in the data, the top left corner, is always empty. The le stores all students' results in all the challenges. These are the amount of time each student needs to solve each challenge. A result of "-1" means the student does not participate in the challenge, and a result of "444" means the student is working on the challenge (ongoing) and the result is not available yet. In this level, you can assume the real results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!