You are here

aiken_example.txt in Quiz 6.5

Same filename and directory in other branches
  1. 6.3 Examples/questions_import/aiken_example.txt
# This is a sample aiken import file. It allows you to create a bulk of quiz questions from a text file.

# Instructions
# 1. Lines starts with # symbol are comment. These lines will be ignore.
# 2. First line of a question must be a question type (multichoice, matching, true_false, long_answer, short_answer or quiz_directions)
# 3. Use nil, if you have no feedbacks.
# 4. You must use A. B. C. .... or A) B) C) ... to represent multichoice question options.
# 5. End of the question is represented by a line space.
# We encourage you to reports bugs and feature request here http://drupal.org/project/issues/quiz.

# Multichoice Format

# Type
# Question
# A. Choice 1
# feedback
# B. Choice 2
# feedback
# C. Choice 3
# feedback
# D. Choice 4
# feedback
# Answer: D

# Multichoice Example

multichoice
What is the correct answer to this question?
A. Is it this one?
nil
B. Maybe this answer?
nil
C. Possibly this one?
nil
D. Must be this one!
nil
ANSWER: D

multichoice
Which LMS has the most quiz import formats?
A) Moodle
moodle sucks
B) ATutor
sorry no idea
C) Claroline
nil
D) Blackboard
good but evil
E) WebCT
no idea
F) Ilias
what is it ?
ANSWER: A

# True or False Format

# question type
# Question
# true/false
# feedback or reason

# True or False Example

true_false
is Moodle better than Drupal for blogging site ?
false
moodle is a LMS not suitable for blogging

# Short Answer Format

# Question
# Answer
# max score
# Evaluation type (case sensitive match, case insensitive match, regular expression match, manually score match)

# Short Answer Example

short_answer
what does PHP stands for ?
PHP Hypertext Preprocessor
1
case insensitive match

#Long Answers Format

# Question
# Max Score

# Long answer Example

long_answer
Write an essay on Drupal.
1

File

Examples/questions_import/aiken_example.txt
View source
  1. # This is a sample aiken import file. It allows you to create a bulk of quiz questions from a text file.
  2. # Instructions
  3. # 1. Lines starts with # symbol are comment. These lines will be ignore.
  4. # 2. First line of a question must be a question type (multichoice, matching, true_false, long_answer, short_answer or quiz_directions)
  5. # 3. Use nil, if you have no feedbacks.
  6. # 4. You must use A. B. C. .... or A) B) C) ... to represent multichoice question options.
  7. # 5. End of the question is represented by a line space.
  8. # We encourage you to reports bugs and feature request here http://drupal.org/project/issues/quiz.
  9. # Multichoice Format
  10. # Type
  11. # Question
  12. # A. Choice 1
  13. # feedback
  14. # B. Choice 2
  15. # feedback
  16. # C. Choice 3
  17. # feedback
  18. # D. Choice 4
  19. # feedback
  20. # Answer: D
  21. # Multichoice Example
  22. multichoice
  23. What is the correct answer to this question?
  24. A. Is it this one?
  25. nil
  26. B. Maybe this answer?
  27. nil
  28. C. Possibly this one?
  29. nil
  30. D. Must be this one!
  31. nil
  32. ANSWER: D
  33. multichoice
  34. Which LMS has the most quiz import formats?
  35. A) Moodle
  36. moodle sucks
  37. B) ATutor
  38. sorry no idea
  39. C) Claroline
  40. nil
  41. D) Blackboard
  42. good but evil
  43. E) WebCT
  44. no idea
  45. F) Ilias
  46. what is it ?
  47. ANSWER: A
  48. # True or False Format
  49. # question type
  50. # Question
  51. # true/false
  52. # feedback or reason
  53. # True or False Example
  54. true_false
  55. is Moodle better than Drupal for blogging site ?
  56. false
  57. moodle is a LMS not suitable for blogging
  58. # Short Answer Format
  59. # Question
  60. # Answer
  61. # max score
  62. # Evaluation type (case sensitive match, case insensitive match, regular expression match, manually score match)
  63. # Short Answer Example
  64. short_answer
  65. what does PHP stands for ?
  66. PHP Hypertext Preprocessor
  67. 1
  68. case insensitive match
  69. #Long Answers Format
  70. # Question
  71. # Max Score
  72. # Long answer Example
  73. long_answer
  74. Write an essay on Drupal.
  75. 1