Q 1) You are required to maintain database for Cricket players. There are 9 teams in International Cricket Pakistan, India, South Africa, West Indies, Bangladesh, Srilanka, Austrailia, Newzealand, Ingland. You have to keep records of the players. Player should have information i.s.
1. Name
2. Country
3. DOB
4. Date of dabut
5. Category i.e. Bowler, Batsman, Fielder, All-rounder
6. Total Scores
7. Best Score
8. Total Wickets
9. Best Wicket figure
10. Total Over Bowled
11. Total Scores given
6-11 Attributes should not be taken by user automatically calculated.user should be allowed to add new player, edit existing player, search player by Nationality, by youngest age, by eldest age, by most no of matches, by best batting average, by best batting record, by besting bowling record, by highest wicket taker.
When a new player is added new node is created. When you want to update a player means you want to update record of the player 6-11 should be updated automatically.
At the end all records should be saved into the file. When application starts automatically records should be read from the file and linked list of the records should be created and at the end all the records should be saved into the file.
Singly linked list should be used.
The answer to the question is available in the PDF file https://assignmentexpert.com/https://assignmentexpert.com/homework-answers/programming-answer-37773.pdf
Comments
Leave a comment