Skip to content

Instantly share code, notes, and snippets.

@benjaminadk
Created November 5, 2018 23:24
Show Gist options
  • Save benjaminadk/753be36f5dd1f1387be05f271f30f614 to your computer and use it in GitHub Desktop.
Save benjaminadk/753be36f5dd1f1387be05f271f30f614 to your computer and use it in GitHub Desktop.
Exam Simulator - Example Question
{
variant: 1, // variant 1 for multiple-answer
question: [ // variant 1 for small text
{variant: 1, text: "Which two characters are convicted for the murder of Teresa Halbach?"}
],
choices: [ // sequential labels
{label: "A", text: "Earl Avery"},
{label: "B", text: "Chuck Avery"},
{label: "C", text: "Steve Avery"},
{label: "D", text: "Bobby Dassey"},
{label: "E", text: "Brendan Dassey"}
],
answer: [false, false, true, false, true], // Since choices[2] and choices[4] are correct
explanation: [
{variant: 1, text: "Avery and Dassey cerca 2006 at the time of their trials"}, // variant 1 for small text
{variant: 0, text: "https://path-to-image.png"} // variant 0 for image
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment