I am writing my project on online student result which will compute the grade point,average grade point and cummulative grade point.the output required is:
Name: Shakira Abdullahi
Adm.No: 096784657
Department: Information Technology
Semester: 1st semester
Level: 200
Course title Course code Course unit score Grade
Computer programming II Csc 201 3 45 D
Introduction to file procesing Csc 204 2 57 C
Introduction to the internet Int 201 3 34 F
Linear algebra II Mth 205 2 60 B
Real Analysis I Mth 207 3 76 A
Numeric Analysis Mth 209 2 42 E
Nigerian people and culture Gst 201 2 80 A
Units this session:17
Units to date:35
G.P this session:47
G.P.A last session:3.43
G.P.A to date:2.87
Remarks: To repeat Int 201
Examination grading
Score(%) grade Grade points
70-100 A 5
60-69 B 4
50-59 C 3
45-49 D 2
40-44 E 1
0-39 F 0
Explanation:
Units this session: total course units this sessionUnits to date: cumulative of each session units up-to this sessionG.P this session: sum(each course(grade point x unit) )G.P to date: cumulative of each session G.P up-to this sessionG.P.A last session: Average G.P last sessionG.P.A to date: Average G.P to date.level: we have up to 4 levels: 100, 200, 300 and 400
Also what is required by the user before having access to the result are:
Name, Adm.No, Department, semester and session.
the session is in form of years e.g 2010-2011.
So please, how do I go about this project? My questions are:
- Can I maintain a table for this?
- How do I go about the query?
I would suggest creating a database with different tables linking to a master table with students.
This is the structure of tables I would create:
Within each of these I would create the required columns.
Student Table
Within the student table create a columns for the following:
Courses
Scores
Grading
The SQL with the values included would be as follows: