Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: qformat/simplecsv.

qformat/simplecsv: Difference between revisions

From MoodleDocs
(Added page redirect to better-named page)
 
Line 1: Line 1:
{{Infobox plugin
#Redirect[[qformat simplecsv]]
|type = Question format, CSV format
|entry = https://moodle.org/plugins/qformat_simplecsv
|tracker = https://github.com/PawelSuwinski/moodle-qformat_simplecsv/issues
|discussion = https://github.com/PawelSuwinski/moodle-qformat_simplecsv/issues
|maintainer = [[User:Paweł Suwiński|Paweł Suwiński]]
|float = right
}}
The Simple CSV format is a very simple way of creating multiple choice questions using a '''[[CSV]]''' (Comma separated value) file.
The format looks like this:
  "Category","Question text","CA 1",...,"CA n","","WA 1", ... ,"WA m"
That is,
+ CA - Correct Answer, WA - Wrong Answer
+ one question - one row
+ en empty cell sepparates correct answers from wrong ones
+ category column is optional and it is used when selected during import
+ numbers of CAs and WAs may differ from each other inside the row and between rows
 
[[File:qformat_simplecsv1.jpg|600px]]
 
IMPORTANT NOTES:
 
* You have to save the file in a [[CSV]] format. Don't save it as an Excel document or anything like that.
* Non-[[ASCII]] characters like 'quotes' can cause import errors. To avoid this, always save your text file in [[UTF-8]] encoding (most text editors, even [https://www.libreoffice.org/ Libre Office], will ask you).
 
==See also==
* [[Import questions]]
* [[qformat/csv]]
 
 
[[Category:Questions]]
 
[[es:qformat/simplecsv]]

Latest revision as of 16:18, 1 September 2020

Redirect to: