Thursday, 15 October 2020

MCQ questions using the formulas question type in MOODLE.

 Formulas questions

This question type is great form setting STEM type multi-part questions in moodle.

They can even take in diagrams with data labels such as created using jsxgraph.


The questions accept a variety of answer types including algebra where.

MCQs

Sometimes multiple-choice questions are the best. However, learners are smart and will, as we want them to, ask each other for answers. Well, we actually want them to discuss how to work it out rather than to find out that the answer is choice A. 

In the core MCQ in MOODLE it is easy to shuffle answers so that the answer is not always the first choice but that creates fixed questions. With Formulas questions, it is possible to create more dynamic and variable questions which justify the effort in creating nonfixed scenarios for the learner... or example see the question below for probability language questions

When created with the formulas question type, the image can have a dynamic image which shows different numbers of each colour and the proportions are calculated separately to determine the correct answer. Sometimes in simplifying the question creation, for instance by creating "unlikely" questions, the question type could fall short by always showing the same order of options and leading to the a pattern where the learner could quickly determine that the answer is "always the first option".

The question is how to avoid the pattern. How to shuffle the answers.

Any suggestions and work-arounds please share.

Where do the jsxgraph images disappear to and how to find them?

Missing jsxgraph images?

In previous posts I have talked about the convenience of using jsxgraph code to create diagrams in questions in moodle.
I use this on my suremaths.com website where I can set up data in the diagram to vary each time the question is used in a quiz.  For instance I could insert two varying angles in a triangle diagram and ask for the value of the third angle.
The value of this is that, students who get this in homework cannot just ask their friends what the answer to that question is since they have different answers. The more valuable question they have to ask is how to find the answer and this difference fosters the intended social learning for which MOODLE is designed.

Missing diagrams

Previous experience for me was that while I could set up several questions with diagrams and varying data, the completed quizzes would only display one of the diagrams when reviewed at the end. 
Searches on the web did not lead to a satisfactory answer. The closest idea was to setup id numbers for each DIV, the HTML boxes in which the diagrams are placed on the question pages.  I never managed to implement that, for one thing,  because I would have had to go through all my questions and insert the id numbers.
Crucially the quiz review in moodle uses a single page in the quiz review, displaying all the questions in one continuous page to scroll. The effect of this that all the diagrams occupy the same location on the top left of the page as defined by DIV and that is why all other diagrams disappear leaving only the box in which they were placed. 
At least that is the appearance. In reality they are all at the same location in layers with only the last one showing at the top.

So how do I get the images back?

To get the images back requires splitting the review into one page per question. On the quiz review page scroll to the bottom and choose to display one question per page. The sacrifice is that the review is slightly longer but you do get back all your diagrams and proper review.
I don't have to give up using jsxgraph! It just keeps improving!