testgen /

Filename Size Date modified Message
66 B
381 B
1.1 KB
644 B
336 B
1.3 KB
2.2 KB

The module provides a set of utilities for creating tests from a set of testbanks. A testbank is a text file with labelled questions. The format of the testbank is:

%%b <label1> Question 1 %%e

%%b <label2> Question 2 %%e

A call to testgen.parseQuestionBank(f) where f if a file object referring to the test bank, will return a dictionary of label:question relations.