text2qti icon indicating copy to clipboard operation
text2qti copied to clipboard

kind of questions

Open dragonxtek opened this issue 4 years ago • 7 comments

This project has compatibility with:

  • True/False questions
  • Question with file upload
  • Formula question

Can you upload a .txt with every kind of question as example? Thanks

dragonxtek avatar Apr 25 '20 02:04 dragonxtek

Examples are provided in the readme.

andreasmhallberg avatar May 05 '20 10:05 andreasmhallberg

I can't find examples in readme for:

  • multiple answer
  • matching question
  • multiple dropdown question
  • multiple blanks question
  • question with file upload

Can you add examples for them? How can I change the amount of points per question?

dragonxtek avatar May 07 '20 15:05 dragonxtek

@dragonxtek There is currently not support for any of those question types. I'm planning to add a few more question types over the next few weeks, especially multiple answer, but don't necessarily have plans to add support for all question types supported by Canvas. If anyone wants to create support and open a pull request, I'm happy to consider that.

There is also not support for changing points per question. However, I think everything is in place to add support for that, and will add it soon.

While the README does currently have examples of everything that is possible, I think that a separate directory of example files would be useful, and will add that at some point.

gpoore avatar May 07 '20 15:05 gpoore

Hello @gpoore ,

First, thank you for this fantastic project. One of our course requires multiple blanks questions and multiple dropdown questions, so I forked your repo (v0.3) and added support for these two (https://github.com/substance9/text2qti). The examples of the markdown text for these two types of questions in current implementation are listed below. Do you think maybe I could create a pull request for this? If so, do you have any suggestions? I am also considering changing the way to mark the reference word in questions and answers from double parentheses to bracket...

Title: Fill in multiple blanks
Points: 10
8.  In the box below, every place you want to show an answer box, type a reference word (no spaces) surrounded by brackets(i.e. "Roses are ((color1)), violets are ((color2))")
... General question feedback.
<>    ((color1))    red
<>    ((color1))    RED
<>    ((color1))    Red
<>    ((color2))    BLUE

Title: Multiple dropdowns
Points: 10
9.  In the box below, every place you want to show an answer box, type a reference word (no spaces) surrounded by brackets(i.e. "Roses are ((color1)), violets are ((color2))")
... General question feedback.
{*}   ((color1))   red
{ }   ((color1))  RED
{ }   ((color1))  Red
{*}   ((color2))  BLUE
{ }   ((color2))   Blue

substance9 avatar Jul 17 '20 18:07 substance9

@substance9 Thanks for working on those question types! I'd be happy to help refine this and accept a pull request. I've created a new issue to focus on this: #17. We can discuss this further there, and I've included some general comments below.

I have a few suggestions about the format. I think it would be nice to avoid typing things like ((color1)) so many times. Also, I agree that something besides double parentheses might be better, although parentheses work. Here's one option...it's probably worth thinking a bit more about what symbols to use:

Title: Fill in multiple blanks
Points: 10
8.  In the box below, every place you want to show an answer box, type a reference word (no spaces) surrounded by brackets(i.e. "Roses are [[color1]], violets are [[color2]]")
... General question feedback.
[[color1]]
* red
* RED
* Red
[[color2]]
* BLUE

Title: Multiple dropdowns
Points: 10
9.  In the box below, every place you want to show an answer box, type a reference word (no spaces) surrounded by brackets(i.e. "Roses are ||color1||, violets are ||color2||")
... General question feedback.
||color1||
* red
_ RED
_ Red
||color2||
* BLUE
_ Blue

Once we discuss the text format some more and are happy with that, I can look at the code to see if I have any suggestions there. I have a lot going on with preparations for the fall semester, but I'll try to reply promptly as this develops.

gpoore avatar Jul 17 '20 18:07 gpoore

In all your spare time :-) I was wondering if support might be added for sequencing (ordering) questions. These can be powerful when dealing with temporal or spatial organizations; lots of those in Biology. Thanks for your great work so far.

WeeBeasties avatar Oct 29 '20 03:10 WeeBeasties

@WeeBeasties Currently, text2qti only supports QTI version 1.2, and I don't believe that can do ordering questions. If support for QTI version 2.2 is added at some point, then a broader range of questions will become possible. Adding 2.2 support is certainly possible, but not something I anticipate having time for in the foreseeable future. There's an existing issue for 2.2 in #8 .

gpoore avatar Nov 04 '20 01:11 gpoore