Harbin Institute of Technology C language homework-student performance management system

Harbin Institute of Technology C language homework-student performance management system

Complete project address: https://github.com/944613709/Student-Performance-Management-System-ByC

illustrate

  • l Designed a student performance management system to realize various functions such as the entry and statistics of student data
  • l Execute sound effect playback before entering the main menu
  • l menu The main menu displays and executes the following functions according to the input
  • l Information entry number, name and test scores of various subjects
  • l Calculate the total score and average score of each course
  • l Calculate the total score and average score of each student
  • l The total score is ranked from high to low
  • l The total score is ranked from low to high
  • l Arrange the score table according to the student number from small to large
  • l Arrange the score list in lexicographical order by name
  • l Query the student ranking by student number, and fuzzy search when the input is incomplete
  • l Query the student ranking by name, and fuzzy search when the input is incomplete
  • l Separate statistics for each course (according to 5 categories of excellent (90 100), good (80 89), medium (70 79), pass (60 69), and fail (0~59), and make statistics for each course number and percentage of each category)
  • l Output the information of each student
  • l Write record information to file
  • l Read student information from a file
  • l Press 0 and enter to exit, and print the HIT badge to conclude

structure diagram

img

Program screenshot

Test case 1:img

Method: Execute to this step Program purpose: Test whether the main menu is successful Display result: Successfully display the current menu Conclusion: This test is robust

Test case 2:img

Method: Execute to the total score calculation program Purpose: Test whether the total score calculation program is successful Result: Successfully calculate the total score and average score and successfully display Conclusion: This test is robust

Test case 3:img

Method: Execute to this step Program Purpose: Test whether the total score can be sorted from high to low Result: Successful sorting and display relevant information Conclusion: This test is robust

Test case 4:img

Method: Execute to this step Program purpose: Test whether the HIT badge is printed successfully Execution result: Successful execution Conclusion: This test is robust

Test case 5:img

Method: Execute to this step Program Purpose: Test whether the number of outstanding students can be successfully counted for each subject Result: Successfully count and display relevant information Conclusion: This test is robust

Test case 6:img

Method: Execute the program up to this step and input an information correctly Purpose: Test whether the student can be successfully searched according to the input information Result: Successfully found and displayed relevant information Conclusion: This test is robust

Test case 7:img

Method: Execute to this step of the program and enter a wrong information, but enter the fuzzy search Purpose: Test whether the fuzzy search for students can be successful according to the input information Result: Successful fuzzy search and display relevant information Conclusion: This test is robust

Guess you like

Origin blog.csdn.net/qq_35798433/article/details/130695182