About this class diagram for the online examination system

The class diagram for the online examination system describes the arrangement of components within a system meant for conducting exams, administering participants, and documenting the outcomes. The central point of the system is the user class, which are the entities that participate in the system.

It comprises the data variables user ID, username, email, password, role, and functions such as register(), login(), logout(), and update profile(). Individuals are also associated with other components of the system such as exams, results, etc.

The exam class takes care of all the details about an examination that has been set up on the system. It has the attributes exam ID, title, duration, start time, end time, and a question structure. These define the exam process. The methods exam(), add question(), start exam(), and end exam() create and conduct exams. They also help maintain order during the exam period.

The examiner class refers to people usually entrusted with the task of conducting the examination. These individuals are the ones who write, edit, and approve the examination material. The examiner has functions like creating exam(), review exam(), and manage questions(). They let them conduct the exam and manage the questions.

The question class holds the exam's details. It has data members: question ID, content, type, and marks. Questions are created, edited, deleted, or viewed by the use of the following methods create question(), edit question(), delete question(), and view question(). Every question is a part of an exam and is provided with an answer by the users.

The answer class refers to the remarks that the user provides in response to the tested questions. Each answer has an ID, a question ID, a user ID, a selected option, and a correct option as an attribute. Methods like submitting answers, editing answers, and viewing answers allow for user answers to be collected and kept in an ordered manner.

The class result governs the overall results of the tests by keeping track of the scores and comments of every user who attends these exams. Result class has methods to generate, view, and download results for every exam taken. It has attributes like result ID, exam ID, user ID, score, and feedback.

Get started with EdrawMax today

Create 210 types of diagrams online for free.

Start diagramming now