Use case diagram

Usecase diagram

Figure1.

Sequencediagram

Figure2. Sequence diagram

Activity diagrams

Figure3. Student login activity diagram

Figure4. Enter marks activity diagram

Figure5. Register students activity diagram

Use-case specification

Use Case: Register Students

Brief description

The use case describes the case students are registered with the Examination Unit system.

Pre-condition

The system is not logged in

Actors basic flow

  • The use case starts when the administrator (actor) logs into the system

  • The actor enters student details

  • The system validates students information

  • The system creates a new account of the student

Alternative flow

  • If the administrator enters invalid information the system displays an error message

Exception flow

  • If the administrator enters information for a student that is already registered, the system displays an exception

Post condition

If the use case is successful, a new student’s account is created and the student can login into the system. Otherwise the state of the system remains unchanged.

Use Case: Manage students account

Brief description

This use case describe how the administrator maintains students’ records such deleting.

Pre-condition

The administrator must login

Actors basic flow

  • The use case starts when the administrator (actor) wants to delete a student’s record.

  • The actor must specify the account to delete

  • Upon locating the account, the actor can delete it

Alternative flow

None

Exception flow

The system was unable to delete the account due to a server error.

Post condition

The account is deleted successful

Use Case: Students Login

Brief description

This use case describes how students login into the Examination Unit System

Pre-condition

The system displays a login screen

Actors basic flow

This use case starts when the student (actor) wants to login into the Examination Unit System

Alternative flow

If the student enters an invalid username or password, the system displays an error message. The actor can decide to either return to the start of the use case or cancel the login, hence terminates the use case.

Exception flow

None

Post condition

If the use case is successful, the students is logged in. otherwise, the system is unchanged.

Use Case: View results

Brief description

This uses case describes how students view results

Pre-condition

Student must be logged in

Actors basic flow

This use case starts when the student (actor) is logged in the system.

The actor selects the course to view results

Alternative flow

If the marks have not yet been submitted buy instructors, the student is unable to view the results.

Exception flow

None

Post condition

The students view results

Use Case: Enter marks

Brief description

This use case describe how instructors enter student’s marks.

Pre-condition

The instructor must login

Actors basic flow

This use case starts when the instructor (actor) is logged in

The instructor selects a student to enter marks from a list of registered students.

The instructor enters the students marks

Alternative flow

If the student is in the barred list, the actor cannot enter marks.

Exception flow

If the actor enters invalid marks, the system goes back to the start of the use case.

Post condition

If the student is not in the barred list, the marks are saved. Otherwise, the system remains unchanged.