Assessment Quiz — Scored Knowledge Tests
An assessment quiz evaluates knowledge or readiness. quiz-ui provides the question components — choice, slider, rating, text — and the engine collects answers. In your onComplete callback, compute a score, determine pass/fail, and display the result. For certification, generate a PDF or trigger a server action.
Last updated: 2026-09-25
Frequently asked questions
How do I calculate a score?
In onComplete, iterate over answers and sum point values. quiz-ui doesn't enforce a scoring model — you define it.
Can I show correct/incorrect feedback per question?
Not natively. quiz-ui focuses on the question flow, not answer grading. Add feedback in a custom step or on the result screen.
Can I time the assessment?
Add your own timer logic. quiz-ui doesn't include a timer — but it doesn't prevent one either.