Adding Quizzes to your Tutorial

Authors: orcid logoAvatarHelena Rasche
  • How to make a quiz?

  • Create a quiz

Time estimation: 15 minutes
Supporting Materials:
Last modification: Oct 18, 2022
License: Tutorial Content is licensed under Creative Commons Attribution 4.0 International License The GTN Framework is licensed under MIT

Interactive quizzes can be used either alone, or with a classroom of students, to check student’s knowledge.


In this tutorial, we will cover:

  1. How it Works
  2. Quiz Format
  3. Folder Structure
  4. Inserting quizzes throughout a tutorial
  5. Default Location

How it Works

We developed a small Kahoot-like interface, where a teacher can initiate a quiz, students can join the teacher’s session (using PeerJS), and do a collaborative quiz.

Quiz Format

Each quiz starts a lot like the tutorials!

title: SQL Advanced Recap
- hexylena

Within the questions section we have a list of question

- title: How do you find the number of records in a query result?
    - count(name)
    - count(*)
    - sum(id)
    - max(id)
    - count(name)
    - count(*)
  timeout: 20
  type: choose-many

There are a few different types of questions:

  • choose-1, one correct answer
  • choose-many, potentially multiple correct answers
  • poll, there’s no right answer, just ask the students how they’re feeling!

You can include images in the main area, if you need some context for a question

- title: Which of these joins is NOT valid
  image: /training-material/topics/data-science/images/carpentries-sql/sql-join-structure.svg
    - Select * From P as P1 Join P as P2 on =
    - SELECT * From P Join Q Join V on = Q.person and Q.taken =
    - SELECT * From S join Q on and = Q.quant
    - SELECT * From S Join V on =
  correct: SELECT * From S join Q on and = Q.quant
  timeout: 60
  type: choose-1

Poll’s let you check in with students, how they’re feeling, or take their opinion on what they think.

- title: How are you feeling?
    - Great
    - Horrid
  timeout: 20
  type: poll
  live: true

The live key there allows polls to show the results “live” and let students change answers while the time runs.

Folder Structure

You place quizzes in a quiz subdirectory of your tutorial

├── quiz
│   └── a.yaml

Inserting quizzes throughout a tutorial

If you want to show a quiz at a specific place within a tutorial

{% include _includes/quiz.html id="a.yaml" %}

Quiz: Test Quiz

Check your knowledge with a quiz!

  • Self Study Mode - do the quiz at your own pace, to check your understanding.
  • Classroom Mode - do the quiz synchronously with a classroom of students.

And then it’s available!

Default Location

By default all quizzes are found at the bottom of the tutorial.

Key points
  • Quizzes are helpful for both self-directed learning, and ensuring that in synchronous classes, students are all following the material

Frequently Asked Questions

Have questions about this tutorial? Check out the FAQ page for the Contributing to the Galaxy Training Material topic to see if your question is listed there. If not, please ask your question on the GTN Gitter Channel or the Galaxy Help Forum


Check your understanding with these quizzes

Test Quiz

  • Self Study Mode - do the quiz at your own pace, to check your understanding.
  • Classroom Mode - do the quiz synchronously with a classroom of students.


Did you use this material as an instructor? Feel free to give us feedback on how it went.
Did you use this material as a learner or student? Click the form below to leave feedback.

Click here to load Google feedback frame

Citing this Tutorial

  1. Helena Rasche, Adding Quizzes to your Tutorial (Galaxy Training Materials). Online; accessed TODAY
  2. Batut et al., 2018 Community-Driven Data Analysis Training for Biology Cell Systems 10.1016/j.cels.2018.05.012

author = "Helena Rasche",
title = "Adding Quizzes to your Tutorial (Galaxy Training Materials)",
year = "",
month = "",
day = ""
url = "\url{}",
note = "[Online; accessed TODAY]"
    doi = {10.1016/j.cels.2018.05.012},
    url = {},
    year = 2018,
    month = {jun},
    publisher = {Elsevier {BV}},
    volume = {6},
    number = {6},
    pages = {752--758.e1},
    author = {B{\'{e}}r{\'{e}}nice Batut and Saskia Hiltemann and Andrea Bagnacani and Dannon Baker and Vivek Bhardwaj and Clemens Blank and Anthony Bretaudeau and Loraine Brillet-Gu{\'{e}}guen and Martin {\v{C}}ech and John Chilton and Dave Clements and Olivia Doppelt-Azeroual and Anika Erxleben and Mallory Ann Freeberg and Simon Gladman and Youri Hoogstrate and Hans-Rudolf Hotz and Torsten Houwaart and Pratik Jagtap and Delphine Larivi{\`{e}}re and Gildas Le Corguill{\'{e}} and Thomas Manke and Fabien Mareuil and Fidel Ram{\'{\i}}rez and Devon Ryan and Florian Christoph Sigloch and Nicola Soranzo and Joachim Wolff and Pavankumar Videm and Markus Wolfien and Aisanjiang Wubuli and Dilmurat Yusuf and James Taylor and Rolf Backofen and Anton Nekrutenko and Björn Grüning},
    title = {Community-Driven Data Analysis Training for Biology},
    journal = {Cell Systems}

Congratulations on successfully completing this tutorial!
Developing GTN training material
This tutorial is part of a series to develop GTN training material, feel free to also look at:
  1. Overview of the Galaxy Training Material
  2. Adding auto-generated video to your slides
  3. Adding Quizzes to your Tutorial
  4. Contributing with GitHub via command-line
  5. Contributing with GitHub via its interface
  6. Creating a new tutorial
  7. Creating content in Markdown
  8. Creating Interactive Galaxy Tours
  9. Creating Slides
  10. Design and plan session, course, materials
  11. Generating PDF artefacts of the website
  12. GTN Metadata
  13. Including a new topic
  14. Principles of learning and how they apply to training and teaching
  15. Running the GTN website locally
  16. Running the GTN website online using GitPod
  17. Teaching Python
  18. Tools, Data, and Workflows for tutorials
  19. Updating diffs in admin training