Database Management System Lecture - 12
Practice Session Application of E-R data model We study an example scenario and apply the design phases we have studied so far Data flow diagram and E-R database design
Practice Session Lets study Examination System of an Educational Institution During initial study phase, we identified following major points
Preliminary Study Students are enrolled in programmes/degrees Programmes comprise of different courses Different programmes are offered at the start of semester
Preliminary Study Students register courses of different programmes at the start of every semester After valid registration students attend the classes Teachers submit results during and at the end of semester
Preliminary Study Subjects’ grade points are calculated on the basis of results submitted Semester GPA is calculated on the basis of subjects’ GPs
Preliminary Study Cumulative GPA is calculated on the basis of semesters’ GPAs Courses, results, students data is stored in files
Outputs Required Teachers and controller need class list or attendance sheet, class result; subject and overall Students need transcripts, semester result card, subject result
Data Flow Diagram
Student Controller Teacher EXAMINATION SYSTEM Registration System Personal Details Provide Result Course Registration EXAMINATION SYSTEM Submit Result Class Result Class Result Subject Result Overall Result Teacher Controller
MAIN MODULES Subject registration Result submission Result calculation
STUDENT 1.0 Edit Form 2.0 Check Pre-Req & COURSE PROGRAM Valid Registration Detail 1.0 Edit Form Valid Course Pre-Req 2.0 Check Pre-Req In-Valid Verified RESULT REGISTRATION Previous Result
STUDENT 1.0 Edit Form Teacher & COURSE PROGRAM RESULT REGISTRATION 5.0 2.0 Check Pre-Req REGISTRATION RESULT Registration Detail Valid Previous Result In-Valid Verified Course Pre-Req Teacher 3.0 Collect Result 4.0 Calculate GP 5.0 Update Submit Result Result Info Subject GP
STUDENT Controller Teacher Registration Detail PROGRAM & COURSE 1.0 Edit Form Course Pre-Req Controller Valid 2.0 Check Pre-Req In-Valid Overall Result Registration Detail 8.0 Generate Result Verified Previous Result REGISTRATION Result Subject GP Registration Detail 5.0 Update Result Subject GP 4.0 Calculate GP RESULT 3.0 Collect Result Result Info Submit Result 7.0 Calculate CGPA GPAs 6.0 Calculate GPA Subject GP Teacher GPA
Cross Reference Matrix Reports vs Items
Analysis Phase
Candidate Entity Types From DFD Student Controller Courses Teachers Courses Offered Programmes Registration Results Semester
Support your ETs by cross reference matrix
Candidate Entity Types PROGRAM COURSES STUDENT CRS_OFFERED SEMESTER TEACHER