Posts made by Joseph Rézeau

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Jules,

Just as you thought, cross-posting (i.e. posting exactly the same question in more than one place) is discouraged in these forums.wink

I have answered your question in the Quiz forum. And no, the Lesson module is not suitable for what you want to do.

Joseph

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Sami,

You certainly do not have to create a Quiz if you want to create categories and create questions for those categories. Just go directly to the Categories page.

The way to do this depends if you are using moodle version 1.9 or 2.0, but it is fairly easy to find out. smile

PS.- Have you read the documentation?

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

I have examined the export_Truefalse GIFT file you attached.

1.- The category you exported contained 2 multianswer questions, which cannot be exported in the GIFT format.

2.- Your file contains 3 TRUE/FALSE questions, one ("Isra University main branch is in Lahore") with FALSE as correct answer and 2 with TRUE as correct answer. This shows that your export feature works OK.

3.- I have removed from your text file all questions except for those 3 TRUE/FALSE questions and imported them into my 1.9 moodle course. There is no problem, the question "Isra University main branch is in Lahore" keeps its "FALSE" value. So I cannot reproduce your problem.

4.- I am attaching a simple GIFT file with 2 TRUE/FALSE questions. Please import it to your moodle site and tell us the result.

Hope that helps,

Joseph

Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Using Moodle 1.9.11 (Build: 20110221)

Cannot reproduce the problem. Exporting and re-importing GIFT file of category with TRUE/FALSE questions in it works fine.

If you examine the exported GIFT file, are the TRUE / FALSE settings correct (as in see below)? Which language are you using for your questions? Do you have this problem if you create TRUE/FALSE questions in English?

You should try to pinpoint if the problem resides in the export process (i.e. is the GIFT exported file OK) or in the import process.

Joseph

Sample GIFT file:

// question: 0  name: Switch category to $course$/Default for Course Fullname 101/truefalse
$CATEGORY: $course$/Default for Course Fullname 101/truefalse


// question: 732  name: animal
::animal::[html]the pigeon is an animal{TRUE#wrong #correct }


// question: 733  name: flower
::flower::[html]the cat is a flower{FALSE# sorry, cat is not a flower # correct, the cat is not a flower! }