Kprime(ETH)

Question types ::: qtype_kprime
Maintained by ETHzETH Zürich
A four option multiple true-false question type for moodle, as introduced by Krebs (1997). Kprime questions consist of an item stem and four corresponding statements or options.
Latest release:
877 sites
266 downloads
46 fans
Moodle 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11

A four option multiple true-false question type for moodle, as introduced by Krebs (1997). Kprime questions consist of an item stem and four corresponding statements or options. For each option students have to decide whether it is "true" or "false". Three different scoring methods are available: “Kprime”, where the student receives one point if all responses are correct, half a point if all save one response are correct, and zero points otherwise; “Kprime 1/0”, where the student receives one point if all responses are correct, and zero points otherwise; and “subpoints”, where the student is awarded subpoints for each correct response.

Screenshots

Screenshot #0

Contributors

ETHz
ETH Zürich (Lead maintainer)
Antonia Bonaccorso: Service owner, contact
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • ETHz
    sş, 24 gul 2022, 9:38 PM
    Hi, for 3.x please check the branch on github or download it from this plugin page on moodle, and no, your suggestion wont actually “fix” it.
  • Visvanath Ratnaweera
    sş, 24 gul 2022, 10:10 PM
    I got the source using Git 'git clone https://github.com/ethz-let/moodle-qtype_kprime kprime' on 15 May, 2022. What is the branch?

    When I do 'git branch -a' inside kprime/ I get:
    * master
    remotes/origin/HEAD -> origin/master
    remotes/origin/master
  • ETHz
    sş, 24 gul 2022, 10:14 PM
    For 3.x on Github: https://github.com/ethz-let/moodle-qtype_kprime/tree/Final-Release-3.X and on moodle: https://moodle.org/plugins/download.php/25382/qtype_kprime_moodle311_2021090900.zip

    Going forward, we will include 4.0 once we finish the tests and also adjust behat tests. We expect stable release by summer.
  • Visvanath Ratnaweera
    sş, 24 gul 2022, 10:21 PM
    I don't use the zip method.

    $git clone https://github.com/ethz-let/moodle-qtype_kprime/tree/Final-Release-3.X kprime
    fatal: repository 'https://github.com/ethz-let/moodle-qtype_kprime/tree/Final-Release-3.X/' not found

    Yes, I need Kprime for Moodle rel. 3.9. The (wrong) version name '4 for Moodle 3.9+ (Transitional)' is confusing!
  • Visvanath Ratnaweera
    sş, 24 gul 2022, 11:54 PM
    It looks like '4 for Moodle 3.9+ (Transitional)' is in reality for Moodle 3.11. It breaks for 3.9. Not yet ready for 4.0.

    And it doesn't do version checking. It installed on a Moodle 3.9 without errors. In fact after that "fix" seems to be working. I can't downgrade to 3.9 from the zip. I says a future version is already installed.
    sad
  • ETHz
    sş, 24 gul 2022, 11:59 PM
    Apologies for the misunderstanding. You can raise the version.php of 3.9 from zip to todays date and upon upgrading to moodle 4.0 the version in our repo will defo be for july.

    If your fix works for you and you are happy with it, stick to it until you upgrade moodle

    The transitional version is work in progress, and as we have to update al of our plugins, it takes time with the limited resources we have nowadays.
  • Visvanath Ratnaweera
    çş, 25 gul 2022, 1:18 PM
    OK, thanks! I will leave it as it is. In case more errors appear I can always downgrade to 3.9 zip (with the date adjusted). We do not plan to upgrade our prod. Moodle to 4.0, we will only test it to get to know the changes, the next prod. version will be 4.1 (LTS).
  • Visvanath Ratnaweera
    yş, 5 pûş 2022, 4:11 PM
    Update: The patch https://moodle.org/mod/forum/discuss.php?d=434791#p1749572 isn't the only one to make the Git version '4 for Moodle 3.9+ (Transitional)' to work in a 3.9. It made creating a question instance possible, but not editing an existing one. I swapped to 3.9 zip version and changed the version as you mentioned. Now both creation and editing work.
  • Christian Sennhauser
    çş, 18 rêb 2023, 4:11 PM
    I wanted to ask if Kprime(ETH) is fully compatible with Moodle 4.1 (LTS)?
    And thanks for your work!
  • ETHz
    çş, 18 rêb 2023, 4:31 PM
    Hi Christian, it works with 4.x - may I suggest you download the latest plugin from here: https://github.com/ethz-let/moodle-qtype_kprime
  • Criag Larkins
    ş, 4 ada 2023, 12:03 AM
    Hi is there a way of changing Yes / No to Agree/Disagree
  • ETHz
    ş, 4 ada 2023, 12:21 AM
    Hi Criag, maybe change the language strings in your moodle language
  • Samuel Fischer
    în, 28 ada 2025, 8:06 PM
    Hi! Will there be a new version available for Moodle 4.4.7 / 5.X which fixes MDL-83541 ?
  • ETHz
    çş, 2 avr 2025, 2:34 PM
    Hi @Samuel - you can get the latest code from our github https://github.com/ethz-let/moodle-qtype_kprime/tree/MOODLE_405_STABLE

    The code will be updated on moodle once it passes the QC.
  • Al
    pş, 7 gel 2025, 4:37 AM
    Hi
    I hope you are well, it's been ages. Kprime appears to work on Moodle 5. Could you update the supported extension on your end to Moodle 5 so that it installs automatically each week when we update our Moodle instance? It saves us so much time. Cheers.
1 2 3 4
Please login to post comments