Skip to content

From a directory of exam questions, generate an exam with each question randomly chosen from a pool of questions.

Notifications You must be signed in to change notification settings

cdbeon/exam-randomizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

exam-randomizer

From a directory of exam questions, generate an exam with each question randomly chosen from a pool of questions.

Three different options to set up directory:

  1. Option 1 - Separate Files for Each Question Option
  2. Option 2 - One File With All Options For Each Question
  3. Option 3 - One File For All Questions

Option 1 - Separate Files for Each Question Option

Directory Structure

In order to run this script, the directory should be set up as follows:

  • All files should be centralized in one directory (e.g. exam).
  • There should be a _config.yml file located inside of the directory.
  • There should be a _qs directory that contains all exam questions.
  • Each exam question should have its own separate directory (e.g. q1, q2, etc.)
  • Each question directory should have at least

(In some directory called exam)

.
├── _config.yml
├── _qs
│   ├── q1
|   |   ├── 1-1.txt
|   |   ├── 1-2.txt
|   |   ├── 1-3.txt
|   |   └── ...
│   ├── q1
|   |   ├── 2-1.txt
|   |   ├── 2-2.txt
|   |   ├── 2-3.txt
|   |   └── ...
|   ├── q3
|   ├── q4
|   ├── q5
|   ├── q6
|   └── ...

Option 2 - One File With All Options For Each Question


Option 3 - One File For All Questions

About

From a directory of exam questions, generate an exam with each question randomly chosen from a pool of questions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published