Question types ::: qtype_combined
Maintained by TimTim Hunt, Phil Butcher, at the OU (Perry building)Mahmoud Kassaei
A Moodle question type which allows questions to be built up from parts that are other simpler question types (requires you to have these question types installed)
Latest release:
1207 sites
55 fans
Current versions available: 6

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

This question types uses other question types as sub questions. It allows you to have one or more entry fields for any of these question types embedded in your question text. You must have at least one of these question types installed for this combined question type to work :

Here is an example of a question where a teacher has combined 1 variable numeric, 1 pmatch, 1 multiple response and 1 select missing word sub question in one combined question.

Example of a combined question



This plugin is part of set Open University.


Screenshot #0


Tim Hunt (Lead maintainer)
Phil Butcher: Question type designer
at the OU (Perry building)
Mahmoud Kassaei: Developer
Jamie Pratt: Developer
Chris Nelson: Product owner
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Apr 14, 2021, 5:50 PM
    @Florian. You're looking for in that case wink
  • Wed, Apr 14, 2021, 5:56 PM
    Yes, this is about qtype_multichoiceset. (Btw, the current version of that plugin yields fatal errors when reviewing quiz/question attempts, see its bug tracker.)

    Should I rather post this comment on the plugin's page?
  • Tim
    Wed, Apr 14, 2021, 6:09 PM
    Yes. This is an issue with qtype_multichoiceset.

    (This question type can be extended by other question types hooking into it. That is what qtype_multichoiceset is doing, so the issue is there, not here.)
  • Thu, Jul 14, 2022, 2:06 PM
    Good morning! We updated our site to version 4.0.2 and unfortunately browsing the question bank causes the following error Unknown column 'q.category' in 'on clause'
    SELECT q.*, qc.contextid FROM mdl_question q JOIN mdl_question_categories qc ON q.category = WHERE q.parent = ?
    [array (
    0 => '1991',
    Error code: dmlreadexception

    Will there be a new version released that is compatible with Moodle version 4?

    Many thanks
  • Thu, Jul 14, 2022, 4:38 PM
    Hi @Dimitris,
    We are due to move to Moodle 4.0 in our next release, although we have been working on Moodle 4 compatibility for our plugins for the last few months (alas, we have quite a few plugins but our team is small). Additionally, our lead developer is on holiday for two weeks, so I'm afraid I can't answer this query at the moment sad However, I will try to get an answer for you by the end of the month.
  • Thu, Jul 14, 2022, 5:31 PM
    Many thanks for getting back to me Chris that is totally understandable. I was only after an indication that 4.0 support was on the roadmap so thank you!
  • Sat, Jul 23, 2022, 6:12 PM
    as far as I could see so far the Pattern Match as part of qtype_combined seems to be restricted compared to qtype_pmatch. Are there plans to extend the „combined pmatch“ with the full qtype_pmatch functionality?
    This would be really helpful …
    Looking forward to your reply, Martin
  • Mon, Jul 25, 2022, 4:04 PM
    Hi Martin,
    It is indeed a slightly lighter-weight implementation in terms of us trying to minimise the sub-question form length, but the functionality is pretty intact. Could you tell us how your requirements aren't being met when using Combined PMatch? Examples/use cases really help us understand the issue, If it's a long post and needs images, best to post in the Moodle Quiz forum ( and mention the thread here.
    Many thanks,
  • Sat, Aug 6, 2022, 8:44 AM
    Just letting you know that I upgraded my Moodle site to 4.02 and this question quit working. I ran it by the experts that host my site and they found a bug--too complicated for a layperson like myself to relay. So, here's my even bigger question: will you be releasing an updated version of this plugin soon? Many thanks!
  • Mon, Aug 8, 2022, 5:10 PM
    Hi @Dimitris and @Morgan,
    The new Moodle 4-compatible version of PMatch should be released later this week.
  • Tim
    Tue, Aug 16, 2022, 8:26 PM
    Note, Moodle 4 version of pmatch is on github now, but we are testing it before release, which is good, becuase there are some minor bugs that are worth fixing before we put it here.
  • Thu, Sep 8, 2022, 11:41 PM
    Hi Everyone, I was wondering if there is an update on the timeline for the combined plugin being updated for moodle 4.0. All the best. Thank you.
  • Tim
    Thu, Sep 8, 2022, 11:43 PM
    Making it work is number 1 item on my development todo list. (Unfortunatly, things keep happening which stop me doing any development.) Hopefully next week.
  • Thu, Sep 8, 2022, 11:44 PM
    Literally working on it right now! (We have had a long list of other OU questions to do - some of which are Combined sub-questions, so we had to do them first!)
  • Thu, Sep 8, 2022, 11:56 PM
    Ah okay. That's Great! Thank you so much.
1 2 3 4 5
Please login to post comments