当前位置:网站首页>Implementation of competition scoring system based on C language

Implementation of competition scoring system based on C language

2022-06-11 10:39:00 biyezuopinvip

Resource download address :https://download.csdn.net/download/sheziqiong/85609255
Course reports + Code and executable EXE file
Catalog
One 、 Course design topic 3
Two 、 overall design 4
3、 ... and 、 Detailed design 5
Four 、 Common data structure design and usage instructions 5
5、 ... and 、 The functionality 6
6、 ... and 、 test result 32
7、 ... and 、 Experience summary 35
8、 ... and 、 reference 36
Nine 、 Program listing 36
One . Course design topic
subject : Competition scoring system
difficulty :*** 1 level
One 、 Functional requirements description ( It must be realized by structure and dynamic linked list )

  1. Main function menu of the system
    (1) Enter the player's score
    (2) Insert new player
    (3) Delete the retiring player
    (4) Ranking of contestants' scores
    (5) Output player scores
    (6) Output player ranking
    (7) Exit the system
    2. Start the function of the corresponding module by entering the serial number of the menu item
    (1) Can create a linked list according to the number of players entered ;
    (2) entry 10 Judges rated the contestants , And stored in a file playerOriginal.dat in ;
    (3) Calculate the average score of each player according to the principle of removing the highest score and the lowest score ;
    (4) Rank the players according to the average score from high to low ;
    (5) Store the ranked data in a file playerGrade.dat in ;
    (6) Output the original data and final results to the screen ;
    (7) In the (2) Save in step playerOriginal.dat Documents before , The number can be modified according to the situation
    According to the , for example : Insert or delete contestants .
    3. System function module
    (1) Defining structure
    (2) Create linked list functions
    (3) Input data function
    (4) Calculation function
    (5) Sorting function
    (6) Output data function
    (7) Output final data
    (8) Delete function
    (9) Insert the function
    (10) The main function
    Create a linked list : Insert data using tail interpolation ;
    Enter player information : Including the input of player information , Input of contestant's score . Remove one of the highest scores
    And the lowest score , And calculate the average score of the rest of the judges .
    Output player ranking : Including the ranking of players' scores .
    Delete and insert player information : Delete and insert the retired contestants and the new contestants .
    Two 、 pluses
    1. Using the graphical interface .
    2. The function of the system can be expanded by referring to the actual situation
    3、 ... and 、 The design requirements
    1. The player information data is put into the file specified above .
    2. Different modules should have error handling , And can give error prompt . If the input data is wrong , writing
    Operation error, etc .
    3. The above functions are written as sub functions , With good notes , The main function calls the real
    present .
    4. The structure and dynamic linked list must be used to store and access the competition scoring data ;
  2. Data must be saved in a file .
    6. An interface shall be provided to call various functions , The calling interface and the operation interface of each function shall be as simple as possible
    It can be clear and beautiful .
    7. The rights of the administrator and the contestant should be separated . Players can only query search results and rankings .
    Four 、 Test data
    Contestant information data shall not be less than 10 strip .
     Insert picture description here
     Insert picture description here
     Insert picture description here
     Insert picture description here
     Insert picture description here
     Insert picture description here
     Insert picture description here
    Resource download address :https://download.csdn.net/download/sheziqiong/85609255
原网站

版权声明
本文为[biyezuopinvip]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111029503302.html