A grading component evaluates a completed test and returns an assessment result, such as a score. In a practice-test application, it turns a user’s submitted answers into a clear outcome at the end of the test. section 3.6 section 3.7.1
It belongs in the system as a distinct responsibility rather than being confused with question storage, question selection, or the user interface. The question pool supplies questions, options, and correct answers; the interface collects the test-taking interaction; grading provides the result. section 3.6 section 3.7.1
For a multiple-choice practice test, the surrounding design needs to make available:
- A question pool containing question text, possible options, and the correct option. section 3.6
- A completed test to grade after the user has answered its questions. section 3.6
- A way to present the resulting score through the user interface. section 3.6
HAM radio practice test
A user completes a randomly assembled practice test. The grading component grades the completed test and provides a score, while the question selector and question pool handle choosing and storing the questions separately. section 3.6 section 3.7.1
Keep the component’s boundary simple, but validate the data it depends on. If questions, options, or answers change, the question pool needs reliable updates, validation, and cleansing so grading is based on accurate answer data. section 3.6
