This is a text containing a schema for specifying a dialog quiz on a QuizComposer server. Click the links # for detailed instructions.

Create_hyper_quiz_0_1 #

0

Display_MathML_0_1 #

0

For_regist_answerers_0_1 #

0

Heading #

Question types in learning and test quizzes.

Introduction #

This quiz illustrates the types of questions you can define in quizzes for learning and testing. The type of the question is determined by the type of the correct answer, that is by the specification of the correct answer in the entry field following the field for the question phrase (in the definition form).

This quiz shows only simple examples of answers. For more advanced answers and hints, see other quiz examples.

This quiz displays this introduction with every re-display of the quiz.

Intro_repeat_0_1 #

1

Qstn_name_number_1 #

1

Qstn_phrase_1 #

In the simplest type of question the answer is a scalar, for example a number, a character string or a formula. The answer is specified in the entry field below. For this question the answer is the word sequence ' AbC 1bc. '. Leading and trailing space is ignored here and in the answer; also runs of space characters are regarded as a single character. Try with examples belonging to the types mentioned.
In this type of question an entry field for the answer appears after the question phrase. The length of that field is 30 characters unless otherwise specified further down in the definition form.

Correct_answer_1 #

AbC 1bc.

Hints_1 #

Reward_1 #

Qstn_name_number_2

2

Qstn_phrase_2

This question type is characterized by an empty bracket in the specification of the correct answer. The correct answer must then be specified in the question phrase, for example &[abc&] and &[ 1234 &] and &[ 2+-0.1 &] and &[ 1 < @ <= 2 &], which results in entry fields [abc] and [ 1234 ] and [ 2+-0.1 ] and [ 1 < ? <= 2 ] for answers.
Notice the different length of the entry fields.
For this question the type of the answer is an ordered sequence (a vector).

Correct_answer_2

[]

Hints_2

Reward_2

Qstn_name_number_3

3

Qstn_phrase_3

For this question the correct answer is specified as &[ abc &]&[ 1234 &]&[ 2+-0.1 &]&[ 1 < @ <= 2 &]&[ !qcmath m*c^2 &]. Here. in the question phrase the entry fields for answers are indicated using brackets each containing a number indicating the length of the field, viz. &[3&] &[6&] &[6&] &[&] &[8&]:
[3], [6], [6], [] and [8].

Here to, the answer is an ordered sequence with elements each placed in its corresponding entry field, for example abc 1234 2.05 2 c*m*c.

Correct_answer_3

[ abc ][ 1234 ][ 2+-0.1 ][ 1 < @ <= 2 ][ !qcmath m*c^2]

Hints_3

Reward_3

Qstn_name_number_4

4

Qstn_phrase_4

In this question the correct answer is specified as &[ Buy ham, cheese and bread &]&[ The speed of light is infinite &]. This question phrase contains these two brackets containing [ Buy ham cheese and bread ] and [ The s...d of light is infinite ]. The answerer should alter these two fields so that they become correct.

This question is the last one having answers in the form of an ordered sequence.

Correct_answer_4

[ Buy ham, cheese and bread ] [ The speed of light is infinite ]

Hints_4

Reward_4

Qstn_name_number_5

5

Qstn_phrase_5

In this question the correct answer is specified as &{ 3.14+-0.002 &}&{ m*c^2 &}, that is, an unordered sequence with two elements.

Notice that the m*c^2 in this question is not to be regarded as a formula but rather a character sequence, since it starts with a letter. See the next question for formulas in unordered sequences.

Correct_answer_5

{ 3.14+-0.002 }{ m*c^2 }

Hints_5

Reward_5

Qstn_name_number_6

6

Qstn_phrase_6

In this question the correct answer is specified with &{ !qcmath m*c^2 &}&{ !qcmath b^2 - 4*a*c &}. A correct answer could be one of:
b^2-c*a*4 and m*c*c
or:
c^2*m and -4*c*a + b*b

Correct_answer_6

{ !qcmath m*c^2 }{ !qcmath b^2 - 4*a*c }

Hints_6

Reward_6

Qstn_name_number_7

7

Qstn_phrase_7

If the correct answer for a question is a subset the correct answer is specified with a brace as in this example: &{.2 proton &}&{ neutron &}&{ 1<@<3 &}, thus with a punctuation mark and a number just after the left brace. The number indicates the required number of elements in the answer.
The question phrase will be followed by an entry field the width of which is defined for the whole quiz further down in the definition form.

Correct_answer_7

{.2 proton }{ neutron }{ 1<@<3 }

Hints_7

Reward_7

Qstn_name_number_8

8

Qstn_phrase_8

Questions can be specified answerable by clicking buttons, for example the so-called radio buttons of which only one can be clicked down simultaneously.
The correct answer for such a question must be specified in the appropriate field with a brace containing a lower case letter.
The question phrase must contain braces with lower case letters scattered in the text, for example {a} false {b} true {c} don't know. The letters must be in alphabetic order.

The correct answer to this question is specified to be &{b&}.

Correct_answer_8

{b}

Hints_8

Reward_8

Qstn_name_number_9

9

Qstn_phrase_9

Instead of radio buttons, see above, a question may contain check box buttons. These must be specified using lower case letters in brackets, like in:
An atom contains [a] protons [b] prions [c] canons [d] neutrons.
The corresponding specification of a correct answer is then &[a&]&[d&]. Notice that the letters must be in lower case and in alphabetic order in the question phrase as well as the specification of the correct answer.

Notice also that if an answerer simply clicks all check box buttons in a question in a learning quiz the question will be redisplayed with the correct answer. This may not be what you want. Thus, you might prefer to use check box buttons in test quizzes only.

Correct_answer_9

[a][d]

Hints_9

Reward_9

Qstn_name_number_10

10

Qstn_phrase_10

An important principle in education is to avoid using statements which are dubious or false. One way of doing so is to state questions to be answered with a relation expressed by clicking two (or more) buttons as shown here.

Which two statements are correct together:
[a] y = sin x
[b] y = cos x
[c] y' = sin x
[d] y' = - cos x
[e] y' = - sin x
The correct answer is &[b&]&[e&].

As stated above, try clicking all the check box buttons and the correct answer will be displayed.

Correct_answer_10

[b][e]

Hints_10

Reward_10

Qstn_name_number_11

11

Qstn_phrase_11

An alternative to using check boxes in learning quizzes might be to specify the correct answer to a question as being an unordered sequence of letters, for example. Thus the previous question could be rephrased as follows.

Write a letter pair which two statements are correct together:indicating which two statements are correct together:
a: y = sin x
b: y = cos x
c: y' = sin x
d: y' = - cos x
e: y' = - sin x

The correct answer might be specified as &{ b &}&{ e &}.

This technique can be utilized to ask for multiple combinations:

Correct_answer_11

{ b }{ e }

Hints_11

Reward_11

Qstn_name_number_12

12

Qstn_phrase_12

This technique can be utilized to ask for multiple combinations like in this question.

Write letter pairs indicating which pairs of statements are correct together:
a: y = sin x
b: y = cos x
c: y' = sin x
d: y' = - cos x
e: y' = - sin x
f: y' = cos x.
The letters in each pair must be in alphabetical order.

Correct answers are, for example af and be or
be and af.

Correct_answer_12

{ af }{ be }

Hints_12

Reward_12

Qstn_name_number_13

13

Qstn_phrase_13

Another way of asking for correct combinations is illustrated in this question.
Pick with a single click from this list {y' = sin x?y' = - cos x?y' = - sin x?y' = cos x} statements matching the following:
y = sin x [y' = cos x ].
y = cos x [y' = - sin x].
Insert, with a double click, the picked answer in an entry field.
The entry field for the correct answer contains &[&].
A list of suggested answers for one or more questions may be placed in the introduction (field in the definition form).

Correct_answer_13

[]

Hints_13

Reward_13

Qstn_name_number_14

14

Qstn_phrase_14

Correct_answer_14

Hints_14

Reward_14

Qstn_name_number_15

15

Qstn_phrase_15

Correct_answer_15

Hints_15

Reward_15

Qstn_name_number_16

16

Qstn_phrase_16

Correct_answer_16

Hints_16

Reward_16

Qstn_name_number_17

17

Qstn_phrase_17

Correct_answer_17

Hints_17

Reward_17

Qstn_name_number_18

18

Qstn_phrase_18

Correct_answer_18

Hints_18

Reward_18

Qstn_name_number_19

19

Qstn_phrase_19

Correct_answer_19

Hints_19

Reward_19

Qstn_name_number_20

20

Qstn_phrase_20

Correct_answer_20

Hints_20

Reward_20

Specs_from_quiz #

Specify in the following entry fields your own texts for communication with answerers. For quizzes being created using a schema not containing such specifications you can obtain the same effect by referring to a quiz created with this schema.

Text_before_qstn_number #

Question number

Text_after_qstn_number #

.

Field_dimensions #

30 60 6

Text_before_submit_button #

When ready click this button:

Text_on_submit_button #

SUBMIT THIS FORM

Text_before_answer_count_pr_qstn #

This question answered correctly with answer number %%.

Text_all_qstns_answered_correctly #

Congratulations! you have answered all questions correctly. Number of incorrect answers: %%.

Text_this_qstn_answered_correctly #

This question was answered correctly:

Text_one_qstn_answered_but_incorrectly #

You answered one question but the answer was incorrect. Therefore only that question is presented again (the remaining questions will be presented thereafter):

Text_more_qstns_answered_incorrectly #

The following questions were answered incorrectly or not answered at all:

Text_on_printing_answer #

Click browsers print option for a copy of this form including your answers.

Text_on_print_identification #

Optional identification for print:

Text_bad_type_or_format_of_answer #

Answer or answer part is of wrong type or has a bad format:

Text_final_message #

Name_quiz_with_logo_definition #

Name_quiz_with_CSS_definition #

Name_quiz_with_script_definition #