> ## Documentation Index
> Fetch the complete documentation index at: https://docs.snagsolutions.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Answer a Quiz

> This recipe explains the concept of a quiz rule, how to configure it with Snag and how to issue rewards to your users.

<head>
  <script type="application/ld+json">
    {JSON.stringify({
            "@context": "https://schema.org",
            "@type": "TechArticle",
            "headline": "Answer a Quiz",
            "description": "This recipe explains the concept of a quiz rule, how to configure it with Snag and how to issue rewards to your users.",
            "author": {"@type": "Organization", "name": "Snag Solutions", "url": "https://www.snagsolutions.io/"},
            "publisher": {"@type": "Organization", "name": "Snag Solutions", "url": "https://www.snagsolutions.io/", "logo": {"@type": "ImageObject", "url": "https://assets.snagsolutions.io/public/docs/snag-logo-dark-no-bg.svg"}},
            "mainEntityOfPage": "https://docs.snagsolutions.io/loyalty/rules/quiz"
          })}
  </script>
</head>

## **Overview**

This loyalty rule allows admins to reward users based on the completion of a quiz.

<Frame>
  ![Snag admin answer a quiz rule configuration form](https://assets.snagsolutions.io/public/docs/rules/quiz.png)
</Frame>

## **Rule Configuration Fields**

### **Reward**

* **Type of Reward**: Choose between "Points" or "Multiplier".

* **Points**: Users will get the defined no of points.

* **Multiplier**: Users will get the multiplier of the defined amount.

### **Basic Settings**

* **Update Cadence**: The Quiz rule rewards users **immediately** upon successful completion of the quiz.
* **User Reward Frequency**: This is a one-time reward that users can claim after completing the quiz.

### **Custom Settings**

* Skip the multiplier for this rule
* **Question**: This is the question that will be asked to the user.
* **Answers**: This is the list of options that will be shown to the user.
  * **Correct Answer**: This checkbox lets you define the correct answer to the question.
* **Allow multiple attempts**: This is a boolean that allows the user to attempt the quiz multiple times.

## **Downloading Responses**

You can download all quiz responses as a CSV file. This feature is available for quiz rules with any reward type (points, multiplier, or badge).

The CSV file includes the following columns:

* **walletAddress**: The wallet address of the user who completed the quiz
* **questionText**: The question that was asked
* **selectedChoiceText**: The answer choice the user selected
* **isCorrect**: Whether the selected answer was correct (true/false)
* **createdAt**: The timestamp when the user completed the quiz

To download responses, navigate to the quiz rule in your admin dashboard and click the download button. The CSV file will be generated and made available for download.
