- 2071 Magh · 6 marks
Math Training Institute use case diagram
Short answer
Actors: User (generalized to Student and Teacher). Use cases: Register, Login, Change Password, View Scores (include Login), Request Exercises, Take Test (includes Measure Time), Define/Delete Exercise Type, Delete Student. Student can request exercises of teacher's types; Teacher manages own types and assigned students.
Base on the case study given below draw the Use case diagram. A Math Training Institute (MTI) aids in perfecting the mental arithmetic of elementary school students. Math training institute poses each student ten random arithmetical exercises, which should be solved as fast and correct as possible. From the responses, scores are collected which can be viewed by the users of MTI. Teachers can define types of exercises by determining numerical ranges and allowed mathematical operations. They can also delete types which were defined by themselves. Students are assigned to their teacher and can request exercises for an exercise type of their teacher. New teachers and students are able to apply as new Math Training Institute (MTI) users themselves by specifying username and password - this is done in the context of the usual user identification. The password can be changed anytime. Teachers can delete the students which are assigned to them. During the realization of a test (ten exercises) the time needed for each exercise is stopped. However, the scores are based on the cumulative time.
Actors: Student and Teacher (both are specialisations of a general actor User).
Use cases
- User: Register as New User (by username and password), Login (user identification), Change Password, View Scores (a student sees his or her own scores; a teacher sees the scores of the assigned students).
- Student: Request Exercises (choose an exercise type of his or her own teacher), Take Test (ten exercises, time measured for each).
- Teacher: Define Exercise Type (numerical range and allowed operations), Delete Exercise Type (only own types), Delete Student (only assigned students).
+----------------------------------------+
| Math Training Institute |
[User] ---------|-( Register as New User ) |
[User] ---------|-( Login ) |
[User] ---------|-( Change Password )--include-->( Login )
[User] ---------|-( View Scores )-----include-->( Login )
| |
[Student] ------|-( Request Exercises ) |
[Student] ------|-( Take Test ) |
| |include |
| v |
| ( Measure Time ) |
| |
[Teacher] ------|-( Define Exercise Type ) |
[Teacher] ------|-( Delete Exercise Type ) |
[Teacher] ------|-( Delete Student ) |
+----------------------------------------+
Student --|> User Teacher --|> User
Relationships
StudentandTeacherinherit fromUser(generalization), so both can log in, change the password and view scores.Change PasswordandView ScoresincludeLogin(user identification). The same holds for the student and teacher use cases, but those arrows are left out to keep the diagram readable.Take TestincludesMeasure Time: the time needed for each exercise is stopped, and the score is based on the cumulative time.Request Exercisesis followed byTake Test(ten random exercises of the chosen type).Delete Exercise Typeapplies only to types the teacher defined himself or herself, andDelete Studentonly to assigned students (shown as notes or conditions).
✓ Answer checked by Claude Sonnet 5.5
Related questions
- Student course department class diagram · Object Oriented Analysis and Design, chapter 2
- Coffee vending machine use case diagram · Object Oriented Analysis and Design, chapter 2
- Collaboration and use case diagram case · Object Oriented Analysis and Design, chapter 2
- Importance of use case diagram · Object Oriented Analysis and Design, chapter 2
- XYZ Marina class diagram · Object Oriented Analysis and Design, chapter 2
- Event management system summary and class diagram · Object Oriented Analysis and Design, chapter 2
- Preliminary estimate: school for 600 students · Estimating and Costing, chapter 3
- CI: weekly study hours of students · Probability and Statistics, chapter 6
- Pass student array; display passed students · Computer Programming, chapter 7
- Case study: current control and recommendation · Instrumentation II, chapter 10 · asked 3×
All Object Oriented Analysis and Design chapter 2 questions →