The following type of questions can be created for a quiz
  1. Single Correct Answer
  2. Multiple Correct Answer
  3. Fill in the blanks
  4. Numerical Answer
  5. Image Answer

Single Correct Answer

  • ...

Numerical Answer

Numeric question variants:

  • Variant of randomised numeric question with single equation.
  • Variant of randomised numeric question with multiple equations.
  • Variant of randomised numeric question with random values. (rand() function used)
  • Variant of randomised numeric question with random values with relative error. (rand() function used)
  • Variant of randomised numeric question with random values and absolute error. (rand() function used)

Example for odt format: 

QUESTION=numeric:var, MARKS=1.5, CATEGORY= easy
Calculate speed with distance = \(distance\) and time = \(time\), absolute error of 0.02 is acceptable.
ANSWER=\(speed\)
ANSDESC =
answer explanation can be mentioned here
VARIABLES=
distance; time; speed
rand(40, 50 ,int); rand(1,10, int); {{ distance / time }}; rows = 2 ; ae = 0.02

Explanation:
  • 4 sections: QUESTION, ANSWER, ANSDESC, VARIABLES
  • Section I: QUESTION
    • Variables used are to be prepended and appended by $$ symbols
  • Section II: ANSWER
    • Expected answer set to a variable
  • Section III: ANSDESC
  • Section IV: VARIABLES
    • 1st row: variables used separated by semi-colon
    • 2nd row: set of values for respective variables
      • i.e, distance will take a random integer value between 40 to 50
      • time will take a random integer value between 1 to 10
      • speed = distance / time 
      • rows = 2; meaning 2 set of questions will be generated of this type
      • ae = 0.02; value for absolute error equals 0.02

Last modified: Tuesday, 5 July 2022, 11:14 AM