OppiaMobile Community

Question Types, which ones work in oppia?

Which Moodle core question types work on Oppia? Specifically matching, drag and drop, and fill in missing words?

Hi Liz,

The question types supported in Oppia are:

  • multichoice (including single and multiple choices)
  • matching
  • true/false
  • description/info (so not a real question, just maybe some info about upcoming questions)
  • short answer (ie one or two word responses)
  • numerical

We did have the drag and drop question supported a while back, but with some updates in Moodle, this no longer worked, so we removed it. But could be possible to put back in with some development effort.

Cheers,
Alex

Would love to be able to have the drag and drop back. How much dev work? How long might it take?

Additionally, how hard would it be to have a long answer/essay question or is there a “reflection” tool you would suggest if we wanted learners to come back to the app to share what they learned or what questions they may still have? Could we should we use something like the feedback tool?

I’m not totally sure how much dev work this would be, the way that the drag and drop questions were handled changed in one of the Moodle updates in the last year or so. Certainly I recall it was a fair bit of effort the first time we implemented it, mainly because of all the different possible configurations that need to be accounted for.

@jjoseba - do you have an idea about how much effort this might be?

Cheers,
Alex

I think it would be best to use the feedback tool, esp since this isn’t something that has right/wrong answers.

For the quiz, we kept away from implementing the essay/long answer question type, basically because they can’t be marked/scored automatically - and then complicates things a lot if we also need to add a “marking” tool (on the server)and sync this back to the user.

Hey Alex,

This pertains to my other question, but putting it here. Could I use the feedback tool and once learners submit an answer, a default response pops up?

Hi @ebennert

If I understand correctly, you’re referring to the discussion here: WYSIWYG Moodle Atto filter: Embed Question - #5 by ebennert?

So the possibility in the link above, is to have a question or feedback directly embedded in an activity page, but no responses are stored, and when the user goes back to the activity again, it won;t show their previous response(s).

But, yes, you could also set up a feedback activity with just 1 question. The con with this is that it’s not inline in the page (eg, between paragraphs), but maybe this isn;t an issue if used as a stop-and-think-about-this type point in the course. On the other side, if added as a feedback activity, then the responses will be recorded by the server (even if you don;t do any analysis on this).

Hope that helps, and maybe follow up more the next time we have the regular call?
Cheers,
Alex

Hi Alex,

ME again about question formats. Moodle has a default called select missing words. Is that one possible to get working in Oppia or would that be a nightmare of coding?

Hi @ebennert

I’d not seen that question type before. I guess with all these things the answer is yes, it’ll be possible, but just not sure about the tech dev effort that’s needed.

Something that’s worth bearing in mind if we start to add new question types, is that the UI to display them needs to be added to the app. So if there was some content pushed out with new question types, then we’d need to be sure that users had the up to date version of the app to display it. If users had an older version of the app, then I think the question just wouldn’t display at all, but I’d need to check as it could also just fail to load the quiz at all.

One way you could implement this type of question right now (with out any tech dev needed), could be to use a multichoice question:

“This ______ has some _____ words”

With options to select:

  • question, missing
  • missing, question
  • field, other

And similar for more/less missing words.

I realise it’s not exactly the same as that question type, but might be something you could use right now?
Cheers,
Alex

Hi Alex,

When I was reading the docs, select the missing word was listed as one that works in Oppia.
But you do not think it does work? Is it something we could test?

Could we set up a testing app that I have a testing course that I push to so I can play with different functionalities and see how they roll out?

Hi, I’m pretty much certain that question type won’t work…

I think for testing, it would just be best to use the most recent version of the CHA app - the most recent on is here: https://drive.google.com/file/d/1RB_aZNneCQ6S2l0HbD_XjbLGX7FD5yxN/view?usp=sharing but there is a new version at the end of each month (at end of sprint). Then connect to the CHA staging server (https://staging.cha.oppia-mobile.org) for testing. Probably that will be easier than creating another version of the app?

Can follow up more on the call later,
Cheers,
Alex

Hi Alex, yes, I tried it but "missing words’ feature does not work; does not show up on the App. Have you any plans to add it to or is it already in the roadmap? Looking to simulate an Agree/Disagree question type w/o the need for feedback. Any ideas/workaround for now?
Isaac

Hi @Isaac,

An agree/disagree type question seems very different to me than a missing word question, so am bit confused here!
It seems to me that an agree/disagree question would be in a feedback activity rather than a quiz? Unless there is a right/wrong answer to it? If there is a right/wrong answer then you could just use the multichoice question but with only 2 possible responses.
If you have an example of the question/s you want to ask that would be very helpful.

Cheers,
Alex

@Alex, an example (not from RMNCH text) would be:
“You were raised to believe that religious people must go to church.
A. Agree B. Disagree”

While feedback would work, looking to build this section into running content within a page. Do we have any options?

I’m going to give Embedded CLOZE questions a shot. Will Oppia accept this feature?

Regards
Isaac

HI @Isaac,

The only way to do this right now is to use some of the <div> classes in the HTML code, eg:

<div class="box question">
    <p>What proportion of the worldwide number of maternal deaths occurs in Africa?</p>
    <div name="reveal" id="91" class="reveal">Show answer</div>
    <div id="answer91">
        <p>African women account for almost half of the 536,000 women who die every year as a consequence of complications of pregnancy or childbirth.</p>
    </div>
</div>

So for your example question you could either use something like:

<div class="box question">
    <p>You were raised to believe that religious people must go to church.</p>
<p>Do you agree or disagree?</p>
    <div name="reveal" id="91" class="reveal">Show discussion</div>
    <div id="answer91">
        <p>If you agreed you might think that XXX, and if you disagreed perhaps you think YYY</p>
    </div>
</div>

or:

<div class="box question">
    <p>You were raised to believe that religious people must go to church.</p>
<p>Do you agree or disagree?</p>
   
</div>

Note that questions added inline (using HTML) to page content don;t have the users responses recorded anywhere.

hope that helps,
Alex

Yes sure, it does help Alex.
Thank you.
Isaac