Hi,
I think I wasnt clear when I asked a question on format of text files. This question is similar to http://moodle.org/mod/forum/discuss.php?d=1260, but I need some more info. I am a new user and would like to upload/import a bunch of quizzes so that they are usable when school starts. This is for a grammar class and currently we have a ton of text files which have many questions in this format.
question1_text0=Which of the following sentences does NOT contain a prepositional phrase? (there may be more than one correct answer)\n
question1_answer0=\ta) The bike sped down the street.
question1_answer0_correct=false
question1_answer0_feedback=A is incorrect because "The bike sped down the street" \ncontains the prepositional phrase "down the street".
question1_answer1=\tb) His name is James.
question1_answer1_correct=true
question1_answer1_feedback=B is correct because "His name is James" does not contain \na preposition and without a preposition a prepositional phrase cannot exist.
question1_answer2=\tc) We ran on Saturday.
question1_answer2_correct=false
question1_answer2_feedback=C is incorrect because "We ran on Saturday" contains the \nprepositional phrase "on Saturday".
question1_answer3=\td) I decorated the house yesterday.
question1_answer3_correct=true
question1_answer3_feedback=D is correct because "I decorated the house" lacks the components \nof a prepositional phrase.
question1_category=A
What format do I need to save my text file in for it to be readable by moodle. I tried creating a quiz through moodle and was able to create questions and select multiple correct answers and feedback and category. That works fine when a single question needs to be created each time. We have so many text files that it would take really long to create each question. Could someone please guide me on the format the text file needs to be stored in for more than one correct answer, how do I specify feeback and category. Also once I create the text file, do I save it as quiz.txt or quiz.doc to import it??
Any help would be appreciated as we need to do this soon.