Quizzes.Next: Allow variables in most quiz question types

Idea created by Barry Brown on Apr 14, 2019
    Open for Voting
    Score6
    • Rob Ditto
    • Eric Werth
    • Kelley L. Meeusen
    • Barry Brown
    • Jeffrey Brady
    • Craig Ogden

    My idea is to add variables to some of the quiz question types. All too often I want to provide a template quiz question with placeholders (or variables) to provide some variation. The current way I do this is to create several nearly identical questions and put them into a question group. However, this is very hard to maintain; if I need to change the wording, I have to edit a bunch of questions.

     

    This template functionality is already seen in formula questions, but rather than the system generating random values for the variables, the user can upload (or type in) the values and the answers. 

     

    Here's a simple example of a fill-in-the-blank template:

     

    What is the capital of [state]?

     

    Then I could fill in a table with the variables and answer:

     

    stateanswer
    CaliforniaSacramento
    NevadaCarson City
    UtahSalt Lake City
    OregonSalem

     

    There could be template question types for each of the different answer types: text answers, numeric answers, and pattern-matching answers.

     

    This would be great for STEM teachers who need to produce questions with answers that have no simple formula:

     

    What is the mass, in grams, of [moles] moles of [compound]?

     

    molescompoundanswer
    1.0H2O18
    0.5C6H12O690
    2.0H2SO4196
    1.0CO244

     

    I was thinking the user could either type in the values directly using a table similar to the existing formula question, or the values could come from an uploaded Excel or CSV file. By using a file, the user could generate the variations using formulas in Excel or a user-written computer program.

     

    Edit: changed chemistry example to include multiple variables.