Introduction
10
,
3210
Data Structure
Course Project
Department of Information Management
Beijing Jiao Tong University (Wei Hai)
Problem (10 points) :
Problem 1:
Develop a sample system to store and manage the grades for students in a class.
Take our class as an example, for each student, his or her grades include: (1) participation
score, (2) score in assignment 1, (3) score in assignment 2, (4) score in assignment 3, (5)
score in assignment 4, (6) score in course project, (7) score in final exam and (8) final
grade. The final grade is the weighted sum of the first 7 scores.
Your system should include the following functions:
Searching, i.e., search the scores and grade for one certain student;
Sorting, i.e., sorting the scores and grade for all students;
Max, i.e., find the maximum score or grade among all the students;
Min, i.e., find the minimum score or grade among all the students;
Distribution, i.e., show the distribution of scores or grades for all students;
Normalize, i.e., normalize all the scores or grades among all the students;
Other functions (the more functions, the better).
Requirement:
(1) Work in group, discuss how to design and implement this system using C;
(2) Generate sample grades and scores for some students, test your system;
(3) Write course project report to describe how would you design your systems, with
what functionalities and who is in charge of which part;
(4) Prepare the slides and, in groups, present your work in class
Submission:
Submit your course project report in a pdf file, C code, slides, with your student
ID+English name as file name to class representative before October 29 23:59:59.