Answered step by step
Verified Expert Solution
Question
1 Approved Answer
If some one will do this i can pay extra just email me kd89234 its a google mail and i need the file through drive
If some one will do this i can pay extra just email me kd89234 its a google mail
and i need the file through drive please
Assignment - 1 6. The menu should run continuously until the user quits the application. PR0G32356 - .NET Technologies using C\# - Validate the inputs. Any invalid input should not crash the app. Instructor: Gursharan Singh Tatla - Display user-friendly messages wherever necessary. - Always display the player stats in a tabular form. - Always display column headers when displaying player stats. Note: 1. Assignment must be completed as an individual effort. Do not collaborate with anyone or 7. NOTE: At no point should the application save any information to disk. All information is share it with any individual, party or entity. 2. Due date for submission is specified in SLATE. stored and managed in memory using a generic collection. The use of collections and the submission. 4. Late assignments will be penalized 10% each day for up to 3 days. After that, it is worth 0 . 5. Corrupt/incorrect submissions will be graded as zero. 8. Add Player: 6. Please refer to the Academic Integrity Policy. - When adding a new player, ask the user for all the required info and then save it to 7. Refer to the School of Applied Computing's Academic Procedures for Evaluations for more the collection. details regarding missed work: Procedures for Evaluations. - Then display a success message and print all the players from that sport in a tabular 8. If you take code-snippets from somewhere such as StackOverflow, make sure to provide form to verify that the new player is added. references to the webpages as comments in your code. - NOTE: When adding a new player, do not ask for Player ID, rather generate a new one. The Player ID must be unique for every player, just like a primary key in database. Copyright Disclaimer: The materials provided in class and in SLATE are protected by copyright. They are intended for 9. Edit Player: the personal, educational uses of students in this course and should not be shared externally - When editing a player info, first display a list of all players from the selected sport. or on websites such as Chegg, Course Hero or OneClass. Unauthorized distribution moy result - Then ask the user for the Player ID of the player that user wants to edit and fetch that in copyright infringement and violation of Sheridon policies. player from the collection. - And ask the user for all the required info and then display a success message. Instructions: - Print all the players from that sport in a tabular form to verify that the player is edited. 1. Make a Console Application in Visual Studio and name it as A1YourFirstnameLastname. - NOTE: Do not ask the user to edit the Player ID. It must be unique for every player and 2. Implement a sports player stats management system which is capable of doing the following: must not be edited. - Add, edit, and delete player stats. - View and search player stats. 10. Delete Player: 3. The application must be menu-based app: - When deleting a player info, first display a list of all players from the selected sport. 1 - Add Player - Then ask the user for the Player ID of the player that user wants to delete and fetch 2 - Edit Player that player from the collection. 3 - Delete Player - And remove the player from the collection and then display a success message. - Print all the players from that sport in a tabular form to verify that the player is 4- View Players deleted. 11. View Players: 4. When selecting Add, Edit or Delete Player option from the above menu, display a sub-menu - Display all the players in a tabular form. which asks which sports player is being added, edited, or deleted. - Display column headers. 5. For example, if user selects 1 - Add Player, then display the following sub-menu: - Categorize the players based on their sports. 1 - Add Hockey Player - Check the output video to get an idea. 2 - Add Basketball Player 3 - Add Baseball Player 4 - Back to Main Menu 12. Search Player: 22. Use your Java and object-orlented programming knowledge to create this hierarchy- - Ask the user to enter the player's name and display all the players that match the - NOTE: search keyword. i. Use CA properties to get/set these fields. Do not use getter/setter methods like - Partial match must fetch the results. you would do in Java. - Match should be case-insensitive, meaning if user enters lowercase "kyle" and the ii. Classes must be declared in their separate files, not in Program.cs file. player's name is "Kyle" (with uppercase K), it must fetch the player. - You will get higher grades if: i. Proper use of inheritance. 13. The players belong to three different sports: Ice-Hockey, Basketball, and Baseball. ii. User-Interface is user-friendly. 14. Create a parent class Player which must be declared as abstract. iii. App menu runs smoothly without crashing. 15. Then derive three child classes from the Player class: - Otherwise, there will be grade deductions. - Hockeyplayer - Basketbal1player 23. In the Program.cs file, create and maintain a generic collection of all players. - Baseballplayer - The generic collection must be of type parent class Player and it must store objects of 16. Use enum to represent different types of players. If you ever need to find what type of player derived classes. it is, do not compare it with string, rather make use of enum. - Populate this collection with some sample data when the program runs. - Do: if (playerType == PlayerType. HockeyPlayer) Submission: Where, PlayerType is declared as an enum. 1. Once done, ZIP the solution folder and upload it to Assignments on SLATE. - Don't: if (playerType == "HockeyPlayer") a. Make sure to ZIP the whole folder, not just .SLN file. b. If only. SLN file is zipped and submitted, Grade 0 will be given. c. Double-check your submission by downloading it and running it. 17. The parent class Player has fields which are common to all players, such as: 2. You are to submit. ZIP and .TXT files, separately: PlayerType, PlayerId, PlayerName, TeamName, GamesPlayed a. Upload the .zIP file of your assignment to SLATE. 18. The parent class Player also declares an abstract method Points, which will be overridden b. Upload the .TXT files to SLATE. in the derived classes. 3. You must copy and paste all of your source code from your CH files into separate plain text files. 19. Class HockeyPlayer has fields: a. You can copy and paste the source code into Notepad. Assists, Goals b. Create a separate.TXT file for each source code file. - Override the Points method to calculate the hockey player's points. Give 1 point for each 4. You don't have to format this code - it's used by Turnitin (the originality checker in SLATE, assist and 2 points for each goal. which is a piece of software that checks your submission for plagiarism against other - Total Points = Assists +(2 Goals ) submissions in the college, in other colleges, from the web, and various other sources). 5. Submit these text files in addition to your assignment ZIP file. 20. Class Basketballplayer has fields: a. DO NOT add them inside your zip/rar file - they must be separate files. FieldGoals, ThreePointers b. These are used for Turnitin (it won't examine the contents of zip/rar files). - Override the Points method to calculate the basketball player's points. Give 1 point for 6. Note: each field goal (minus any 3-pointers) and 2 points for each 3-pointer. a. If these submission instructions are not followed, Grade 0 will be granted. - Total Points = (FieldGoals ThreePointers )+[2 ThreePointers ] b. If TXT files are not provided, Grade 0 will be granted. 21. Class Basebal1Player has fields: Sample Output: Runs, HomeRuns - Check out this video to see the sample output of this application: - Override the Points method to calculate the baseball player's points. Give 1 point for httosi//www.loom.com/share/22eco6cae 6 b24555b182521/3bd1b485 each run (minus any home runs) and 2 points for each home run. - Total Points = (Runs - HomeRuns )+(2 x HomeRuns)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started