Question types: Combined

qtype_combined
Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Phil ButcherPhil Butcher, Picture of Jamie PrattJamie Pratt
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)
824 sites
247 downloads
42 fans
Current versions available: 4

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

 

Sets

This plugin is part of set Open University.

Screenshots

Screenshot #0

Contributors

Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Picture of Phil Butcher
Phil Butcher: Question type designer
Picture of Jamie Pratt
Jamie Pratt: Developer
Picture of Chris Nelson
Chris Nelson: Product owner
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of S. Ali
    Sat, Feb 20, 2016, 2:45 AM
    Hello Tim,

    Thank you Very much for the quick response and the workaround.
    I added the folder as suggested and It's fine now.

    Thanks!
  • Tim at Lone Pine Koala Sanctuary
    Fri, Mar 18, 2016, 2:55 AM
    Finally, we have a Moodle 3.0-compatible version of this question type. Sorry it took so long.
  • Picture of S. Ali
    Fri, Mar 18, 2016, 6:51 AM
    Hello Tim,

    Thank you for the update.
    I've tried to install it but it's failing with the following error:
    [Error] Required Moodle version [2015111603]

    I have installed: 1.3 for Moodle 2.6+ [2015051000] running on Moodle 3.0.2+ (Build: 20160218)

    Kind Regards,
    sali
  • Tim at Lone Pine Koala Sanctuary
    Fri, Mar 18, 2016, 7:28 AM
    Drat! That is what you get for trying to do things in a rush before leaving work. New version pushed. Hopefully that will work now.
  • Picture of S. Ali
    Fri, Mar 18, 2016, 7:58 AM
    Thank you. Works very well now.
  • Picture of lucia liljegren
    Tue, Jun 28, 2016, 9:03 PM
    Hi,
    I upgraded from 2.5.xomething to 2.7.14 to 3.1 in one fell swoop yesterday. The combined questions do not display. (I can see them in the question bank, but I get a total blank screen if I try to view the question or edit it.) Tips for what to do?
  • Picture of lucia liljegren
    Wed, Jun 29, 2016, 1:06 AM

    I don't know if my fiddling to upgrade caused this, or if the official installation tried to declare the class twice. But someone advised me to look at debug. I get this:

    Fatal error: Cannot redeclare class qtype_combined_combinable_type_gapselect in [...] /moodle/question/type/combined/combinable/gapselect/combinable.php on line 0

    I looked and 'combinable.php' is called both by
    [...] /question/type/combined/combinable/gapselect/combinable.php and
    [...] /question/type/gapselect/combinable/combinable.php

    Would deleting the one in "combined/combinable/gapselect/combinable.php" fix the issue without also causing problems in "Select missing words"?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Jun 29, 2016, 1:09 AM
    Wrong way around. In Moodle 3.x, the one in question/type/gapselect/combinable/combinable.php should not exist.
  • Picture of Stephen Parry
    Wed, Jun 14, 2017, 4:59 AM
    Hi Tim,
    Is there any chance we might get 3.2 compatible versions of the combined and other various question types please? 3.1.x is now out of support and I would really like to upgrade to 3.2 or 3.3
    Thanks
  • Tim at Lone Pine Koala Sanctuary
    Thu, Jun 15, 2017, 1:45 AM
    Done smile
  • Picture of Stephen Parry
    Tue, Jul 4, 2017, 4:44 PM
    Thanks, that's great. Any ideas what of timescales for the supporting question like variable numeric and pattern match please?
  • Picture of Louis-Philippe Baron
    Tue, Jul 11, 2017, 11:14 PM
    Hello Tim !
    First of all, thanks for this question type, that's awesome.

    I'm trying to implement the core multichoice as combined (I don't want the OU-one notation system, nor the checkboxes). No problems on where to place my files, but I'm not really sure of what I need to keep / change from the oumultiresponse / gapselect implementation, neither from combinable.php nor from renderer.php.

    Do you have some tips to implement quickly the behaviour of a core type as combinable ? (I'm trying to do it, comparing the source files of 'gapselect' with 'combinable_gapselect', but that's not the much efficient)

    Cheers,
  • Tim at Lone Pine Koala Sanctuary
    Tue, Jul 11, 2017, 11:20 PM
    More people are likely to see your question, and therefore be in a position to help, if you post in the quiz forum: https://moodle.org/mod/forum/view.php?id=737
  • Picture of shrug emoji
    Fri, Oct 6, 2017, 12:50 PM
    Thanks, that's great. Any ideas what of timescales for the supporting question like variable numeric and pattern match? *shrug emoji
  • Picture of rob mock
    Tue, Mar 26, 2019, 12:26 AM
    Is this the place to request adding an open-ended essay answer option to the combined question type?
    The flexibility of combined question type gets Moodle quizzes much closer to looking like the standardized tests my students are starting to see. Pure mimicking is not the goal, of course, but using my Moodle to make questions that get my students comfortable with the format is a big deal. Adding a field for a typed response would be a huge help for me.
1 2 3
Please login to post comments