# Build an anti-cheating quiz

> Give each learner their own random questions, shuffle answers, set a pass mark and attempts, and add a deadline.

Source: https://support.teachfloor.com/articles/anti-cheating-quiz  
Collection: Video Guides  
Last updated: 2026-11-29

Video: https://www.youtube.com/watch?v=lj2VE9OKaNE

A quiz only proves something if it's hard to game. With a Multiple Choice Quiz in Teachfloor you can give each learner different questions in a different order, set a real pass mark, limit attempts, make the quiz count only when it's passed, and add a deadline. This guide covers:

- the questions;
- randomizing questions and answers;
- the passing score and attempts;
- the deadline and reminders;
- what learners see, and where you find the scores.

> **Note:** The example quiz is the _Safety knowledge check_ in _Warehouse Safety Compliance 2027_, for the fictional company Northwind Logistics. The academy calls its courses "Trainings".

## Write the questions

### Write a bigger question pool

Add a **Multiple Choice Quiz** to the course and open its questions. Write each question with its answers and tick the correct ones, or generate questions with AI. You can also [import questions from a CSV file](https://support.teachfloor.com/articles/import-quiz-questions-csv). Write more questions than each learner will see: here, ten.

![The questions](https://cdn.sanity.io/images/l9t3o6uq/production/ae1e7e98a6f27ee90dbc7ad821606e3405cfafc6-1600x900.jpg)

## Randomize questions and answers

### Random questions, and a subset for each learner

In the questions editor, click **"Options"** and turn on **"Randomize Questions"** and **"Show subset of questions"**, then set **"Number of questions per student"**. Here every learner gets 8 of the 10 questions, in a different order, so sharing answers stops working.

![Randomize Questions and the subset](https://cdn.sanity.io/images/l9t3o6uq/production/b6ae4c2aba5dd81cf1e5c24f57f8cba83646e684-1600x900.jpg)

### Shuffle the answers

Turn on **"Randomize answers"** on the questions, so the answers appear in a different order too.

![Randomize answers](https://cdn.sanity.io/images/l9t3o6uq/production/99d58f54da4516b4ab45b42a9bb3f7cbc5dc05db-1600x900.jpg)

## Pass mark and attempts

### Passing Score

Back in the quiz settings (**"Edit"**), set **"Passing Score (%)"**, here 80%. The default is 100%.

![Passing Score](https://cdn.sanity.io/images/l9t3o6uq/production/897a3c2c64a6cb0b6088a6175f24358093d1d223-1600x900.jpg)

### Maximum Attempts

**"Maximum Attempts"** limits the retries (empty means unlimited). Someone who passes can't retake the quiz.

### Count it only when it's passed

Set **"Mark as Completed"** to **"On Quiz Pass"**. The quiz, and every activity that requires it, counts only when the learner passes. With "On Quiz Submit" it would count as soon as it's submitted.

![Maximum Attempts and Mark as Completed](https://cdn.sanity.io/images/l9t3o6uq/production/06f09d2d492de6a1eb3e56256c7bcefd4949648b-1600x900.jpg)

## Deadline and reminders

### Deadline

Add a **"Deadline"** and **reminders** (for example one day and one hour before). Reminders go only to learners who haven't completed the quiz yet. For them to be sent, **"Element Reminder"** must be on in **Settings → Notifications**.

![Deadline and reminders](https://cdn.sanity.io/images/l9t3o6uq/production/8a1e1daaaf86990255b692a0856aee1c46475d23-1600x900.jpg)

Other options in the same settings:

- **"Validate"**: show the results **"At the end"**, or give feedback after each question with **"On each step"**.
- **"Hide Results"**: hide the pass or fail status from learners after they submit.

## What learners see

### Their own questions

Each learner gets their own set of questions, one at a time, in their own order.

![A question, as the learner sees it](https://cdn.sanity.io/images/l9t3o6uq/production/37d5e39bab1a5c2f2ec9dde1d41aab917214ea05-1600x900.jpg)

### The result

At the end they see their result and whether they passed.

![The result](https://cdn.sanity.io/images/l9t3o6uq/production/1b9b89045663e9dee496a77b8905677dec5fe6a9-1600x900.jpg)

### Scores in Progress

In the course's **Progress** tab you see every learner's status; the **Score** view shows the quiz scores.

![Progress tab in Score view with each learner's quiz and activity scores](https://cdn.sanity.io/images/l9t3o6uq/production/4be5ea4c16b17b09daf9bc79b782e1d1400716b9-1600x900.jpg)

## Good to know

- To make the quiz a gate, make the next activity or the certificate require it (see [Set up course prerequisites](https://support.teachfloor.com/articles/course-prerequisites)).
- For open answers marked by AI, use a [Form activity](https://support.teachfloor.com/articles/form-activity) with AI grading instead of a quiz.
