-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Show a simple mult choice .txt quiz #26
Comments
Have you tried copying an example out of the README and pasting that into a .txt file? There's an existing request for separate example files in #1, and I'll try to do that as I have time. If you can upload a sample .txt file that doesn't work, or paste the content on GitHub, that would be helpful. There may be ways that the error messages can be improved. |
Thank you, Geoffrey for your quick reply! I wasn't looking for it in my email. Sorry I'm late in responding.
I saw bits of text of what questions can look like in the README, but not a self-contained file. I worry that I have no markdown characters in my file. It's a text file generated by a fortran program I wrote which generates exams from my database. It's really strictly text with no markdown coding.
I'll attach a version of the quiz file I'm playing with to see if I can get it to go through successfully, and also the original quiz which is as it comes out of my FORTRAN program.
On Thursday, August 27, 2020, 08:27:01 PM PDT, Geoffrey Poore <[email protected]> wrote:
Have you tried copying an example out of the README and pasting that into a .txt file?
There's an existing request for separate example files in #1, and I'll try to do that as I have time.
If you can upload a sample .txt file that doesn't work, or paste the content on GitHub, that would be helpful. There may be ways that the error messages can be improved.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Quiz title: Quiz #1
1. Your instructor has distilled into a single sentence, perhaps
the key to a life in harmony with Reality and happiness. It is:
a) I just want to know how to make my existing friends LIKE me
b) I want to believe
c) Reality is that which, when you stop believing in it,
goes away
d) Well I was Wrong!
*e) I just want to know the Truth
2. What was the true nature of the "canals" seen on Mars by
some early astronomers?
a) they were a network to bring water from the poles,
constructed by intelligent Martians
b) they were fault scarps
*c) they were an optical illusion caused by the mind's
tendency to fit difficult-to-perceive observed features
into pre-existing categories
d) they were a hoax designed by the early astronomers to
sell the notion of Martians to a gullible public
|
In the quiz, all the lines after the first line with "Quiz title" are indented by two spaces. Once I removed that, everything worked for me. Titles, questions, answers, etc. all need to start on a line with no indentation. Any additional lines, including hard-wrapped lines, should be indented.
|
thank you! That's an easy rule that somehow escaped my notice!
On Friday, August 28, 2020, 05:40:47 AM PDT, Geoffrey Poore <[email protected]> wrote:
In the quiz, all the lines after the first line with "Quiz title" are indented by two spaces. Once I removed that, everything worked for me. Titles, questions, answers, etc. all need to start on a line with no indentation. Any additional lines, including hard-wrapped lines, should be indented.
Quiz title: Quiz #11. Your instructor has distilled into a single sentence, perhaps the key to a life in harmony with Reality and happiness. It is:a) I just want to know how to make my existing friends LIKE meb) I want to believec) Reality is that which, when you stop believing in it, goes awayd) Well I was Wrong!*e) I just want to know the Truth2. What was the true nature of the "canals" seen on Mars by some early astronomers?a) they were a network to bring water from the poles, constructed by intelligent Martiansb) they were fault scarps*c) they were an optical illusion caused by the mind's tendency to fit difficult-to-perceive observed features into pre-existing categoriesd) they were a hoax designed by the early astronomers to sell the notion of Martians to a gullible public
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Like many, I'm suffering from having to use Canvas when I have been used to using in classroom quizzes on paper. I've got .txt versions of my quizzes and found text2qti as (the only, so far as I can tell) possible solution to import them into Canvas. I've got Anaconda3, and got text2qti installed, and am now trying to process a quiz. but it keeps dumping with errors. Apparently my quiz is not in proper text format. I've tried changing it around in any way I could think of after reading your instructions - still it keeps dumping. It would be really great if in the documentation you could provide a very simple short 3 question complete multiple choice simple .txt file that will process successfully, and then we can just ape it in our own text quizzes. Mine are very simple and don't need any of the higher options. No images, no blocks, no multiple answers... My questions have only 1 right answer, which I put a * in front of. Each possible answer starts with a a) or b) or c) etc. Each multiple line block of lines defining a question or defining an answer have the text beginning in the same column as instructed. I've tried using 4 space (space bar) indentation, no indentation, and nothing succeeds. I keep getting untrapped errors inside the routines, and finishing with an error "Question must provide choices".
The text was updated successfully, but these errors were encountered: