HomeDFD examples › Student Management System

DFD for Student Management System

Context diagram and Level 1 DFD for a student management system, explained step by step, and ready to edit in the browser.

A student management system (SMS) handles admissions, fees, attendance, marks and results for a school or college. It's a great DFD topic because every user role (student, teacher, parent) is easy to identify.

Below you'll find the context diagram (Level 0) and the Level 1 DFD, with every entity, process, data store and data flow explained. Open either one in the editor to change it for your own project.

Context diagram (Level 0)

Context diagram (Level 0 DFD) for Student Management System

Context diagram for the student management system: the whole system as process 0, with its external entities.

External entities

  • Student: Submits the admission form and fees, and receives an enrolment number, fee receipts and results.
  • Teacher: Receives class lists and enters attendance and marks.
  • Parent: Receives the student's progress report.

Data flows in the context diagram

FromToData flow
Student0 Student Management SystemAdmission & fee details
0 Student Management SystemStudentEnrolment no., receipts & results
Teacher0 Student Management SystemAttendance & marks
0 Student Management SystemTeacherClass list
0 Student Management SystemParentProgress report

Level 1 DFD

Level 1 DFD for Student Management System

Level 1 DFD: process 0 broken into its main processes, with the data stores they use.

Processes

ProcessWhat it does
1.0 AdmissionSaves the admission form as a student record and issues an enrolment number.
2.0 Fee PaymentChecks the fee due, records the payment and issues a receipt.
3.0 Record AttendanceSends the class list to the teacher and saves attendance.
4.0 Enter MarksSaves the marks entered by the teacher.
5.0 Generate ResultsUses attendance, marks and fee clearance to produce results and progress reports.

Data stores

  • D1 Students: Student profiles and enrolment details.
  • D2 Fees: Fee payments and dues.
  • D3 Attendance & Marks: Attendance and exam marks for each student.

All data flows in the Level 1 DFD

FromToData flow
Student1.0 AdmissionAdmission form
1.0 AdmissionD1 StudentsStudent record
1.0 AdmissionStudentEnrolment number
Student2.0 Fee PaymentFee payment
D1 Students2.0 Fee PaymentFee due
2.0 Fee PaymentD2 FeesFee record
2.0 Fee PaymentStudentFee receipt
Teacher3.0 Record AttendanceAttendance
3.0 Record AttendanceD3 Attendance & MarksAttendance record
Teacher4.0 Enter MarksMarks
4.0 Enter MarksD3 Attendance & MarksMarks record
D3 Attendance & Marks5.0 Generate ResultsAttendance & marks
D2 Fees5.0 Generate ResultsFee clearance
5.0 Generate ResultsStudentResult
5.0 Generate ResultsParentProgress report
D1 Students3.0 Record AttendanceClass list
3.0 Record AttendanceTeacherClass list

Is it balanced?

Yes. Every external entity in the context diagram also appears in the Level 1 DFD, and the data going in and out matches. For example, the flows to and from Student in the context diagram are split into more specific flows on Level 1. Both diagrams also pass DrawDFD's rule checker, with no black holes, miracles or unused data stores.

Tips for your project

  • Timetable, library and hostel modules are common additions. Add them as new processes rather than making one huge process.
  • Keep “Generate Results” as one process at Level 1. Its calculation steps belong in a Level 2 DFD.
Level 2: pick the most complex Level 1 process and draw its steps on a new diagram, numbered like 2.1, 2.2, 2.3. Use a System boundary shape labelled with the parent process. How to draw a Level 2 DFD →

More DFD examples

Ready to draw your DFD?

Open the free editor. No sign-up, and you can start from any example.

Open DrawDFD