Assignment Task
The Big Picture
The FIA with F1 have hired you to develop a software system made up of two components, to manage and analyse the performance of teams in the 2024 F1 season. You will build two software systems. One system will allow the user to input team data and write it out to a CSV file. The second system will read the data into a program and perform various analyses on it.
Objective
Develop two individual software systems, to manage and analyse the performance of F1 teams in the 2024 season.
Description
In this assignment, you will build two software systems. One system will allow the user to input team data and write it out to a CSV file. The second system will read the data in and perform various analyses on it.
Task 1
Program One:
Team Input Program:
Prompt the user to enter the following details for each team:
- Team Name (e.g., "Red Bull Racing")
- Car Code (e.g., "RB20")
- Driver Name (e.g., "Max Verstappen")
- Grand Prix (e.g. "Melbourne")
- Position Finished (e.g. -1,1,2,3)
- Fastest Lap in seconds (e.g. 813)
Implement error checking to ensure that:
- Team Name, Team Code, Driver Name, Grand Prix are non-empty
- Position Finished is an
- Fastest Lap is a non-negative double (e.g., 222).
Task 2
Program Two
Data Retrieval Program:
Read the data from the CSV file and store it into an array of objects;
- Each object should represent a team and its associated details;
- As such, the class that is instantiated to create the object should have the six details described in Program One (Team Name ) as class fields;
- The class fields should be of an appropriate data
Data Analysis System
- List each of the teams that competed with at least one driver completing the
- List each of the teams that had no driver complete the
- Calculate the fastest team of the Each team has 2 drivers. Add their fastest time together and the lowest time is the fastest team. If a driver did not finish the race, their time for the calculation is set to 205.50 seconds. Display this to the user.
- Sort the teams according to which was fastest and display to the user in descending
- Sort the drivers according to who was fastest and display to the user in descending
- Sort the drivers according to who was fastest and display to the user in ascending
Team Analysis
- Allow the user to filter teams based on Car Code and display the driver names to the user, fastest driver listed
This COMP1007 - IT Computer Science has been solved by our PhD Experts at My Uni Paper.