Creating application that is going to track the swim clubs

Assignment Help DOT NET Programming
Reference no: EM132162979

Assignment Background:

You are creating application that is going to track the swim clubs, their swimmers, swim meets and results.

Part 2A:

Modify Assignment 1 to satisfy the following.

1. Add a method AddSwimmer to Club class so a registrant can be added to the club members. If the registrant is already assigned to a different club this method should throw an exception with a massage: "Swimmer already assigned to {club name} club". Also, make sure that registrant's club information is correct. Assume that it will be no more than 20 club members in any club.

2. Add Club property to the Registrants class to represent a registrant's club affiliation. User of this class can add club affiliation to a registrant by assigning the reference of a Club object to this property. Make sure that a registrant is also added to the club member list.

3. Add new field, noOfLanes, and corresponding property to a SwimMeet class to keep the information about number of lanes in the pool. Change your constructors as required.

4. Make necessary changes to SwimMeet class to ensure that course cannot be changed after it is initialized.

5. Add a method AddEvent to SwimMeet class that will add an event to the swim meet. Assume that there will be no more than 50 events at a meet.

6. Prior to the beginning of the swim event swimmers will enter the event. Each event consists of a number of heats. Each heat represents a number of swimmers racing at the same time. The process of assigning swimmers to heats and lanes where they are going to race is known as seeding. At the end of each heat each swimmer gets the time that they swam the race.
You need to modify you Event class to keep information about the registrants that swim that event. There will be no more than 100 swimmers per any event.

Create a method AddSwimer that will add a registrant(swimmer) to the event. If swimmer is added twice to the same event throw an Exception with message "Swimmer {name of the swimmer, reg number} is already entered"

Each swimmer that is added to an event will have a corresponding swim. (Hint: You can use parallel arrays to accomplish this.)

7. When a meet is created and all the swimmers are registered for the events, the swim meet is seeded. Seeding a swim meet means seeding each event. The way the real meets are seeded is rather complicated to implement in this assignment, so we will assign heats and lanes in order. For example, in a pool with 8 lanes the first 8 swimmers are assigned lanes 1 to 8 in heat 1, the next 8 swimmers are assigned lanes 1-8 in heat 2, and so on. Please note that not all swim meets are held in the pool with 8 lanes.
Add method Seed to SwimMeet class that will call the Seed method of each event. Seed method in Event class will assign heats and lanes in corresponding Swim object for a swimmer.

8. Add EnterSwimmerTime method to the Event class. This method will accept two parameters: a swimmer and the time that the swimmer made. The method will update appropriate information in the Swim object.

Additional requirements:

1. The test harness is provided in attached program.txt file. You must not modify the content of the class. You can change namespace names only.

2. Modify your code from assignment 1 to provide the similar output as in the text file output.rtf

3. You can add any additional methods that may be needed.

Reference no: EM132162979

Questions Cloud

Discuss what types of information are stored in your sector : Discuss what types of information are stored in your sector (or sector of interest) and what types of information are shared with a third party (if any).
What are extras rights and remedies against mundo : In a minimum of a 1,000-word contract analysis, discuss the following questions: Was Mundo obligated to sell the presses to Extra for $2.4 million?
What are the two arenas that are used to assess credibility : What are the two arenas that are used to assess credibility? How do they tie into the degrees of credibility and incredibility?
What financial element better suits a businesss interest : What financial element better suits a business's interest? What about Arkansas Tech? Why or why not would it be different than a for profit entity?
Creating application that is going to track the swim clubs : COMP123-Programming - You are creating application that is going to track the swim clubs, their swimmers, swim meets and results
What might be an example of a lead you encounter : You are the project manager assigned to build and decorate a model home.
Create at least three unique traffic offense type records : The law enforcement official information includes badge number, name, and year in service (i.e. 2).
How current mis trends are being used within your job : Report on how current MIS trends are being used within your job sector to solve organizational problems.
Explain why the manager might not have a case : Explain why the manager might not have a case for making the employee take the quotes down.

Reviews

len2162979

11/10/2018 4:28:58 AM

References: Please refer to “General Assignment Requirements” document posted on eCentennial Note: This is the first part of the assignment 2 and must be submitted by the deadline in the drop box. The submission should be working as per requirements. This part will not have a separate grade as it will be marked together with part B. However, if not submitted or not mostly working will carry 10% penalty. The minor changes and fixes to this part are acceptable before the submission of the second part of the assignment 2. Submission: Submit the solution to Assignment2A drop box by drop box deadline.

Write a Review

DOT NET Programming Questions & Answers

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Design style elements in asp

Add drop down lists for modifying the different style elements for the label element that displays the time

  Create a shopping cart in asp

The users will use a browser to access the on-line store. The web server software for the production web server is Windows 2003 Server /IIS6.

  Inventory management system in c# application

Inventory management system in c# application

  Using .net resources to teach .net

This project will use the .NET framework to produce a set of materials to demonstrate the fundamental principles of .NET. Ideally it should demonstrate some of the principles of the framework e.g. interoperability.

  Prepare a marymount faculty site

Prepare a Marymount faculty site

  Blinky lights

Analysis proving that your code blinks the LEDs at the specified rates.

  Prepare a web application

Prepare a web application that will be used to keep track of patients registering in a hospital.

  Implementing the insurance management system

Implementing the Insurance Management System and implementation of Components as Web Services.

  Describe the characteristics of visual studio 2005

Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in industries

  What is a connectionstring

What is a ConnectionString. Give a suitable example to illustrate the various part of a ConnectionString

  Prepare a web application for internet service provider

Prepare a Web application and write the code also event planning document base. This web application allows the user to sign up for an Internet service provider for home connectivity.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd