3. Background Student’s grades are comprised of grades for individual projects, group projects, and extra credit projects. Each grade is on a scale of 0 to 100. Student information, including grades, is stored in the school’s computer system The information is stored in a database system that organizes the information logically into tables The entries in the student table contains basic information about the student – name, address, sex, phone number, etc Entries in another table stores information about projects – for example name of the project, date assigned, date due and the grade For an individual project, each entry on the project table is associated with an entry on the student table The following diagram shows how the information is stored in the two tables
4. Database Model for Individual projects Student Project First Name Last Name M/F Email address Date of Birth Number Date Assigned Date Due (mm/dd/yy) Grade (0 – 100) 1 Many The line between shows the relationship between entries on each table. In this case, it indicates that each student has many given many projects.
5.
6.
7. Group projects Group projects are given to 2 or more students For each group project, there is one grade given to the group. Each student in the group gets the same grade for the project. Like individual projects, the information for each group project is stored as an entry in the project table
8.
9.
10. Class Information 5 individual projects have been assigned 2 Group Projects The highest possible score for a student is therefore (7*100) = 700 points There are 20 students in the class – 10 boys and 10 girls
11. Analysis As part of a class analysis, using the database system, the teacher finds the following for her class: The average for the class for the group projects is 82 The total project points for the 10 girls in the class is 6820 The total project points for the 10 girls in the class is 5970
12. Expanded Model Using similar concepts the model could be expanded to include concepts of teachers, classes, etc The expanded model could look like the following