Reference no: EM131310171
Assignment
The CSIT Racing Club is a group that runs amateur car racing events throughout the US. In This project, write a program that will help the club determine the winner of their Fall Rally Race. You will need to determine each racer's average time and identify the first place finisher. An input file with race information contains records of all the laps run by each driver. The record for each driver includes the number of the car the driver races and times for each of 8 laps run during the race. For the record of each driver, your program should determine the average lap time based on the following rules:
a. Each driver's slowest two lap times are discarded before the average is calculated
b. Any driver that has a lap time that is recorded as a negative number means that the driver incurred a penalty and is disqualified from the race (so no average needs to be calculated). Your program also needs to determine the numbers of qualified and disqualified drivers.
The program has to ask the user for the input file name first, and then read the data into your program. After that, calculate the average lap time. Furthermore, the program has to decide the first place finisher. If two or more drivers have the exact same best record, you have to display all of them as the first place finishers. In this program, you can assume that the total number of drivers entered into the race will not be greater than 30
Design and Implementation
You must develop your program with the following two functions or more.
1. A function to read a data file and calculate the average lap times: This function should prompt the user a data file name and read the data. Then it calculates the average lap time for each driver.
2. A function to print the race result and determine the top finisher. For this project, you may need several arrays to store the ids of drivers and results. Additionally, it may need to pass the arrays between functions.
What are the values of doing formal evaluation
: The issue of binding assurance requirements to functional requirements versus treating them as mutually exclusive sets has been debated over the years. Which approach do you think is preferable, and why?
|
What are the legal challenges involved
: Of the three options that Obama's executive order is intended to provoke, which do you think businesses are most likely to choose and why? Are there any other options? If so, what are they and what are the legal challenges involved
|
Can hdm and gypsy be used interchangeably
: Contrast the goals of the Gypsy Verification Environment with those of HDM. In particular, when is using HDM appropriate, and when is using Gypsy appropriate? Can HDM and Gypsy be used interchangeably?
|
Organization influence decision making and the outcome
: 1. How does the financial aspect of an organization influence decision making and the outcome? 2. What are the advantages and disadvantages of a firm's use of power purchasing parity? Provide an example.
|
Write a program that will help the club determine the winner
: The CSIT Racing Club is a group that runs amateur car racing events throughout the US. In This project, write a program that will help the club determine the winner of their Fall Rally Race.
|
Operating motive for merger and consolidation
: The Prad Corporation is considering a merger with the Stone Company which has 500,000 outstanding shares selling for $30. An investment banker has advised that to succeed in its merger Prad Corp. would have to offer $45 per share for Stone's stock. W..
|
Determine the value of salary surveys to an organization
: Describe the compensation philosophy of Maersk and how the market influences this philosophy. Determine the value of salary surveys to an organization
|
Describe e-learning as a training method
: Describe e-learning as a training method.Describe the potential barriers of e-learning readiness. Analyze how e-learning readiness has affected your success at Ashford University. Explain what a trainer can do to prepare learners for e-learning.
|
Name two other axes that would be of interest to an analyst
: In the NRL classification scheme for the "time of introduction" axis, must the development phase precede the maintenance and operation phases, and must the maintenance phase precede the operation phase? Justify your answer.
|