
π Student Projects (College Reports) Β· Database ERD
Database for marks, attendance and results: students, subjects, semesters, marks and attendance records.
Drawing diagramβ¦
ER diagram for a student result management system: Department, Student (belongs to a department), Teacher, Subject (taught by a teacher, with credits), Semester, Enrolment (a student in a subject in a semester), Mark (per enrolment and assessment type), Attendance (per enrolment and date) and SemesterResult (SGPA and CGPA for a student and semester).
erDiagram
DEPARTMENT ||--o{ STUDENT : has
TEACHER ||--o{ SUBJECT : teaches
STUDENT ||--o{ ENROLMENT : takes
SUBJECT ||--o{ ENROLMENT : "taken in"
SEMESTER ||--o{ ENROLMENT : during
ENROLMENT ||--o{ MARK : scores
ENROLMENT ||--o{ ATTENDANCE : records
STUDENT ||--o{ SEMESTER_RESULT : receives
SEMESTER ||--o{ SEMESTER_RESULT : "results of"
DEPARTMENT {
int dept_id PK
string name
}
STUDENT {
int student_id PK
int dept_id FK
string roll_no
string name
}
TEACHER {
int teacher_id PK
string name
}
SUBJECT {
string subject_code PK
int teacher_id FK
string title
int credits
}
SEMESTER {
int semester_id PK
string term
int year
}
ENROLMENT {
int enrolment_id PK
int student_id FK
string subject_code FK
int semester_id FK
}
MARK {
int mark_id PK
int enrolment_id FK
string assessment
decimal marks
}
ATTENDANCE {
int attendance_id PK
int enrolment_id FK
date class_date
boolean present
}
SEMESTER_RESULT {
int result_id PK
int student_id FK
int semester_id FK
decimal sgpa
decimal cgpa
}Who uses a college library system and what each of them can do: members, the librarian and the system administrator.
The database of a library system: books and their copies, authors, members, loans, reservations and fines, with keys and cardinality.
How data moves through a library system: members and the librarian, the main processes, and the data stores they read and write.
The main classes of a library system with attributes, methods and UML relationships.
The steps when a member borrows a book: checks, loan record and the copy status update.
What students, examiners and the administrator do in an online examination system.