First, experimental work (6 points)
This week's job requirements:
Select a problem PTA topic introduction.
Study the application of engineering documents, design and realize the student achievement management system.
Student Performance management System requirements
Design a menu-driven student performance management program to manage the scores of the N students ' m exam subjects and achieve the following functions:
Command 1: Ability to add student information and calculate the total score for peace sharing.
Ability to add information about student grades.
(students are ordered according to the number, new students should be inserted into the existing array according to the school number, and keep order, insert sort implementation)
Command 2: Revise student performance information according to input number and course number.
Command 3: Delete student performance information based on input number and course.
Command 4: Output shows all student performance information. (In line with the number of the school)
Command 5: Ability to sort by total and average score, respectively.
Command 6: Be able to query student information according to the number of learners.
Command 7: Exit the system.
The content of student information structure is as follows:
1. Student basic information Structure {
Number, name, contact information, total score, average
}
2. Student achievement Information Structure {
School number, course number, Grade
}
You can add additional member information to your system as needed.
Attention:
1. You can initialize 2 structure array data for testing.
2. It is required to organize the program structure in a modular way, and to design the respective defined function rationally. At the same time, the program can do exception processing, check the validity of user input data, user input data error, such as type error or invalid will not interrupt program execution, has a certain robustness.
1.1 PTA Topic (1 points)
Design ideas
Code
Debugging issues
1.2 Student Performance Management system (5 points) 1.2.1 Drawing function module diagram, briefly introduces function function.
Such as:
1.2.2 Display your project files, such as: 1.2.3 Function Code section
Total number of the system code: XXXX
Ask for your head file, insert student information and student score information Code, delete student score information code, total score sort code.
Be sure to include the necessary comments in the code.
1.2.4 Debug Results show
Required to display the menu, the results of each command, the illegal data must have a test and prompt, such as the user number input illegal, or enter the repetition number, indicating that the insertion failed. Query not to the corresponding student information to give tips and so on.
The more tests the sample, the higher the score
1.2.5 debugging encountered problems and solutions. Second, this week's topic set PTA Final ranking. (2 points)
Scoring rules:
(1) PTA ranking in 1--10 name: 2 minutes
(2) PTA ranking in 11--25 name: 1.5 minutes
(3) PTA ranking in 26--58 name: 1 minutes
Note: PTA completed at least 5 questions, if 5 of the following blog assignments Total 0 points
Third, read the code (1 points)
Find a good code map show, first describe the topic, and then paste the code, you can add comments inside.
Describe what the code is capable of and what are the advantages?
The code requires recursive correlation code for this time. The code is at least 10 lines long.
Content can not be too broad, it must be targeted to tell the code advantages, you can learn from the inside.
Iv. Summary of the study this week (1 points) 1. Learn about the content of this week 2. Learning experience.
C Language Blog Job--function nested call