CS102/enrolment
Report
enrolment›docs›REPORTS.md

REPORTS.md· admin options 12 and 13

Reports & statistics

Two console reports for administrators, both computed from each course's enrolledStudents list. The output below is what they print for the sample data.

option 12

Enrollment statistics#

Admin option 12 calls dataManager.viewEnrollmentStatistics(): one line per course, a running total, and whether any course is open.

admin › 12---------Enrollment Statistics---------
Course: Programming II (CS102) - Enrolled: 2
Course: Discrete Mathematics (MATH201) - Enrolled: 1
Course: Data Structures (CS210) - Enrolled: 0
Course: Technical Writing (ENG101) - Enrolled: 1
Course: Physics I (PHYS101) - Enrolled: 2
Total enrolled students across all courses: 6
Open courses available: Yes

Seats taken / capacity

  • CS102 Programming II2/30 · Open
  • MATH201 Discrete Mathematics1/25 · Open
  • CS210 Data Structures0/20 · Open
  • ENG101 Technical Writing1/20 · Closed
  • PHYS101 Physics I2/2 · Open

Limitations#

  • Console text only: no charts and no file export
  • No history and no comparison across semesters
  • Dropped students are still counted, because dropping does not update the roster