Question Creation Activity

Activities ::: mod_qcreate
Maintained by Jean-Michel Védrine
The Question Creation Activity is a graded activity where students must create questions in the Moodle question bank. A teacher grades the questions. The students get a grade for the questions they create.
Latest release:
138 sites
47 fans
Current versions available: 2

The Question Creation Activity is a graded activity where students must create questions in the Moodle question bank. A teacher grades the questions.

The students get a grade for the questions they create.

You can specify a percentage of the grade to be automatically assigned depending on how many of the required questions the student creates and the rest of the grade awarded to the student to be dependent on the grade a teacher assigns for the questions created. 

It is possible to choose that the activity is 100% automatic grading without any teacher manual grading, or 100% manually graded by teachers.

You can chose the question types students will be allowed to create and the number of questions required to complete the activity.


Screenshot #0
Screenshot #1


Jean-Michel Védrine (Lead maintainer)
Jamie Pratt: Original creator of the version for Moodle 1.9
Peter Ruthven-Stuart: Conception and original design
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Jean-Michel Védrine
    Fri, Jan 15, 2016, 5:15 PM
    Thanks for the report. I will do some tests but this is the first time such a problem is reported and I have tested the qcreate module with Moodle 3.0 and 3.1dev.
    Can you test that your cron is working and executed at very short intervals ? As noted in the readme, this activity needs that your Moodle cron is working and executed at regular and short intervals (I suggest 1 minute) because the question creation activity rely on scheduled tasks to upgrade grades and more importantly to update students capacities on question categories
  • Jean-Michel Védrine
    Sun, Jan 24, 2016, 5:31 PM
    I have made some tests and I am unable to reproduce Miro's problem with Moodle 3.0 and moodle 3.1dev.
    For me all is working as expected.
    But I have released a new versions because during these tests I have found some very minor and not related things to fix.
    Miro, if you can verify that your cron is working and that the qcreate scheduled tasks are executed and you still have this problem, please open an issue in the bug tracker
  • Jesse H
    Sat, Apr 9, 2016, 5:45 AM
    It would be good if it were possible to see the add question page like students do, even when logged in as a teacher. I realise you can swap roles, but it is a bit frustrating when demonstrating how to use to the students.
  • Jesse H
    Sat, Apr 9, 2016, 5:46 AM
    Amazingly awesome plugin though!!
  • Miro Iliaš
    Sat, Aug 6, 2016, 5:11 AM
    Hi, please will Question Creation Activity work with Moodle 3.1+ ?
  • Ricardo Caiado
    Wed, Dec 7, 2016, 8:15 PM
    Any upgrade to Moodle 3.2?
  • Jean-Michel Védrine
    Thu, Dec 8, 2016, 5:14 PM
    I am sorry but I am now retired and I stopped Moodle coding. So I will not publish new versions and this plugin needs a new maintainer
  • Hugo Ribeiro
    Thu, May 18, 2017, 10:17 PM
    I have test it with some degree of success on Moodle 3.1.5. The major flaw at this stage is the fact that the graded questions are not anywhere to be seen on the question bank. Im also not sure if haven't configured it properly or if this is a bug. Anyhow is a great idea and so it would be very nice if someone could maintain it.
  • Robert Schrenk
    Mon, May 14, 2018, 3:51 AM
    Hello, I love this plugin but unfortunately it seems that it would need some work on it. Recently I had the problem that the cron job on my moodle stopped working due to the "qcreate_refresh_events"-Function inside lib.php of this plugin. I could make a workaround by inserting a simple "return true" in the first line of the function, so that it is skipped entirely. Would be nice if there was an update to this plugin to fix this issue.
  • Jean-Michel Védrine
    Mon, May 14, 2018, 2:59 PM
    Hello Robert,
    Thanks for reporting this. As you may know I am now retired so I don't have a Moodle site running and I can only rely on users reporting bugs to fix the problems as I don't use my own plugins anymore !
    In fact these functions have only been added recently in Janvier 2018 because I did some work to update this activity module to support Moodle recent features. At the same time I also added a lot of phpunits and Behat tests to help me verify that this module was working correctly. Unfortunately I haven't added any test of the _refresh_events and _update_events functions. My bad, each new introduced function should have a test. I will now write some tests to investigate the problem and fix it.
  • Jean-Michel Védrine
    Tue, May 15, 2018, 7:12 PM
    Hello Robert,
    I have released a new version to day 05/15/2018 that should fix the problems related to calendar events management. I have also added some automated tests to verify that the new functions introduced in January 2018 are working as expected. Again thanks for your bug report and if possible confirm that the issue you had is now fixed.
  • Ricardo Caiado
    Mon, Nov 2, 2020, 12:18 PM

    "PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /XXX/YYY/mod/qcreate/lib.php on line 1346"

    Moodle 3.8

    Any idea?

  • Jesse H
    Wed, Jan 13, 2021, 4:50 PM
    I'm getting the same issue as Ricardo occuring site wide on V3.10

  • Jean-Michel Védrine
    Wed, Jan 13, 2021, 5:14 PM
    As I already said I am now retired and stopped all Moodle programming.
    I had a look at it and from what I see somebody could solve this replacing the lines
    case 'completionquestions':
    if (empty($val)) {
    $descriptions[] = get_string('completionquestionsdesc', 'qcreate', $val);

    case 'completionquestions':
    if (!empty($val)) {
    $descriptions[] = get_string('completionquestionsdesc', 'qcreate', $val);
  • Wazza
    Fri, Jun 23, 2023, 4:55 PM
    Do we need to let this activity go when upgrading to Moodle 4.x? Seems there's no Moodle 4 version.
1 2
Please login to post comments