Rev 5755 | Rev 8552 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5755 | Rev 5903 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | :title |
5 | :title |
6 | 1 |
6 | 1 |
7 | defines the title of the exercise |
7 | defines the title of the exercise |
8 | :language |
8 | :language |
9 | 1 |
9 | 1 |
10 | defines the language of the exercise, such as <tt |
10 | defines the language of the exercise, such as <span class="tt wims_code_words">en</span> or <span class="tt wims_code_words">fr</span> |
11 | :author |
11 | :author |
12 | 1 |
12 | 1 |
13 | defines the author of the exercise. Write it in the form < |
13 | defines the author of the exercise. Write it in the form <span class="tt wims_code_words">firstname, lastname</span> (in case of multiple authors, use a semicolon between them). |
14 | 14 | ||
15 | 1 |
15 | 1 |
16 | defines the author's email (in case of multiple authors, use a comma between the addresses). |
16 | defines the author's email (in case of multiple authors, use a comma between the addresses). |
17 | :format |
17 | :format |
18 | 1 |
18 | 1 |
Line 26... | Line 26... | ||
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 <tt |
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 | ||
Line 66... | Line 66... | ||
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 < |
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 < |
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 <tt |
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>. |
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). |