New Question types

New Question types

by Jayesh Anandani -
Number of replies: 41

Hello all,

This year as a part of Google Summer of Code I am going to make some changes to existing question types and develop some new ones.

My proposal for the Question types can be found at:

http://docs.moodle.org/dev/gsoc2014_proposal_jayesh

Wiki docs for new Question types can be found at:

1. http://docs.moodle.org/dev/ddclassify_Question_Type

2. http://docs.moodle.org/dev/Image_Puzzle_Question_Type

3. http://docs.moodle.org/dev/Ordering_Question_Type

4. http://docs.moodle.org/dev/Search_Question_Type

In addition to these 4 question types I am also going to modify existing drag and drop question type. The changes that are going to be done can be found in proposal. (posted the link above)

Looking forward for review from community memebers so that the question types are developed in a way that can help most of teachers to use them in course.

Thanks

Average of ratings: Useful (5)
In reply to Jayesh Anandani

Re: New Question types

by Frankie Kam -
Picture of Plugin developers

hi Jayesh

Wow, that's a lot to do. Kudos for working on Moodle quiz question types!

Frankie

In reply to Frankie Kam

Re: New Question types

by Jayesh Anandani -

Hi Frankie,

Thanks for the same. Looking forward for review on those so that I can make them better during my development time.

In reply to Jayesh Anandani

Re: New Question types

by Frankie Kam -
Picture of Plugin developers

Hi Jayesh

Guess we both share something in common. I was working on a Placement Test for my company for 3 months from September 2013 to November 2013. Here is the list of quiz question types I have installed on my Moodle site. I didn't use all for the Placement Test of course! But I had to install and try them all. 

The most interesting and powerful question types where those with the regex features. They allowed me to award marks for questions where the answers were more open-ended (subjective).

I used quite a bit of Javascript and JQuery to spice up the placement test. Here, take a look and let me know what you think. http://www.moodurian.com/cefl/course/view.php?id=5
I'm sending you the username and password.

Frankie Kam

In reply to Jayesh Anandani

Re: New Question types

by Peter Halverson -

Dear Jayesh,I wish you good luck.  Here is my personal "wish"...  Its for a question type where the student has to create a graph.

For example:   A car is at a stoplight.  The light turns green and the car accelerates at 2 meters/s^2.  Make a graph of the car's position.  The x-axis is time and the y axis is position.

You might not have to start from nothing as I think that this could be done by mixing certain features of drag-and-drop and calculated or stack question types.

Thanks again for the good intentions!

Peter Halverson

Average of ratings: Useful (3)
In reply to Peter Halverson

Re: New Question types

by Jayesh Anandani -

Hi Peter,

Thanks for the wishes.

I will try my best to implement the same. I will note down that suggestion and implement it once I am done with these question types.

If you have any suggestions to make for question types proposed it will be most welcome.

Thanks for looking into it.

In reply to Jayesh Anandani

Re: New Question types

by Joshua Bragg -

A few comments:

Search type:  It would be very helpful to have an option to select multiple words.  I would imagine that would be the first feature request when it got out in the wild.

Image Puzzle:  What is the pedagogical purpose of the Image Puzzle type?  I can't think of anything that I would want to use it to test...  Itamar?  Its a fun little problem but I just don't understand the purpose.

Ordering:  I appreciate the ability to set the value of the Partial Mark when something is incorrect.  That was my first thought when I looked at the short version of the spec in the proposal.

Classify:  I would prefer that students not be given clues about how many things are in each category.  Having a specific number of boxes that must be filled in each section would do that.  Perhaps make each category start with two boxes and then auto expand with an empty box after all the boxes get filled?

I have a question in my class where students are asked to separate different substances into ionic, covalent, and metallic bonding groups.  It is not uncommon for a student to mistakenly think that hydrogen is a metal (because of its location on the periodic table) and then classify a large number of covalent compounds as being ionic.  If I have things split into 4 of each group, having students see there are only 4 in each group clues them in that they are doing something wrong.

Changes to DDMarker:  Yes!  That will make that much easier for teachers to use.

As a chemist, it is important to me that Search, Ordering and Classify will accept <sub> and <sup> tags in the text of the question and answers.

Average of ratings: Useful (2)
In reply to Joshua Bragg

Re: New Question types

by Jayesh Anandani -

Hi Joshua,

Thanks for those suggestions.

1. Search: Yes the facility for mutliple selection of words will be provided in this question type. You just need to click on word and it will get selected (this is for one and more than one words to select). On right side you can see few buttons which are made to unselect multiple words.

2. Image Puzzle: Sort of fun thing to include.Can be used to brainstorm mind sometimes for little kids. Something that Moodle had before but wasnt compatible with latest Moodle versions. Just upgrading it.

3. Ordering: I think it seems good to you.

4. DDClassify: Yest suggestions made are good enough to think upon that. I will bring this suggestion to Tim and Jean-Michel notice.

5. DDMark: Again this was good to you.

I will take care that use of <sup> and <sub> tags in questions and answers text is accepted and the question types are compatible to accept those also.

Thanks

Average of ratings: Useful (1)
In reply to Jayesh Anandani

Re: New Question types

by Joshua Bragg -

Thanks for pointing out the multiple word option on the Search type.  I missed that.

Thanks for all your work on this.

In reply to Joshua Bragg

Re: New Question types

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Search type doesn't seem to describe this type of question. I think of it as text select

In reply to Marcus Green

Re: New Question types

by Jayesh Anandani -

Hi Marcus,

The Search Question type will surely let students select multiple words. I will just make it clear by editing wiki page and inserting a good example for same.

 

Thanks

In reply to Joshua Bragg

Re: New Question types

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Joshua, could you post a mock up of how you would expect your classification/covalent/hydrogen question might work (I may have a cunning plan)

In reply to Marcus Green

Re: New Question types

by Joshua Bragg -

It would be something like:

Classify each of the following substances based on the predominant type of bonding it exhibits:

 

I don't want to give away how many items are in each group.  I made it 4, 4, and 4 here but I'd be more likely to do something like 3, 4, and 5 in each group.  In any case, after filling in the first two boxes in a category, a new empty box would automatically be added and the category would just lengthen a bit to add it in.

The other way that that classify type could work, which would probably be easier to do, would be to let question authors specify if extra blank boxes should be included or not and how many.  That would make for a more cluttered question authoring page though...

Marcus, does your Gapfill type allow you to have blank boxes where nothing should be filled in?

Also, while I'm thinking of it:  Jayesh, what are you using to make the mockups at http://docs.moodle.org/dev/ddclassify_Question_Type  ?  I've seen various mockups of Moodle pages that all seem to look very similar in style.  Is there something people are using that I'm not familiar with?

Average of ratings: Useful (3)
In reply to Joshua Bragg

Re: New Question types

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Marcus, does your Gapfill type allow you to have blank boxes where nothing should be filled in?

No it doesn't, but you have got me thinking about how I might add some question creation syntax and processing code that would allow such a thing. I can see a clear benefit of such functionality.

 

In reply to Joshua Bragg

Re: New Question types

by Jayesh Anandani -

Hi Joshua,


I got that image from a moodle discussion way back. I haven't created that image. If you come across any thing that helps us to create such images please do let me know.

In reply to Joshua Bragg

Re: New Question types

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Those mock-ups are created using a tool called Balsamiq http://balsamiq.com/. It is integrated into tracker.moodle.org. When you are looking at an issue, choose More ... > Add/edit UI mockup.

Average of ratings: Useful (3)
In reply to Joshua Bragg

Drag-and-drop classify question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Once again, I don't have many comments on this spec because it is pretty good, but some minor points:

  1. Going a step further than what other have said, I don't think we need little rectangles to drop onto. We should let students drop anywhere onto the container for a group, and then the item should be added neatly to the end of the group. If necessary the container should be expanded to make room. (This is basically how this qtype works on Kahn academy, if you have seen that.)
  2. Looking at the mock-up of what the student will see, I don't think we need the A, B, C labels, just the group names.
  3. And I think we should be boring and not have the bright colours. Just simple grey boxes.
  4. We need to think about accessibility. If you have not tried doing the other OU drag-drop qtypes with the keyboard then you should. For the other qtypes, you tab to select a drop zone, and then press space to cycle through the choices. For this qtype, you probably need to tab to a drag item, then press space to cycle through the categories.

Average of ratings: Useful (2)
In reply to Joshua Bragg

Image puzzle question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I will agree with others that the image puzzle question type is not the most pedagogically sound. On the other hand it is a nice bit of fun, so I see no harm in doing it once all the other things are done. I don't have any particular comments on the spec.

In reply to Jayesh Anandani

Re: New Question types

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Jayesh, congratulations on embarking on what looks like a very ambitious project.

I am personally interested in the "Search" new question type.

1.- I do not think "Search" is the best name for it and I suggest "Word select" instead but maybe other moodlers will come up with other ideas. I agree with Marcus here.

2. "If they want to undo the last selection they can click on clear button which will undo their last selection." Why not simply click again on a selected word to deselect it? Seems more intuitive.

3.- Your mock screen does not show it, but I expect it will be possible in the editing process to select a group of words as well as a single word.

Finally, is this discussion the correct place to discuss your work or can you suggest a better place?

Joseph

 

Average of ratings: Useful (2)
In reply to Joseph Rézeau

Re: New Question types

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

This discussion may be worth looking at

https://moodle.org/mod/forum/discuss.php?d=251697#p1091306

I think it should be called textselect rather than wordselect as I can easily see a requirement for the selection of multiple words. This would add some interesting additional requirements. I have been thinking about the requirements for such a question type for quite a while and I can see it being very useful for many situations. A key consideration would be to ensure that basic usage for a teacher is possible without having to learn extensive syntax.

I was talking to some people doing some training on the Moodle quiz recently and I asked (slightly tongue in cheek) if they were going to teach the Cloze question type. I got a very blank look.

I think this is an excellent place to discuss such a question type.

In reply to Joseph Rézeau

Re: New Question types

by Jayesh Anandani -

Hi Joseph,

Thanks for those kind words.

1. Yes we can change the name. Search doesnt looks to be apt one for the same.

2. Yes we can make that change. That option will be nice rather to have 2 buttons for undo selection.

3. I will add a mockup today itself that shows that we can select group of word as well as single word.

I just wrote an example for the same at top.

Yes this will be best place to discuss work as I am keeping eye on discussions and making improvements to wiki pages accordingly.

When I start coding I may create a tracker issue and add my github link their and development related issues will be resolved there but right now this will be good place to discuss out improvements for same.

Thanks

In reply to Jayesh Anandani

Re: New Question types

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Jayesh it looks from your mockup like you have made the awesome choice of single square braces [word] as I did with my gapfill question type, and alternatives in case of programming or similar. My thinking was

1) By default every word would be selectable, i.e. it would be some sort of javascript that would toggle as selected or unselected by the students. The words that had the braces would be considered correct selections.

2). If you want to have more than one word selectable (e.g. select a whole sentence) you would delimit everything that would be togglable with the braces. So some of the text would be selectable and some not.  It would generate a repeated list of the "sentences" (or perhaps numbered stubs of sentences) and the teacher would then check or uncheck a tick box to indicate which were correct sentences.

3) You could alternatively use more syntax so e.g. {correct selectable} and {incorrect selectable}, but that is more syntax, and syntax is bad, so don't do this.....

 

Average of ratings: Useful (1)
In reply to Marcus Green

Re: New Question types

by Jayesh Anandani -

Hi Marcus,

Yes I got that delimiter idea by looking at gapfill question type itself. Thanks for that. I have updated my wiki page for Search question type.

1.) Yes it will be that way. Every word will be selectable out of which user has to select right word or words.

2.) For more than one word selection isn't it good to enclose answer in delimiter itself? Breaking sentence into parts and then allowing checkbox to select answer. I dont know whether I am viewing it in same manner or not , may be a small example can help me understand this point much better.

In reply to Marcus Green

Hilight words question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I think that the proposal is just to do 1). Each word is selectable. The teacher uses the delimiters to mark the words that are part of the correct solution.

In the proposal at the moment, there is an option to allow the delimiter to be selectable. I don't like that. I think we should just fix one and stick with it.

Like with our drag-drop questions, I would prefer to make the delimiter ... because it reduces the chance of false positives, for example if someone is writing about PHP programming.

And, as said before, I think 'Highlight words' is a better name for this question type.

Regarding how to implement this, we did this before in OpenMark, and the approach we took was to use HTML like this:

<input type="checkbox" name="word1" id="word1"><lable for="word1" class="unselected">He</label>
<input type="checkbox" name="word2" id="word2"><lable for="word2" class="unselected">ran</label>
<input type="checkbox" name="word3" id="word3"><lable for="word3" class="unselected">too</label>
<input type="checkbox" name="word4" id="word4"><lable for="word4" class="unselected">fast</label>.

Then you add CSS to hide all the checkboxes. If you do that, all that JavaScript has to do is to change the class name on the label from unselected to selected and back when the state of a checkbox changes, but the whole thing is pretty accessible.

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Hilight words question type

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Whilst a question type with single selectable words would be very useful, I think that once you release it you will have requests for multiple selectable words. I am basing this on my own experience of the early versions of my gapfill question type only allowing single word gaps and then receiving requests to allow multiple words. That is why I ventured the name text select rather than word select.

I was confused by Tims suggestion of the delimiter as ..., I thought the drag and drop question used  [ [ word] ] or have I missed something? (update, I think there is filter on this forum as I needed to put gaps between the [ character otherwise it showed up as a link smile. Also the OU dd word question uses [ [ 1 ] ] approach rather than word). 

My view of selectable delimiters was to allow avoidance of false positives with specialist questions (e.g. math or programming), but at the same time (and this is important), to make life as easy as possible for the vast majority of question creators, and the vast majority of questions created. Simpler delimiters means easier to read questions. 

If you do go for selectable delimiters it would make sense to offer a settings.php file that would allow you to add new ones or set defaults.


In reply to Jayesh Anandani

Re: New Question types

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Jashesh "When I start coding I may create a tracker issue and add my github link there..."

yes, please do that

Joseph

In reply to Joseph Rézeau

Re: New Question types

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

It may also make sense to write some very basic skeleton Unit tests.

In reply to Jayesh Anandani

Re: New Question types

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

First, can I say thanks to everyone for providing feedback to Jayesh while I was busy. I don't really feed there is much I need to add, but I will.

Overall

I think the logical order to tackle this project is

  1. Adding graphical editing to ddmarkers
  2. ddorder
  3. ddcategorise
  4. hilightwords
  5. imagepuzzle
Two reasons for that:
  • it starts by working with and enhancing existing code, and then moves on to new question types, which is a good order to learn.
  • It does the ones that are more educationally useful first.
I don't think the order of 2. and 3. makes a lot of difference, and I am happy to discuss that order.

I also think the total amount of work here is huge. I would not be surprised if we did not finish it all over the summer.

I will now comment on each sub-project in a separate post.
Minor points
On a practical matter, I think that now we have the other pages, we could cut down http://docs.moodle.org/dev/gsoc2014_proposal_jayesh a lot, but tidying up the documentation is probably not the most important thing to do.

Average of ratings: Useful (2)
In reply to Tim Hunt

Re: Graphical editing for drag-drop markers

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The editing form currently looks like this: (See http://www.open.edu/openlearnworks/mod/oucontent/view.php?id=52747&section=2.5.1 for more)

DD markers editing UI

dd marker drop zone editing UI

At the top there is a preview showing the background image, then below there is a space where you can type coordinates. At the moment, when you edit the co-ordinates, the preview is instantly updated. (Hard to see in this example, since the drop zones are small circles that are almost hidden behind the labels.

My suggestion is that very little changes. We just add drag-handles to the preview.

  • For circles one at the centre and one on the circumference to determine the radius.
  • For rectangles, one at the top left corner, and one at the bottom-right to control width and height.
  • For polygons, one at each vertex, and then some way to add or remove vertices.
The add or remove vertices bit is hardest. Adding is probably best done by letting people grab the middle of an edge, and then start dragging (like when editing a route in google maps when it gives you directions).

Removing a point - well, to be honest I would be happy to leave that as something people can only do by editing the list of coordinates, unless anyone here can think of a a good way to do it.

The other thing we should do is, if the co-ordinates are currently blank, then when you set the type of shape, it should put in typical shape to get you started, e.g. a small circle in the centre of the image, if you choose circle.

We also need to work out what to do when you change the type of shape.

Oh, and we definitely need a (?) help icon near the drop zones controls, to give examples of the three syntaxes.

In reply to Tim Hunt

Re: Graphical editing for drag-drop markers

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

On the ddmarker question would it make sense/be focus on positioning rectangular areas first as these are probably the most commonly used. Making this question type easier to use would be very useful indeed.

In reply to Tim Hunt

Drag-and-drop ordering question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The spec here looks good. Just a few minor comments.

I don't think the 'Shuffle answers' option makes any sense. We always need to shuffle, or the answer will be obvious (unless I am missing something).

I also don't understand the partial marks option. I though the partial marks would be calculated automatically, based on how close the student's response is to the right one.

I think the 'number the choices' option did not make sense at first, but actually it does, but only if you have chose the 'vertical' option. In that case, it is worth being able to number the steps as you sort them. Good for questions like "Put these steps in the right order to perform a titration experiment".

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Drag-and-drop ordering question type

by Joshua Bragg -

I am a fan of being able to control the amount of partial credit for out of order responses.  For things like your suggestion of "Put these steps in the right order to perform a titration experiment" I don't think it matters as much since there is a defined order where the order isn't dependent on a larger concept.

However, for periodic trends ordering, the trend itself is the most important concept and putting things in order is a way of evaluating that.  Consider:

Put these atoms in order of increasing size:  Si, Ba, N, O, Al, Cs, P, Sr

O, N, P, Si, Al, Sr, Ba, Cs is the correct order.   The trend is that atomic radius increases from top to bottom along the periodic table and decreases as you move left to right.  The trends are basically the patterns in two directions, vertical and horizontal.

It is not uncommon for students to have memorized one correctly but not the other (or to just get confused).  So you might see something like this as an answer: N, O, Al, Si, P, Sr, Cs, Ba.  On something as basic as this, I prefer to give this a zero score.  Basically, you can think of the trend as two independent 50% shots.  In my mind, I'd rather give no credit for this response since its is essentially the equivalent of guessing.  I prefer to leave partial credit for things where put one or two out of order but get most of it correct.  So I would increase the partial mark penalty to 2 instead of 1 to make that work.

In reply to Joshua Bragg

Re: Drag-and-drop ordering question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

My suggestion was various different rules for partial credit, of which 'all or nothing' is one. Others include 'consider every pair of items, and count the pairs that are in the right order'; and 'the length of the longest subset that is correctly ordered'.

The other thing I meant to say is that, while drag-and-drop into sentences has to resize all the boxes to be the same size, otherwise the box size gives the answer away, for dd order there is no need to do that. We can just let each box be its natural size like

[ order ] [ in ] [ these ] [ words ] [ put ]

or similar for vertical layout. For vertical layout it is probably best to make each box the same with, but they don't all have to be the same height.


In reply to Tim Hunt

Re: Drag-and-drop ordering question type

by Joshua Bragg -

My suggestion was not really an "all or nothing" suggestion.  I interpreted Jayesh's "Partial Marks" setting as "Count off this number of points out of the total number of elements for each element that is not included in the longest subset that is correctly ordered."

I'm also not entirely sure what you mean by your pair suggestion.  Could you explain a little more?  In my example with 8 elements would you have 28 combinations that you would check to see if they were in order?  My quick check says that only 5 of those 28 pairs are out of order...  That seems pretty generous.

I still think the Partial Marks setting is useful to control how much at teacher wants to count off for each mistake.  That's helpful both in my original interpretation and in what I think is your pair rule.

Do you have any other rules in mind?

In reply to Joshua Bragg

Re: Drag-and-drop ordering question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

OK, here are the methods I can think of to grade partially right ordering questions.

In general, the problem with all of these is that they are quite generous. For example the score for a random guess can be quite high.

If you save the attached file into the root of a test Moodle site, and run it, you it will apply various grading rules to all the permutations on n things for n = 2 to 8.

All-or-nothing

Right answer gets 100%. Any other answer gets 0%. If we include a choice of grading strategy, we should include this one.

Longest correct subsequence - 1

Look for the longest subsequence of the response where all the items are correctly ordered relative to each other. Subract 1 (since any 1-item list is correclty ordered) and then make that a percentage out of n - 1.

Random guess score here seems to be between 50% and 40%.

Number of correct pairs

For each pair of items, look at whether they are in the right relative order. The grade is the number of correct pairs out of the total number of pairs.

As it happens, this seems to be the same as "starting with the total number of pairs, subtract 1 for each swap of two neighbouring items required to get from the student's response to the right answer" which makes it quite a natural measure.

However, this method has a random-guess score of 50%. That is too high.

To fix that, my suggestion would be to square the score (so, 50% -> 25%). I can't think of a way to justify that to a non-mathematician. A simpler hack would be to just subtract 2, rather than 1, for each incorrect pair.

Various distance based measures

The idea here is, for each item, to look at how far away it is from the right place, and the combine the distances for each item in some way, and express that as a percentage of the maximum possible. Having tried all the possibilities, a root-mean-square distance seems to work best. With that, random guess score seems to be around 25%.


Grading methods I think we should not use:

Number of items in the right position

This is what you would get if you made an ordering question with the OU's drag-and-drop into text question type. It is not good, because it often awards a higher mark to worse answers than to ones that are closer to being right. E.g. with an odd number of items, an complely wrong answer (order backwards) gits a mark.

n - longest reverse subsequence

This is kind-of the opposite of the longest correct subsequence one. Find the longest subsequence that is in reverse order. Subtract it's length from n, and make that a percentage out of n - 1.

Random guess score here seems to be between 50% and 60%, so more generous than, Longest correct subsequence - 1. It is also a bit less natural.

Average of ratings: Useful (2)
In reply to Tim Hunt

Re: Drag-and-drop ordering question type

by Tobias Halbherr -

Dear Jayesh, Joshua, Tim,

We use Moodle for high-stakes online-exams in secure environments with safe exam browser at our university (~40 exams with ~5000 grades given) and would much appreciate an ordering question-type with an improved mechanics in the scoring of partially correct answers, as we do not use the current ordering question type for exams at all due to this reason.

We have conducted a brief literature review on ordering question types, however we could not find any empirical validation studies on scoring schemes in ordering questions (search in research databeses or e.g. Haladyna & Rodriguez, 2013).

Absent research based recommendations, I would also support the scoring method "pairwise comparison", with the following reasoning:

An ordered set of N elements contains (N(N-1)/2) pairwise comparisons. In a set ordered by a candidate, any number of these pairwise comparisons may be correct or incorrect. Thus, I would agree that the number of correct pairwise comparisons in the ordered set should be the basis for a metric for awarding subpoints. 

example 1: (1, 2, 3, 4, 5) -> 100%

example 2: (5, 4, 3, 2, 1) -> 0%

example 3: (5, 1, 2, 3, 4) -> 40%

etc.

The random guess score of 50%correct is not a problem per se from a psychometrical point of view (it simply needs to be accounted for when defining the grading scale), but typically finds little acceptance with examiners and students. To resolve this issue I would suggest making the option of a transformation of the calculated %correct score in a similar fashion to the 'kprime' scoring method for multiple true-false questions available (Krebs, 1997):

method 1: Linear mapping:
                   Points are mapped to the range from 50%correct to 100%correct pairwise comparison scores;
                   <50%correct scores are not awarded any points
                   i.e.: points_awarded = (%correct - 50%) * 2
                   This has the advantage over squaring of being a linear transformation, with the expected value of random guess scores being 0.
method 2: All or nothing (see Tim's post)

method 3: Manual

                  Examiners can define how many (sub)points they want to award for any number of %correct pairwise comparison ranges.


Scoring methods I think should not be used:

  • Number of items in the right position:
    This method leads to absurd results: (5, 1, 2, 3, 4) -> 0 points; while (5, 4, 3, 2, 1) -> 0.2 points
  • Other position based methods:
    e.g.: points = (max_distance - distance)/max_distance
    (5, 1, 2, 3, 4) -> 33%, while also (5, 2, 3, 4, 1) -> 33%               [the former is clearly the better solution]
  • Subsequence based methods, e.g. [(subsequence length - 1)/(n-1) ]:
    These methods do not offer any advantages over pairwise comparisons, they do however have certain disadvantages because they award getting the details right and do not award getting the bigger picture right:
    (3, 1, 4, 2) -> 33%, while also (4, 1, 3, 2) -> 33%                        [the former is clearly the better solution]
    (2, 1, 4, 3, 6, 5, 8, 7, 10, 9) -> 22.2%, while (6, 7, 8, 9, 10, 1, 2, 3, 4, 5) -> 44.4%           [the former is the better solution]
  • Any non-linear transformations:
    In contrast to linear transformations, non-linear transformations are hard to justify, explain and communicate to students, examiners or an appeal's board (!). Furthermore, from a psychometric point of view they are a very complex and hotly debated topic and require proper justification.


These are my thoughts. I hope they are helpful and would like to thank you, Jayesh, very much for sharing your project and offering the opportunity for giving input via the forum.


Best,

Tobias

Average of ratings: Useful (3)
In reply to Jayesh Anandani

Re: New Question types

by suman bogati -

Hi Jayesh,

How is the  progress on  ddmarker question type, I am not able to see any information about the development process of this question type.

Are you in touch with this question type? If yes then Can I see the source code of development process or any information that you can provide?


Thank you.


In reply to suman bogati

Re: New Question types

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

ddmarker already exists: https://moodle.org/plugins/view.php?plugin=qtype_ddmarker

The part of this project was to improve the editing UI, but that did not get finished. The necessary JS proved too tricky.

In reply to Jayesh Anandani

Re: New Question types

by Elsa Schneider -

Hello,

Thank you for your ideas and work.

I would like to know if this project is still active. I am very interested in your ddclassify question, but I can't find any information about it. 

Is there a relation with this discussion ? Do you know where I could find the source code or -at least- the skeletton of the source code for this question ?


Thank you for your response,

Kind regards