Presentation is loading. Please wait.

Presentation is loading. Please wait.

Information System Design “Student Registration System Example”

Similar presentations


Presentation on theme: "Information System Design “Student Registration System Example”"— Presentation transcript:

1 Information System Design “Student Registration System Example”
Ms. Yosra Awad

2 Student registration system
We will go through the step by step process for designing, and implementing an information system for student registration purposes.

3 Objective The purpose of the Student Registration system is to:
Record student personal data. Record data about doctors. Record data about courses. Record the courses that each student has registered in per semester, as well as the grade. Record the courses that each doctor has taught in each semester.

4 Step 1: Produce ERD After the Analysis phase is complete, one of its products is the Entity Relationship Diagram (ERD). The ERD models the data in an organization.

5 Student Registration

6 Step 2: Mapping or Transformation
The process of transforming the ERD into a schema. This process involves transforming the ERD entities into tables. and the ERD relationships into foreign keys (informally speaking). The result of the mapping process is a schema.

7 Student Semester Course Doctor Student_course fk fk fk fk Semester_course fk fk fk fk

8 Step3: Coding Write the SQL code that would build the tables and relationships present in the schema. After the coding is complete, the database would be finalized, and you would be ready to start on your forms.

9 Create Student table create table student
(student_reg number(4) primary key, address varchar2(30), date_of_birth date, mobile_no number(12), nationality character (20), phone number (15), student_name character (20));

10 Create Course table create table course
(course_code number (5) primary key, course_name character (30), credit_hrs number (2), description varchar2 (100));

11 Create Semester table & primary key
create table semester (semester_season character (12), semester_year number (4)); alter table semester add constraint sems_pk primary key (semester_season, semester_year);

12 Create Doctor table create table doctor
(doctor_no number (3) primary key, doctor_name character(30), qualification varchar2 (100));

13 Create Student_course table
create table student_course (student_reg number (4), semester_season character (12), semester_year number (4), course_code number (5), grade number (3));

14 Create table Semester_course
(semester_season character (12), semester_year number (4), doctor_no number (3), course_code number (5));

15 Create the Fk & Pk constraints on Student_course table
alter table student_course add constraint st_reg_fk foreign key (student_reg) references student (student_reg); add constraint sem_season_fk foreign key (semester_season, semester_year) references semester (semester_season, semester_year); add constraint course_fk foreign key (course_code) references course (course_code); add constraint stu_crs_pk primary key (student_reg, course_code, semester_season, semester_year);

16 Create the Fk & Pk constraints on Semester_course table
alter table semester_course add constraint doc_fk foreign key (doctor_no) references doctor (doctor_no); add constraint crs_fk foreign key (course_code) references course (course_code); add constraint sea_fk foreign key (semester_season, semester_year) references semester (semester_season, semester_year); add constraint sem_crs_pk primary key (course_code, semester_season, semester_year, doctor_no);

17 Step3: Form design Design the forms needed to input data into the different tables, according to the user preferences and design guide lines.

18


Download ppt "Information System Design “Student Registration System Example”"

Similar presentations


Ads by Google