Quiz Export/Import

The Quiz Export/Import addon allows you to export or import an existing Quiz, to be used later on in a Tutor LMS environment. This means you can reuse existing quiz material for a new quiz and also use it as a starting block which saves you both time and effort.

Note: Keep in mind that this export/import feature only works for platforms built with Tutor LMS.

To make it simpler to understand, let’s go with a scenario. Suppose you need to create a new quiz whose questions are quite similar to the ones in an existing quiz in the same course or a different one. Using the Import/Export feature, you can export the existing quiz in the form of a CSV file.

Then, you can simply visit the course where the new quiz will be and import the CSV file that you exported. You can then save the imported quiz as it is or even modify it to suit your needs.

Getting Started

Now, to get started with this addon, make sure you have the latest version of Tutor LMS free & premium versions. Then, make sure you already have a quiz you can export. To learn how to do that hop over to this documentation.

Enable Quiz Export/Import from the Addons

Quiz export import addon

Next, to access the Quiz Export/Import features, you need to first enable the addon. To do this, navigate to WP Admin > Tutor LMS Pro > Addons and enable the Quiz Export/Import by clicking on the toggle button below it.

Export Quiz

Once you’ve enabled the addon, visit the course that has the quiz you want to export in edit mode. In the Course Builder, locate the quiz, and you’ll find the export icon in the right side.

Once you click on it, your quiz will be exported as a CSV file format to your local device.

Import Quiz

Import Tutor LMS quizzes

Next, it’s time to Import a Quiz. Create a new course or enter an existing one in edit mode. In the Course Builder, you’ll find the Import Quiz button.

Finally, click on the Import Quiz button and it will open the file manager dialog box. Now, select the file you want to upload and it will import the quiz.

Finish off by clicking on Publish/Update to save everything.

Sample CSV Download

You can download the sample CSV file from the button below and use it as a reference while creating your own quiz import file.

CSV Property Reference

In this section, we’ll share all the properties you can use to create a custom CSV file.

Supported Question Types

Here are the supported question types of Tutor LMS:

Question TypeDescription
true_falseTrue or False question
single_choiceSingle correct answer
fill_in_the_blankFill in the blank question
matchingMatching pairs question
short_answerShort text answer
image_answeringImage-based answer selection
open_endedLong descriptive answer
orderingOrdering or sequence question

Quiz Settings Row

Here’s the list of properties you can use while preparing the CSV file.

PropertyDescription
Quiz TitleWrite the quiz question
Quiz DescriptionOptional quiz description
Time LimitQuiz duration value
Time TypeExample: minutes, hours, days
Hide Quiz TimeUse 1 to hide time, 0 to show
Attempts AllowedMaximum number of attempts
Passing GradePassing percentage
Question Display LimitNumber of questions shown
Shuffle QuestionsUse 1 to enable, 0 to disable
Question LayoutExample: single_question
Question OrderExample: rand for random order
Short Answer Character LimitCharacter limit for short answers
Open Ended Character LimitMinimum character count
Open Ended Word LimitMaximum word count
Retry ModeUse retry

Question Row Properties

Use the following properties to add different the quiz settings:

PropertyDescription
Row TypeMust be question
Question TitleThe main quiz question
Question DescriptionOptional question description with HTML support
Question TypeDefines the question type
MarksMarks assigned to the question
Question OrderPosition of the question
RequiredUse 1 for required
Randomize AnswersUse 1 to shuffle answers
Show PointsUse 1 to display points
Answer ExplanationExplanation shown after submission

Answer Row Properties

PropertyDescription
Row TypeMust be answer
Answer TitleAnswer text or label
Answer TypeExample: text or text_image
Is CorrectUse 1 for correct answer, 0 for incorrect
Image Attachment IDRequired for image-based answers
Match or Correct ValueUsed for matching and fill in the blank questions
Answer OrderPosition of the answer

Special Formatting Examples

Here are some special formatting format which you can use to customize the quiz questions and answers even more.

Fill in the Blank Format

Use curly braces {} to define the correct answer.

Example: WordPress is a {open} source platform.

Matching Question Format

Use the sixth column of the answer row to define the matching pair.

Example:

Left ItemMatching Value
AB
CD

Image Answering Questions

For image-based answers:

  • Use text_image as the answer type.
  • Provide valid image attachment IDs.
  • Make sure the images already exist in the WordPress media library.

Was this helpful?