Top Banner
Curriculum Curriculum Database Database BY: Albert Fiorillo BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo
18

Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Dec 18, 2015

Download

Documents

Christal Mosley
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Curriculum Database Curriculum Database

BY: Albert FiorilloBY: Albert Fiorillo

Jagmohan GandhiJagmohan Gandhi

Tezir TurgutTezir Turgut

Winston CasalinuevoWinston Casalinuevo

Page 2: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

OUTLINEOUTLINEPurpose of DatabasePurpose of Database

FunctionsFunctions

Use Case DiagramsUse Case Diagrams1.1. Get Approval ChangesGet Approval Changes2.2. Changes for Classes.Changes for Classes.

EntityEntity Relationship DiagramRelationship Diagram

Database Relationship DiagramDatabase Relationship Diagram

Objects, Attributes, and QueriesObjects, Attributes, and Queries

Page 3: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Purpose of DatabasePurpose of Database

To support activities of the To support activities of the Curriculum Committee of the Curriculum Committee of the college and Curriculum college and Curriculum Committees of departments Committees of departments

Page 4: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

FUNCTIONSFUNCTIONS

Departments can support their local databases and export data to the college database

Build unique format of syllabi of courses in departments.

Track changes in curricula.

Produce required reports.

Export/Import data to and from other applications.

Page 5: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Use Case Diagram 1Use Case Diagram 1Get Approval ChangesGet Approval Changes

Page 6: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Use Case Diagram 2Use Case Diagram 2Changes for Classes ApprovedChanges for Classes Approved

Page 7: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Sequence Diagram 2Sequence Diagram 2Approved ChangeApproved Change

Page 8: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

COURSECOURSE

Course is the central object of the curriculum database. Course is the central object of the curriculum database. Different feature of the courses change over time. Different feature of the courses change over time. The Database must preserve the historical view of the course. The Database must preserve the historical view of the course. In case course is changed, database stores :In case course is changed, database stores :

1.1. Reason for the change.Reason for the change.2.2. Explanation of the change.Explanation of the change.3.3. Property that is changed (ex. Name, Requisites, Hours, Credit, Property that is changed (ex. Name, Requisites, Hours, Credit,

etc…).etc…).4.4. Date of the proposed change.Date of the proposed change.5.5. Date of actual change. Date of actual change.

Each course might have multiple changes over lifetime of the Each course might have multiple changes over lifetime of the course.course.Each version might have fallowing status:Each version might have fallowing status:

1.1. Active (Must have one.)Active (Must have one.)2.2. Inactive (Might have multiple.)Inactive (Might have multiple.)3.3. Submit for changes (Might have multiple)Submit for changes (Might have multiple)

Page 9: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

EntityEntity Relationship Diagram Relationship Diagram

Page 10: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Database Relationship DiagramDatabase Relationship Diagram

Page 11: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Objects & AttributesObjects & Attributes

COURSESCOURSES

Course CodeCourse Code

Course DescriptionCourse Description

Course ObjectiveCourse Objective

Course DepartmentCourse Department

Faculty In ChargeFaculty In Charge

Category IDCategory ID

DEPARTMENTDEPARTMENT

Department CodeDepartment Code

Department NameDepartment Name

TEXTBOOKTEXTBOOKISBN NumberISBN NumberTitleTitleEditionEditionAuthorAuthorPublisherPublisherYearYear

COURSE TEXT BOOKCOURSE TEXT BOOKIDIDCourseCourseTextbook TitleTextbook TitleNeed TypeNeed Type

Page 12: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Objects & AttributesObjects & Attributes

Course MajorCourse Major

IDID

Major DescriptionMajor Description

CourseCourse

Course TypeCourse Type

Major CategoryMajor Category

IDID

MajorMajor

Category of CourseCategory of Course

Number of CreditsNumber of Credits

CategoryCategory

Category IDCategory ID

Category DescriptionCategory Description

Page 13: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

Objects & AttributesObjects & Attributes

Course VersionCourse Version

Course CodeCourse Code

Course VersionCourse Version

Course NameCourse Name

Course Passing GradeCourse Passing Grade

Attendance PolicyAttendance Policy

Credits Credits

HoursHours

Change ReasonChange Reason

Purposed Change DatePurposed Change Date

Actual Change DateActual Change Date

Course StatusCourse Status

Course Requisite Course Requisite

IDID

CourseCourse

Course Co Prerequisite Course Co Prerequisite

Requisite TypeRequisite Type

Required GradeRequired Grade

MajorMajor

Major IDMajor ID

Major DescriptionMajor Description

Department NameDepartment Name

DegreeDegree

Page 14: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

CREATE TABLE tblMajor (MajorId INTEGER PRIMARY KEY, MajorDescription CHAR (50), DeptId CHAR (50),Degree CHAR (50), CONSTRAINT FKMajorDeptId FOREIGN KEY (DeptId) REFERENCES tblDepartments);

• Majors Table

Create Table SQLStatementsCreate Table SQLStatements

Page 15: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

CREATE TABLE tblCourse1 (Code INTEGER PRIMARY KEY, Description CHAR (50), Objective CHAR (50), FacultyIncharge CHAR (50), DeptId CHAR (50),CategoryID CHAR (50), CONSTRAINT FKCourseDeptId FOREIGN KEY (DeptId) REFERENCES tblDepartments, CONSTRAINT FKCourseCategoryID FOREIGN KEY (CategoryID) REFERENCES tblCategories);

• Course Table

Page 16: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

CREATE TABLE tblVersion (Code CHAR (50) PRIMARY KEY, Version INTEGER PRIMARY KEY, Name CHAR (50), PassingGrade CHAR (1), AttendencePolicy CHAR (50),Credits CHAR (50), Hours INTEGER, ChangedReason MEMO, PurposedChangeDate DATE, ActualChangeDate DATE, Status CHAR (50),CONSTRAINT FKVersionCourse FOREIGN KEY (Code) REFERENCES tblCourses);

• Version Table

Page 17: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

QUERIESQUERIES

Queries must be written to support the functionality Queries must be written to support the functionality of application:of application:

All information about courses which is currently active.All information about courses which is currently active.

All information about courses which is currently not All information about courses which is currently not active.active.

Text book, requisites, category or department of a Text book, requisites, category or department of a course.course.

Maximum version of the courses.Maximum version of the courses.

Page 18: Curriculum Database BY: Albert Fiorillo Jagmohan Gandhi Jagmohan Gandhi Tezir Turgut Tezir Turgut Winston Casalinuevo Winston Casalinuevo.

SELECT tblCourseVersions.Code, Max(tblCourseVersions.Version) AS MaxOfVersion FROM tblCourseVersions GROUP BY tblCourseVersions.Code;

• Selecting Maximum Course Version Query

SELECT [tblCourseVersions].[Code],[Version], [PassingGrade], [AttendencePolicy], [Credits],[Hours], [ChangeReson],[PurposedChangeDate], [ActualChangeDate], [Status] FROM tblCourseVersions WHERE ([Status])<>"Active")

• Selecting All Inactive Course Versions

SELECT tblCourseTextBooks.Code,ISBN_No, Title,.Edition,Author,Publisher, Year

FROM tblTextBooks INNER JOIN tblCourseTextBooks ON tblTextBooks.ISBN_No = tblCourseTextBooks.ISBN_No;

• Selecting Text Book for Courses

QueriesQueries