This is a text containing a schema for specifying a dialog quiz on a QuizComposer server. You can use it if you have an account on such a server on the Internet. Save the schema as an HTML file on your computer and write into it with an office program or any program for editing an HTML-file. Each name in the left column identifies that part of the quiz which you specify in the neighboring field in the right column. The numbers indicate question numbers. Changing the names in the first column may result in the quiz not being creatable. When you have filled-in one or more elements save the file and create the quiz via the form with which you fetched the schema. In the form state the name of the quiz and the full path on your computer to the file. If you specify a question phrase you must also specify the corresponding correct answer. No question may be missing between two questions. Click the links # for detailed instructions.

Create_hyper_quiz_0_1 #

0

Display_MathML_0_1 #

0

For_regist_answerers_0_1 #

0

Page_head #

Heading #

Examples of specification of number answers.

Introduction #

This example illustrates specification of correct answers in the form of numbers.

Intro_repeat_0_1 #

0

Qstn_name_number_1 #

1

Qstn_phrase_1 #

The correct answer to this question is the integer value 117. I may be specified directly as written but to emphasize that the answer should be a value rather than the number the correct answer is specified as 2*12 - 27. Consequently the answer can be an expression (in the programming language Python) with the same value, e.g. - - 117.

Correct_answer_1 #

12*12 - 27

Hints_1 #


Reward_1 #


Qstn_name_number_2

2

Qstn_phrase_2

If you want a literal number answer such as the year number 117 the answer should be specified as a text, viz. ^117. The the only correct answer is 117 possibly with surrounding space characters. The correct answer to this question is specified as ^-117.

Correct_answer_2

^-117

Hints_2


Reward_2


Qstn_name_number_3

3

Qstn_phrase_3

If a question is to be answered with a number value within an interval, for example of length 6 , symmetrical around a middle value, say -117, this can be specified as -117+-3. All values in the open interval from -120 and -114 are then correct. The correct answer to this question is specified as -117+-3.

Correct_answer_3

-117+-3

Hints_3


Reward_3


Qstn_name_number_4

4

Qstn_phrase_4

Suppose all numbers in a closed interval, for example of length 6 around a middle value, say 117, are to be specified as correct. This can be done with 117=+-=3.

Correct_answer_4

117=+-=3

Hints_4


Reward_4


Qstn_name_number_5

5

Qstn_phrase_5

An alternative way to specify the closed interval of length 6 around 117 is by using a relation, for example 114 <= @ <= 120. The character @ represents the answer. In this question the correct answer is specified as 120 > @ >= 114. Thus, the answer 120 - 5.5 would be correct.

Correct_answer_5

120 > @ >= 114

Hints_5


Reward_5


Qstn_name_number_6

6

Qstn_phrase_6

Correct answers being all values outside an interval, say the semi-open interval from 114 to 120 (inclusive) can be specified with a logical expression as done here: @ <= 114 or @ > 120.

Correct_answer_6

@ <= 114 or @ > 120

Hints_6


Reward_6


Qstn_name_number_7

7

Qstn_phrase_7

Specifying a correct answer as being a number among a set of integers, say 114, 120 and 144 can be done with the logical expression @ == 114 or @ == 120 or @ == 144.

Correct_answer_7

@ == 114 or @ == 120 or @ == 144

Hints_7


Reward_7


Qstn_name_number_8

8

Qstn_phrase_8

A correct answer taking the form of an ordered sequence of numbers is specified using brackets as exemplified here: &[117+-3&]&[-120 < @ <= -114&]&[ @==5 or @ == 6 &].

Correct_answer_8

[117+-3][-120 < @ <= -114][ @==5 or @ == 6 ]

Hints_8


Reward_8


Qstn_name_number_9

9

Qstn_phrase_9

A non-ordered sequence of number answers is specified with braces as illustrated in this example: &{117+-3&}&{-120 < @ <= -114&}&{ @==5 or @ == 6 &}

Correct_answer_9

{117+-3}{-120 < @ <= -114}{ @==5 or @ == 6}

Hints_9


Reward_9


Qstn_name_number_10

10

Qstn_phrase_10

A sub-set from of a set of possible answers is specified almost in the same way as an un-ordered set. Right after the leading brace character add a dot and the number of elements in the sub-set as exemplified here: &{.2 117+-3&}&{-120 < @ <= -114&}&{ @==5 or @ == 6 &}.

Correct_answer_10

{.2 117+-3}{-120 < @ <= -114}{ @==5 or @ == 6}

Hints_10


Reward_10


Specs_from_quiz #

Text_before_qstn_number #

Question number

Text_after_qstn_number #

.