Correct writing

Question types ::: qtype_correctwriting
Maintained by Oleg Sychev
Correct Writing question type are focused on the learning grammar of the new language. It can found various mistakes in student's response and give mistake messages and hints.
Latest release:
120 sites
191 downloads
36 fans
Current versions available: 9

Correct Writing question type are focused on the learning grammar of the new language. It can found various mistakes in student's response and give mistake messages and hints.

It can find token sequence mistakes: absent tokens, extraneous tokens and misplaced tokens. Token is a minimal language unit like word, punctuation mark etc. For now two language supported: English language and C programming language.

Also it can find typos, including missing and extraneous spaces between words.

You can download this question type along with all subplugins, necessary for it, using our BitBucket site 

Screenshots

Screenshot #0
Screenshot #1

Contributors

Oleg Sychev (Lead maintainer): Idea, string analysis method, general architecture, hints implementation
Dmitry Mamontov: Question type code, sequence analysis, picture generation
Vadim Klevtsov: Enumeration analysis
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Anthony Borrow
    Wed, 13 Mar 2013, 9:32 AM
    Oleg - Many thanks for sharing the correct writing question type. I was able to install without any issues. One concern I have is about the dependencies. This question type is listed as being for Moodle 2.4 and many of the dependencies do not show having a version for 2.4. We may want to be a little careful to ensure that everything seems to match up with respect to the versions (i.e. a 2.4 version of each plugin being available). I know you have a link to have them all together but if there begin to be differences between the versions that system may fall apart without carefully managing the branches. I presume that you want this plugin added to the PERL set. I will go ahead and approve this plugin and add it to the set. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony

    p.s. - Any objections to changing the URL for the source code to https://code.google.com/p/oasychev-moodle-plugins/source/browse/#hg%2Fquestion%2Ftype%2Fcorrectwriting which is more specific (rather than the more generic one that points to the root of the repository)?
  • Oliver Stearn
    Tue, 6 Aug 2013, 5:05 PM
    'It can found various mistakes in student's response' - very clever!
  • image by Vasya Romashova
    Sat, 8 Nov 2014, 3:04 AM
    There is some bug in `string_pair.php`. Look at the first line. It should be `<?php` not `<?`. It makes problems in strickt mode.
  • Sepp Hofbauer
    Wed, 26 Nov 2014, 3:28 AM
    In the manual picture there are 7 penalties to configure. I've installed current version and can find only 4 of them. Where are the missing penalties?
    -missing token
    -extra token
    -absent token mistake hints
    In this configuration a forgotten ")" in student's answer of for ( int i = 4; i <= 10; i++)
    leads to 33% minus. This ist too strict.
  • Oleg Sychev
    Wed, 26 Nov 2014, 4:22 AM
    Sepp, penalties with green asterisk are "advanced" and hidden by default.
    did you see "Show advanced" or similar button on the form? Press it and you will see all settings.
  • Sepp Hofbauer
    Wed, 26 Nov 2014, 6:20 AM
    Sorry, no such button. Some of green-asterisk-entries are visible, e.g. :
    -Penalty for misplaced token
    -Maximum percent of mistakes
  • Oleg Sychev
    Sat, 6 Dec 2014, 12:47 AM
    Thanks, Sepp. Two penalties was really disappeared from the question editing screen during internal refactoring. A placed a new version there (2.6.1.) that should make them visible, please try it.
    The button now called "show more".
  • Sepp Hofbauer
    Tue, 9 Dec 2014, 7:57 AM
    Thank you. Now it works! I can set the penalty for missing token.

    But, ... smile
    not every token is as important as each of the others. Is it possible to add an indiviual missing penalty in the description token window? eg. separated by ~
    for: for command~10%
    ( : bracket~5%
    int : data type~20%
    and so on

    Sepp
  • Sepp Hofbauer
    Fri, 9 Jan 2015, 5:37 AM
    @Khac: Edit first line of string_pair.php (and other php files) from "<?" to "<?php"
  • Przemek Malik
    Fri, 2 Oct 2015, 5:59 PM
    Is there a possibility to use another language istead of english (I do not mean C/C++ etc.) - german for example?
Please login to post comments