I suggest you ...

template questions

instead of "hard coding" the exact question I imagine something along:

question template:

text: "What is {{A}} + {{B}} ?"
correct: eval("{{A}}+{{B}}")
constraints: A is integer between 0 and 9,
B is integer less than 20,
B > A

a question instance would be the template plus the random seed that generated the instance

eg. template above with seed 543492 would generate "what is 5 + 12 ?" with the answer "17"

you can also add templates for multiple choice answers

eg. one answer could be eval("{{A}}+{{B}}-1") (in the instance above 16)
another answer could be eval("{{A}}+{{B}}+1")
another answer could be rand_int(30)

but random answers need to be verified that they don't happen to be one of the other answers by chance.

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anonymous shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  · 

        Needless to say, the advantages is that with little extra work you get many many different questions.

        Obviously this happens to be useful mostly to math oriented questions (not math only, eg. physics questions will also benefit)

      Feedback and Knowledge Base