Skip to content

Getting Started

Arun edited this page May 19, 2023 · 11 revisions

Creating a Question Bank File

  1. Install the application. (?)
  2. Create a .txt file in the top level directory (same place as the README).
  3. Use the following examples to create questions.

Question Examples

There are three types of question:

  1. True or False
  2. Multiple Choice
  3. Text Input/Fill in the Blank

Understanding the Symbols

  • & is used to separate questions.
  • $ is used to separate sections within a question.
  • [] is used to denote a list.
  • ; is used to separate items in a list.
  • Aside from the question type (TF, Multi, Text), there is no requirement on use of upper or lower case.

True or False

TF$<Source>$<Question>$<Correct Option>&

TF$Lecture 7 Part 1$This is a repository.$True&

Multiple Choice

Multi$<Source>$<Question>$<Choices>$<Correct Choices>&

Multi$Lecture 1 Part 1$Here are three options:$[Option 1;Option 2;Option 3]$[1;3]&

<Choices> and <Correct Choices> must always be in list form, even if there is only one option. <Correct Choices> must be an integer representing the correct item(s) from the <Choices> list. It is NOT zero indexed.

Text Input

Text$<Source>$<Question/Fill Blank>$<Correct Entries>&

Text$Lecture 5 Part 2$What is this question for?$[show;example;the wiki]&

<Correct Entries> must always be in list form, even if there is only one option.

A Short Completed File

Multi$Lecture 1 Part 1$Here are three options:$[Option 1;Option 2;Option 3]$[1;3]&TF$Lecture 7 Part 1$This is a repository.$True&Text$Lecture 5 Part 2$What is this question for?$[show;example;the wiki]&

Clone this wiki locally