-
Notifications
You must be signed in to change notification settings - Fork 1
Getting started
QGen is available through PyPi. So first let's get that with
pip install QGen
Next, lets think about the types of question we'd like to generate some instances of. Let's start with something simple just to demonstrate how to use QGen. Imagine you're teaching an elementary math class with about 20 students and for their homework you'd like to test how well your students can add two numbers. The question might look like this
What is 11 + 13?
Well, say you wanted to give each student 10 questions. You're a teacher at a modern day school so this institution uses some online learning platform that can help out a bit. Let's take for example Moodle. Ideally you would want each student to see a different set of pairs of numbers so at a higher level the question looks like this
What is {some number} + {some number}?
Okay, so now we have somewhat of an idea of how we'd make our template.
A template for QGen is just a YAML file, so let's start by creating that file and name it say test.yml. First tag will be to name the question.
QGen - The open source question generator