Instruqt Docs
  • 🚩Getting started
    • Overview
    • Setting up
      • Study Room
    • Quickstart
  • 🛤️Tracks
    • Manage tracks
      • Create tracks
      • Edit locally
      • Test tracks
      • Track logs
      • Track time limits
      • Track feedback
      • Developer workflow
      • Track tags
      • Track authors
      • Delete tracks
      • Custom layouts
      • Version control
      • Loading experience
    • Challenges
      • Create challenges
      • Challenge tabs
      • Challenge order
      • Skip challenges
      • Add quizzes
      • Assignment display
      • Assignment editor
    • Share tracks
      • Live Events
        • Instructor tools
      • Track invites
      • Embed tracks
      • Landing pages
  • 🏖️Sandboxes
    • Overview
    • Sandbox hosts
      • Add hosts
      • Custom VM images
      • Custom container images
      • Public images
      • Windows VMs
      • Website service
      • SSL certificates
    • Cloud accounts
      • Securing your cloud accounts
      • Cloud Client
      • AWS accounts
        • AWS Environment Variables
        • AWS Managed Policies
        • AWS IAM Policies
        • AWS SCP Policies
      • Azure subscriptions
        • Azure Environment Variables
        • Azure Roles
        • Azure Resource Providers
      • GCP projects
        • GCP Environment Variables
        • GCP IAM Permissions
    • Lifecycle scripts
      • Scripting overview
      • Track scripts
      • Challenge scripts
      • Example scripts
      • Helper scripts
    • UI Checks
    • Global Sandbox Settings
      • Hot start
      • Sandbox presets
      • Custom resources
      • Cloud services and regions
        • Allowed services and regions
    • Secrets and variables
      • Runtime variables
      • Runtime parameters
      • Secrets
  • ⚙️Settings
    • Integrations
      • Salesforce (Beta)
      • HubSpot (Beta)
      • HubSpot (Using zapier)
      • LTI
      • Version control
        • GitHub
    • Authentication
      • SSO
      • API keys
    • Platform
      • API
      • Webhooks
      • Track limits
  • 💡Reference
    • Feature overview
    • Instruqt CLI
      • Commands
      • Configuration files
      • Assets
    • Instruqt platform
      • Networking
      • Host machine types
      • Quotas and limits
      • Roles and permissions
      • Network access
      • Requirements
  • 🛟Resources
    • Content design tips
    • Advanced use cases
    • Templates
    • FAQ
      • Running Windows Client Hosts on Instruqt
      • Using Cleanup Scripts in SaaS and Cloud Environments
      • Instruqt Regional Configurations and Restrictions
      • Troubleshooting Instruqt CLI Authentication Issues
      • Copy a Track from One Organization to Another via CLI
      • Network Configuration: IP and MAC Address Control
      • Container Troubleshooting in Instruqt
Powered by GitBook
On this page
  • Before you begin
  • Add a quiz challenge

Was this helpful?

Edit on GitHub
  1. Tracks
  2. Challenges

Add quizzes

Check your learners knowledge with a multiple choice question

Before you begin

A quiz is a multiple-choice question learners must answer during a track before proceeding to the next challenge. Each quiz needs at least two possible answers. You can assign one or more answers as correct. Each challenge supports only one quiz. To add additional quizzes, create a separate challenge for each one.

Note: The solution field uses zero-based indexing, meaning 0 refers to the first choice.

Add a quiz challenge

You can add a quizzes using the Web UI or the Instruqt CLI.

  1. Click the track you want to add a quiz to.

  2. In the Challenges section, click Add new and select Multiple choice from the dropdown.

  3. Provide a Name, URL, and Description for the challenge.

  4. Click Save.

  5. In the Quiz tab, input a question in the Editor.

  6. Click Add answer as many times as needed to generate possible choices

  7. Click the This is a correct answer checkbox beside all correct choices

  8. Click Save changes.

  1. Change into the track directory you want to add a quiz to:

    cd <track-directory>
  2. Add a challenge to the track:

    instruqt challenge create --title "Example quiz title"
  3. Open the assignment.md file of the newly created challenge and replace its content with the following (modify as needed):

    ---
    slug: example-quiz-title
    type: quiz
    title: Example quiz title
    teaser: Example quiz
    answers:
    - 42
    - Sun
    - Instruqt
    solution:
    - 0
    difficulty: basic
    timelimit: 600
    ---
    What is the answer to the universe?
  4. Save the assignment.md file and push the changes to Instruqt:

  5. instruqt track push
PreviousSkip challengesNextAssignment display

Last updated 1 day ago

Was this helpful?

🛤️