0% found this document useful (0 votes)
84 views

06c2 Moodle Add An Activity Quiz XML

This document discusses how to add a multiple-choice quiz to a Moodle course by preparing quiz questions in a text file, converting the file to XML format using an online tool, importing the XML file into Moodle, and adding the questions to a new quiz activity. The process involves preparing questions in the correct format, saving them as a text file, uploading the file to a website to convert it to XML, downloading the XML file, importing it into an existing Moodle course, adding the questions to a new quiz, and previewing or publishing the quiz.

Uploaded by

Vesna Okiljevic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views

06c2 Moodle Add An Activity Quiz XML

This document discusses how to add a multiple-choice quiz to a Moodle course by preparing quiz questions in a text file, converting the file to XML format using an online tool, importing the XML file into Moodle, and adding the questions to a new quiz activity. The process involves preparing questions in the correct format, saving them as a text file, uploading the file to a website to convert it to XML, downloading the XML file, importing it into an existing Moodle course, adding the questions to a new quiz, and previewing or publishing the quiz.

Uploaded by

Vesna Okiljevic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Wazzas QuickStart

6c2. Moodle Activity: Multiple-choice Quiz with XML

moodlenotes.wazmac.com

Document Overview

This document is part of a series of documents designed for teachers who are new
to Moodle, but who may also have some responsibility in managing its
implementation in a school environment.

A previous document in this series discussed how to create a new Course within
your Moodle framework. Courses can be organised into Topics or Weeks, and each
Topic (or Week) can then be populated with Resources and Activities.

This document discusses how add a new Activity - a multiple-choice Quiz - to an


existing Course within your Moodle framework.

In particular, this document explains how to use an online conversion process to


convert questions in a text document to a Moodle Quiz.

This document assumes that you have already setup your Moodle site framework
and created a Course, as described in the previous documents in this series.

Some of the processes described in this document assume that you have Administrator access or Course
Creator / Editing Teacher access to be able to modify a Moodle course.

If you dont have the appropriate access to be able to undertake these activities, contact your schools Moodle
administrator. Alternatively, if you would like to experiment with the processes described in this document, you
can setup a free Moodle account (with you as the administrator) at www.keytoschool.com.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 1
1. Preparing your Quiz Questions

Rather than entering quiz questions directly in the Moodle quiz builder, we
will prepare our Quiz questions in a text editor, such as TextEdit (Mac) or
Notepad (Win).

There a number of different options for Moodle quizzes - multiple choice,


short answer, true/false, cloze, etc. It is important when creating the text
document to use the correct formatting for the type of quiz being created.

You can visit http://bit.ly/lq3GVv to see some correctly formatted examples


for a variety of quizzes.

The information in this document refers to the creation of a multiple-choice


Quiz, though the process is the same for other quiz formats.

1.1. Open your text editor and create your quiz questions and answers,
following the formatting example at the above web site, similar to the
multiple-choice example below. Line breaks and spelling are critical.

1.2. Save the text file.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 2
1.3. Open a web browser and go to http://vletools.com/questions/quiz

1.4. Copy and paste your quiz questions (or upload your saved file) to
the Input field on the screen.

1.5. Click the Preview button to see what your quiz will look like. (You
may want to experiment with some of the options to see how these
options vary the output.)

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 3
1.6. Click on the Download button to create a data file, known as an xml
file, which will be saved to your computer.

An xml file is a computer file (eXtensible Markup Language) that


contains data in a standard format.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 4
2. Importing your quiz questions into your course

2.1. Open your schools Moodle site in a web browser.

2.2. Login to Moodle as an editing teacher, and navigate to an existing


course, or create a new course, where you want to add a new Quiz
activity.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 5
2.3. Click to enter the Course where you are going to add the Quiz.

2.4. Click on the Turn editing on button.

2.5. Click on the Add an activity menu and choose the Quiz option.

2.6. Give the quiz a name, and provide a description of the quiz. (The
description is optional)

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 6
2.7. There are a number of options for the Quiz activity - Attempts
allowed, penalties, etc.

Browse the list of options and make appropriate selections.

2.8. Click on the Save and Display button.

2.9. You will see that No questions have been added yet.

2.10. Click on the Import button, and select the Moodle XML format
option.

2.11. Scroll down to Import from file upload, and select the xml file that
was saved from the xml file conversion site.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 7
2.12. Click on the Upload this file button.

You will see a list of the imported questions.

2.13. Click on the Continue button.

2.14. You will see a list of the questions that have been imported - your
question bank.

These are the questions that are available - they have been
imported into Moodle - but are not yet imported into your new Quiz.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 8
2.15. Click on the Quiz button, and you will see that No questions have
been added yet to your quiz.

2.16. On the right side of the window, select all the questions that you
have imported for your Quiz activity.

2.17. Click on the < Add to quiz button.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 9
2.18. You will see a list of the questions in your new Quiz.

2.19. You can use the up and down arrows to re-order individual
questions, if necessary. (Alternatively, click on the Show reordering
tool option at the bottom of the list of questions, using the
numbering system adjacent to each question, to set the correct
order.)

2.20. Click on the Save changes button.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 10
2.21. Use the breadcrumbs link at the top of the screen to return to the
Course.

2.22. In the Course, click on the Quiz title, then on the Preview quiz now
button to see your Quiz.

2.23. Back in the main part of the Course, add a Label, etc to organise
your Quiz in your Course layout.

2.24. If you are implementing the visual format discussed in previous


documents in this series you may consider adding a Quiz icon to the
Course summary.

2.25. Now - log on as a test student to check out your handiwork, then
check (as a Teacher) how the students quiz results are submitted to
you.

Wazzas QuickStart - 6c2. Getting Started with Moodle - Adding a Quiz activity with XML 11

You might also like