Formatting Text Files for Import

Previous   Contents   Next  

Each question must have a question header on a separate line above the question. The first header line in the file should contain the question type, chapter number, question number and other optional information. The answer choices for multiple choice questions should be entered sequentially, as shown in the example below. Each answer choice for a matching question should be listed on a separate line and should be preceded by the appropriate letter or number (see the Sample Import File for an example). If answer text is entered, it should follow the question text and be preceded by an answer header. Explanations can be included with the answer or inserted following an explanation header. All other information in the file (question numbers, tabs, unneeded spaces, unwanted lines between questions, etc.) should be deleted. The following is a sample multiple choice question with headers.

\MC C 1 Q 1
Question text entered here.
a. Text for answer choice entered here.
b. Text for answer choice entered here.
c. Text for answer choice entered here.
d. Text for answer choice entered here.
\A
Optional answer text entered here.
\E
Optional explanation text entered here.

\ — A backslash indicates the beginning of one of the five types of headers: question, answer, explanation, stop and omit. All headers are optional except for the question header. There can be no space preceding the backslash; it must be in the first column.

MC — indicates question type. Choices are: MC = Multiple Choice, TF = True or False, FF = Free Format (essay, fill-in-the-blank, short answer) and MA = Matching.

C 1 — Indicates chapter number. In this case the question will be imported into chapter one. Include one space between “C” and the chapter number. Enter chapter numbers from 1 to 999. Chapter designations can include an optional suffix of up to five characters. A period must be included between the number and the suffix. There should be no spaces in the suffix. As an example, you could name one chapter 1.MC and another 1.TF.

Q 1 — Indicates question number. In this case the question will be imported as question number one in chapter one. Include one space between “Q” and the question number. Enter question numbers from 1 to 400.

IMPORTANT: Include one space between each header option.

Example: \MC (space) C (space) 1 (space) Q (space) 1

Values in headers need only be specified when they change in a way other than what is expected. For example, question type and chapter number do not change until a different value is specified. Question numbers automatically increment by one from question to question unless specified otherwise. After the first question, a question header might only consist of one character – the backslash.

Optional Question Header Information (Importing Questions)

Optional Header Lines (Importing Questions)