Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask E-Commerce Expert

Assignment: Race Time Statistics

Write an application that will manage results of a race. When the main form of the application loads it will read a name and a time, one value per line, and fill two listboxes. After the listboxes are filled the application will compute the average of the times and display the results in a textbox. The user will have the option to add and delete entries from the listboxes. The user will also be able to compute the number of racers, maximum time and minimum time by selecting a radio button. By default, whenever a racer is added or deleted from the listboxes the average is computed and displayed.

1. Create a new C# project called RaceResults and a text file called RaceTimes.txt. Enter the data below into the file and save the file in the bin/Debug folder of your project.

1257_RaceResults.jpg

2. Create the following form with control objects in your project.

409_Form.jpg

3. Run the executable application file located in the ETM 3030 shared folder called RaceResults.exe. Your homework assignment is to reverse engineer this application.

Software Specifications

1. When the form loads:

a. read the records from RaceTimes.txt and fill listboxes.
b. compute average time and output to label.
c. select the first item in both listboxes. (i.e. Set the SelectedIndex property to 0)

2. Pressing the Delete button will

a. remove the selected records from both listboxes.
b. if the listboxes are empty and error message is displayed.

3. Pressing the Add button

a. will add the a name and time to the listboxes.
b. display an error message if race time is less than 2 or greater than 5.
c. display an error message if any of the textboxes are empty

4. Selecting the Average radio button will

a. display the average race time an output label
b. display the text "Average" in an output label

5. Selecting the Number of Racers radio button will

a. display the Number of Racers in an output label
b. display the text "Number of Racers" in an output label

6. Selecting the Max radio button will

a. display the maximum race time an output label
b. display the text "Max" in an output label

7. Selecting the Min radio button will

a. display the minimum race time an output label
b. display the text "Min" in an output label

8. The Save & Exit button will overwrite the RaceTimes.txt file with the data in the listboxes.

a. create output text file RaceTimes.txt
b. write listbox data to output file
c. close output file

9. The Exit button will exit the program and doesn't save changes.

10. There should always be a record selected at all times except in the case when the listboxes are empty.

E-Commerce, Computer Science

  • Category:- E-Commerce
  • Reference No.:- M92719379

Have any Question?


Related Questions in E-Commerce

Secure electronic commerce assignment -part a -based on

Secure Electronic Commerce Assignment - Part A - Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales. Please create a fold ...

Purpose of the assessment with ulo mapping students are

Purpose of the assessment (with ULO Mapping) Students are required to design and develop four different Apps. Students will be able to: b. Apply Java programming concepts, models/architectures and patterns to Android app ...

Research and discuss html 5what are its main featureswhat

Research and discuss HTML 5. What are its main features? What resources are available to support it? Put it in your own words please.

Mobile web application development assignment - android

Mobile Web Application Development Assignment - Android Apps Development Purpose of the assessment - Students are required to design and develop four different Apps. Apply Java programming concepts, models/architectures ...

Mobile applications assignment - an ios recipe application

Mobile Applications Assignment - An iOS Recipe Application - Introduction - In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. ...

Assignment - creating dynamic websites and web-based

Assignment - CREATING DYNAMIC WEBSITES AND WEB-BASED APPLICATIONS - AN OVERVIEW This assignment is an overview of the concepts, technologies and design techniques required to build dynamic websites and web-based applicat ...

Create testcase for given project first use piki design to

Create testcase for given project, first use piki design to do test case Want to do it like testcase one file and you can also get right information from saeed testcases Want to piki design all of it and informat like te ...

Html - css assignments assignment 1 - internet programming

HTML - CSS Assignments Assignment 1 - Internet Programming   My grandfather, like many men who lived in rural America, owned a large machine shed where he stored tools, farm equipment, vehicles, lumber, and wonderful gad ...

Overviewassignment 2 asked you to build the front end of

Overview Assignment 2 asked you to build the front end of the assignment, now the client wants you to build the full eCommerce website to the point that orders can be made and stored in a spreadsheet. Requirements 1. Web ...

Assignment requirementsyour web site proposal and

Assignment Requirements Your web site proposal and presentation (Assignment 1) was accepted, subject to any feedback you may have received. You company has been asked to develop website you suggested and build the featur ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As