The Sanskrit vs. Hindi Struggle: Tracking Optional Subjects
"In the Indian board system (SSC, CBSE, or ICSE), the 8th to 10th-standard 'Optional Subject' is a logistics nightmare. You have 100 students in a Standard, but 60 take Hindi and 40 take Sanskrit. If your software just tags them all as '10th Standard,' your attendance is going to be a mess."
Stop the 'Standard' Generalization
You don't just add a student to a class; you link them directly to a Subject. The secret lies in explicit Enrollment logic.
The 'isOptional' Switch
Our system uses a dedicated Enrollment table. By explicitly marking a subject like Sanskrit as optional, the student only appears on the lists they actually belong to, rather than crowding the master database.
Automated Exam Lists
When itβs time for an offline test, the system doesn't just print a generic list of every 10th-grade student. It cross-references the Enrollment schema so your Sanskrit teacher only gets the 40 students who actually opted for the subject.
The Bottom Line
When you fix the enrollment logic, you stop the 'Sir, my name isn't on the list' interruptions during the exam. It makes your classes look professional and your teachers feel respected.