How kiapham52-pixel/laptrinhmang works
DAU Online Exam is a desktop client/server exam-management application. Users log in through the Tkinter client, which sends framed JSON requests over TCP; the server dispatches actions to domain services, which access SQLite. Student workflows include taking exams and viewing results; administrators manage students, questions, subjects, exams, and rooms, and review results and statistics. The README is only a brief project description, so capabilities and relationships are primarily grounded in the supplied source excerpts and SOURCE INDEX; unsampled details are not inferred.
Main entry points: admin_dashboard.py Admin dashboard · client_handler.py Action dispatcher · database.py SQLite database · main.py Login and routing
Components 23
Desktop client
- Login and routing
DAU_Online_Exam/client/main.py - Socket client
DAU_Online_Exam/client/network/socket_client.py - Admin dashboard
DAU_Online_Exam/client/screens/admin_dashboard.py - Student dashboard
DAU_Online_Exam/client/screens/student_dashboard.py - Exam taking
DAU_Online_Exam/client/screens/exam_screen.py - Student management
DAU_Online_Exam/client/screens/student_manager.py - Question management
DAU_Online_Exam/client/screens/question_manager.py - Room management
DAU_Online_Exam/client/screens/room_manager.py - Result management
DAU_Online_Exam/client/screens/result_management.py - Subject management
DAU_Online_Exam/client/screens/subject_manager.py - Statistics view
DAU_Online_Exam/client/screens/statistics_screen.py
Request handling
- JSON framing
DAU_Online_Exam/shared/protocol.py - TCP server
DAU_Online_Exam/server/server.py - Action dispatcher
DAU_Online_Exam/server/client_handler.py
Exam services
- Authentication
DAU_Online_Exam/server/services/auth_service.py - Exam lifecycle
DAU_Online_Exam/server/services/exam_service.py - Question catalog
DAU_Online_Exam/server/services/question_service.py - Exam rooms
DAU_Online_Exam/server/services/room_service.py - Results and statistics
DAU_Online_Exam/server/services/result_service.py - Subjects
DAU_Online_Exam/server/services/subject_service.py
Persistence
- SQLite database
DAU_Online_Exam/database/database.py
Other components
- Students
- Administrators
Connections 29
- Students → Login and routing: log in
DAU_Online_Exam/client/main.py - Administrators → Login and routing: log in
DAU_Online_Exam/client/main.py - Login and routing → Socket client: creates client
DAU_Online_Exam/client/main.py - Login and routing → Admin dashboard: opens admin view
DAU_Online_Exam/client/main.py - Login and routing → Student dashboard: opens student view
DAU_Online_Exam/client/main.py - Admin dashboard → Room management: opens rooms
DAU_Online_Exam/client/screens/admin_dashboard.py - Admin dashboard → Student management: opens students
DAU_Online_Exam/client/screens/admin_dashboard.py - Admin dashboard → Question management: opens questions
DAU_Online_Exam/client/screens/admin_dashboard.py - Admin dashboard → Exam taking: opens exams
DAU_Online_Exam/client/screens/admin_dashboard.py - Admin dashboard → Subject management: opens subjects
DAU_Online_Exam/client/screens/admin_dashboard.py - Admin dashboard → Result management: opens results
DAU_Online_Exam/client/screens/admin_dashboard.py - Admin dashboard → Statistics view: opens statistics
DAU_Online_Exam/client/screens/admin_dashboard.py - Student dashboard → Exam taking: opens exam
DAU_Online_Exam/client/screens/student_dashboard.py - Socket client → JSON framing: frames requests
DAU_Online_Exam/client/network/socket_client.py - TCP server → Action dispatcher: creates handler
DAU_Online_Exam/server/server.py - Action dispatcher → JSON framing: receives and sends
DAU_Online_Exam/server/client_handler.py - Action dispatcher → Authentication: dispatches auth
DAU_Online_Exam/server/client_handler.py - Action dispatcher → Exam lifecycle: dispatches exams
DAU_Online_Exam/server/client_handler.py - Action dispatcher → Question catalog: dispatches questions
DAU_Online_Exam/server/client_handler.py - Action dispatcher → Exam rooms: dispatches rooms
DAU_Online_Exam/server/client_handler.py - Action dispatcher → Results and statistics: dispatches results
DAU_Online_Exam/server/client_handler.py - Action dispatcher → Subjects: dispatches subjects
DAU_Online_Exam/server/client_handler.py - Authentication → SQLite database: reads and writes
DAU_Online_Exam/server/services/auth_service.py - Exam lifecycle → SQLite database: reads and writes
DAU_Online_Exam/server/services/exam_service.py - Question catalog → SQLite database: reads and writes
DAU_Online_Exam/server/services/question_service.py - Exam rooms → SQLite database: reads and writes
DAU_Online_Exam/server/services/room_service.py - Results and statistics → SQLite database: reads and writes
DAU_Online_Exam/server/services/result_service.py - Subjects → SQLite database: reads and writes
DAU_Online_Exam/server/services/subject_service.py - TCP server → SQLite database: initializes and seeds
DAU_Online_Exam/server/server.py