
Which question type to use for getting answers for 2 variables

Re: Which question type to use for getting answers for 2 variables
I thought many users must be already using such kinds of questions.
Can anyone suggest some proper way of taking two or more answer inputs in a numeric or a short answer question?
Re: Which question type to use for getting answers for 2 variables
You could use the excellent Embedded Answers (Cloze) question type, maybe also with the REGEXP question type plugin. But these are not quite suitable for your problem because what matters are the values 105 and 75, not whether there is a space or a comma between the two values.
You could use the Numerical question type, but if you are already familiar with the Formulas question type, why not use it. This is, in my opinion, the best type of question for your problem.
You can try the following question at https://dynamiccourseware.org/course/view.php?id=78§ion=84➚. The question in Moodle XML format is also attached below.
Re: Which question type to use for getting answers for 2 variables
I have also thought about using a multiple-choice question for this problem, creating around six answers, such as:
1. a=105, b=75
2. a=105, b=25
3. a=30, b=120
4. a=45, b=75
etc.
One can get even fancier using a calculated multi-choice question. A multiple-choice question avoids mistyped characters.
Do you see any particular issues using a multiple-choice question?
Re: Which question type to use for getting answers for 2 variables
According to my understanding, in the above-given example, Dominique used the answer type as Number, so it won't take alphabets as inputs.
As you suggested we could have used MCQ also. There is no issue with it. But in some questions, I don't want to give answer options. I want to check if the student is able to understand the question properly or not and let them solve it without any answer hint.
As you know we have to give mixed types of questions in assessments. All questions can not be MCQ only.
Re: Which question type to use for getting answers for 2 variables
However, if a student understands the problem and solves it, they will immediately pick the correct answer. If students don't understand, they must go through a learning process to check every choice. I would give around six to eight choices. In the end, the unsure student might have been given more opportunities to learn.
In the past, I enjoyed giving problems like this via paper exams. Then I was able to see students' wrong answers which help me build MCQs.
Yes, I understand some of the philosophical issues. I am just offering an idea that is easy to implement. For these kinds of problems, I actually prefer calculated-multichoice question types, since they cause students who "cheat" even more work to cheat. When they discuss the answers with a friend, they say "Hey, your possible answers are different than mine."
Re: Which question type to use for getting answers for 2 variables
With your input, it's become easy for me to decide. I am also comfortable with the Formula question type. The cloze question type is also a good second option, which I miss to think earlier.
With this example, I noticed that it is not necessary to define the variable always for such fixed cases, and we can get the input without adding placeholders in the question text area. Actually, I didn't try this earlier.
Here I like to know one more thing, if we want to have both inputs in one line, then we need to add the placeholders in the question text area only or can we do it by some settings in the part section?
REGEXP question-type plugin seems interesting to learn. I will explore it. If you have made any example or use case of it, kindly share the link.
Re: Which question type to use for getting answers for 2 variables
If you put both angles in the same part, students must give both correct answers to get a point. If you put the angles in different parts, each angle is marked separately. Personally I would use two parts but that's up to you.
I don't think it makes a big difference to students in this particular case, but you can put the answer boxes on the same line by formatting a little. See the example below.
Re: Which question type to use for getting answers for 2 variables
I will use two parts only to grade both answers. I just wanted to have them in line.
In both examples, you used two parts, so this is precisely what I wanted to have.
In the feedback, there is option: Show the number of correct responses once the question has finished.
I am not able to judge how it works, if I put the tick mark or remove it, there is no difference in the feedback. In which case it was used?
Re: Which question type to use for getting answers for 2 variables
Rick,
As always, you bring up some very interesting points.
...what happens if the student types an "o" instead of a "0," or an "I" instead of a "1"?
The Formulas question instantly shows invalid input with a red flag. Note that it still allows submitting invalid answers.
The Calculated and Simple Calculated questions indicate an invalid entry only when submitted, with the message "You must enter a valid number." They do not allow submitting invalid answers.
It is easy to improve the answer box for entering a numeric value by adding the attribute type="number", which has the effect of immediately blocking any invalid character. For example, in the following Formulas question, you cannot type an "o" instead of a "0," or an "I" instead of a "1". Thus, invalid answers are simply not possible.
You can try the above question at https://dynamiccourseware.org/course/view.php?id=78§ion=84➚. The question in Moodle XML format is also attached below.
Do you see any particular issues using a multiple-choice question?
No. Each type of question has its strengths and weaknesses. Whether one or the other is used depends on several factors, including the many different aspects of the problem at hand and probably also on the preferences of the teacher.
Re: Which question type to use for getting answers for 2 variables
Re: Which question type to use for getting answers for 2 variables
Thanks for your continued thoughts, and your hard work, Dominique.
I would not use the "Calculated" or "Calculated simple" question types. I prefer the "Calculated multichoice" question type.
I forget, is the Formulas question plugin compatible with the Mobile Moodle App?