Subversion Repositories wimsdev

Rev

Rev 5903 | Rev 8552 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5903 Rev 8551
Line 18... Line 18...
18
1
18
1
19
format of the statement
19
format of the statement
20
 
20
 
21
 
21
 
22
help=format
22
help=format
23
:css 
23
:css
24
1 
24
1
25
defines css style
25
defines css style
26
:precision
26
:precision
27
1
27
1
28
precision in comparing user's reply with the solution. Give a positive integer n here: the comparison will be done to the precision of 1/n.
28
precision in comparing user's reply with the solution. Give a positive integer n here: the comparison will be done to the precision of 1/n.
29
:range
29
:range
30
1
30
1
31
variable range when evaluating a function supplied by the user. Should be given in the form <span class="tt wims_code_words">n1..n2</span>, where n1 is the start point, n2 is the end point.
31
variable range when evaluating a function supplied by the user. Should be given in the form <span class="tt wims_code_words">n1..n2</span>, where n1 is the start point, n2 is the end point.
32
 
32
 
33
:statement
33
:statement
34
1
34
1
35
the parameter is the statement of the exercise. Can be used only one time in the exercise. 
35
the parameter is the statement of the exercise. Can be used only one time in the exercise.
36
 
36
 
37
:answer
37
:answer
38
2-5
38
2-5
39
defines a freestyle answer. The first parameter is the prompt of the answer, and the second is the good answer.  Such an answer can be tested according to many different types: number, function, text, etc. 
39
defines a freestyle answer. The first parameter is the prompt of the answer, and the second is the good answer.  Such an answer can be tested according to many different types: number, function, text, etc.
40
type option weight
40
type option weight
41
 
41
 
42
help=reply
42
help=reply
43
:choice
43
:choice
44
3-5
44
3-5
Line 51... Line 51...
51
option weight
51
option weight
52
 
52
 
53
help=reply
53
help=reply
54
:solution
54
:solution
55
1
55
1
56
gives the solution of the exercise with explanation. The OEF manager may decide on whether to show this explained solution to the user, according to the user setup of the difficulty level. Can be used only one time in the exercise. 
56
gives the solution of the exercise with explanation. The OEF manager may decide on whether to show this explained solution to the user, according to the user setup of the difficulty level. Can be used only one time in the exercise.
57
:hint
57
:hint
58
1
58
1
59
gives a hint of the exercise. The OEF manager may decide on whether to show the hint, according to the user setup of the difficulty level. Can be used only one time in the exercise. 
59
gives a hint of the exercise. The OEF manager may decide on whether to show the hint, according to the user setup of the difficulty level. Can be used only one time in the exercise.
60
:help
60
:help
61
1
61
1
62
gives a help to the exercise. This help will always be accessible to the user, in a popup window. Can be used only one time in the exercise. 
62
gives a help to the exercise. This help will always be accessible to the user, in a popup window. Can be used only one time in the exercise.
63
:feedback
63
:feedback
64
2
64
2
65
gives a feedback warning to the user when the answer meeds a specified condition. Usually to warn of a typical error.
65
gives a feedback warning to the user when the answer meeds a specified condition. Usually to warn of a typical error.
66
 
66
 
67
 
67
 
68
help=feedback
68
help=feedback
69
:steps
69
:steps
70
1
70
1
71
define the questions of each step of the exercise ; must be before the instruction <span class="tt wims_code_words">statement</span> (see the variable <span class="tt wims_code_words">\step</span>). Can be used only one time in the exercise. 
71
define the questions of each step of the exercise ; must be before the instruction <span class="tt wims_code_words">statement</span> (see the variable <span class="tt wims_code_words">\step</span>). Can be used only one time in the exercise.
72
 
72
 
73
 
73
 
74
:nextstep
74
:nextstep
75
1
75
1
76
define the questions of each step of the exercise in a dynamic way ; must be before the instruction <span class="tt wims_code_words">statement</span> (see the variable <span class="tt wims_code_words">\step</span>). Can be used only one time in the exercise. 
76
define the questions of each step of the exercise in a dynamic way ; must be before the instruction <span class="tt wims_code_words">statement</span> (see the variable <span class="tt wims_code_words">\step</span>). Can be used only one time in the exercise.
77
 
77
 
78
 
78
 
79
:conditions
79
:conditions
80
1
80
1
81
define the numbers of the conditions useful for the exercise.
81
define the numbers of the conditions useful for the exercise.
82
 
82
 
83
:latex
83
:latex
84
1
84
1
85
permet d'écrire une version en latex de l'exercice utilisant les variables définies dans l'exercice et pouvant être téléchargées dans la version imprimable de l'exercice (accessible uniquement par les développeurs ou les enseignants d'une classe). Il est conseillé de mettre l'énoncé dans un environnement latex prédéfini <span class="tt wims_code_words">\begin{statement} \end{statement}</span> et la solution dans l'environnement  <span class="tt wims_code_words">\begin{sol} ... \end{sol}</span>.
85
permet d'écrire une version en latex de l'exercice utilisant les variables définies dans l'exercice et pouvant etre téléchargées dans la version imprimable de l'exercice (accessible uniquement par les développeurs ou les enseignants d'une classe). Il est conseillé de mettre l'énoncé dans un environnement latex prédéfini <span class="tt wims_code_words">\begin{statement} \end{statement}</span> et la solution dans l'environnement  <span class="tt wims_code_words">\begin{sol} ... \end{sol}</span>.
86
 
86
 
87
:credits
87
:credits
88
1
88
1
89
allow  to insert credits at the end of the exercise (variables are evaluated).
89
allow  to insert credits at the end of the exercise (variables are evaluated).