Use CSV to write or edit many questions in a spreadsheet. Open CSV format on the Import / Export screen for a short version of this article, and download the sample CSV to start from.
[Screenshot: 09-04-csv-format.png, the CSV format panel open on the Import / Export screen]
The columns
The first row holds the column headings, in this exact order:
title, type, question_text, marks, status, subjects, exam_types, difficulty, tags, explanation, hint, answers, correct, scoring_mode, case_sensitive, cloze_text
If the headings do not match, the import stops with “The column headings in this CSV do not match the ones the importer expects. Download the sample CSV and use its headings.”
| Column | What it holds |
|---|---|
| title | The question’s title. Required. |
| type | single_choice, multiple_choice, sorting, free_text, matrix_sorting, cloze or assessment |
| question_text | The question learners read |
| marks | The default marks |
| status | publish or draft, used when Status for imported questions is Keep from file when present |
| subjects | Subject paths, such as Math > Algebra |
| exam_types | Exam type names |
| difficulty | One difficulty level name |
| tags | Tag names |
| explanation | Shown after the answer |
| hint | The question’s hint |
| answers | The answers, as described below |
| correct | For choice questions, the positions of the correct options |
| scoring_mode | all_or_nothing, partial or per_item, as described below |
| case_sensitive | 1 to match capital letters exactly, for free text and cloze |
| cloze_text | The text with blanks, for cloze questions |
Lists in one cell
Separate several values with a pipe: Algebra|Geometry. To write a backslash, a pipe, or a colon beside another colon inside a value, put a backslash before it: \\, \| and \:.
The answers column by type
| Type | answers | correct |
|---|---|---|
| single_choice | The option texts: `Paris | London |
| multiple_choice | The option texts | Several positions: `1 |
| sorting | The items in the correct order | Empty |
| free_text | The accepted answers: `colour | color` |
| matrix_sorting | criterion::element pairs: `Mammal::Whale | Bird::Eagle` |
| assessment | text::points pairs: `Strongly agree::5 | Neutral::3` |
| cloze | Empty. Put the text in cloze_text: `Water boils at {100 | one hundred} degrees.` |
Scoring modes
- multiple_choice: all_or_nothing or partial. Empty means all_or_nothing.
- sorting: all_or_nothing or per_item. Empty means all_or_nothing.
- matrix_sorting and cloze: per_item or all_or_nothing. Empty means per_item.
Spreadsheet safety
When NorioExam exports a CSV, a cell that starts with =, +, – or @ gets an apostrophe in front, so a spreadsheet does not run it as a formula. Leave Remove the apostrophe exports add on when you import the file again, and the apostrophe is taken away.