Subversion Repositories wimsdev

Rev

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

Rev 5903 Rev 6838
Line 1... Line 1...
1
!set embraced_randitem=<p> \
1
!set embraced_randitem=<p> \
2
This field accepts the randomization by nestable curly embraces:\
2
This field accepts the randomization by nestable curly embraces:\
3
if you put several words (or groups of words), separated by commas,\
3
if you put several words (or groups of words), separated by commas,\
4
within a pair of embraces, one of the words will be randomly drawn\
4
within a pair of embraces, one of the words will be randomly drawn\
5
at the time when the text is presented to students. This will add\
5
at the time when the text is presented to students. This will add\
6
randomness to your text. <p>\
6
randomness to your text.\
7
For example, if you enter the text <p>\
7
For example, if you enter the text </p><p>\
8
<span class="tt">I will go to {Paris, New York, London} \
8
<span class="tt">I will go to {Paris, New York, London} \
9
{tomorrow, the next week}</span>,\
9
{tomorrow, the next week}</span>,</p>\
10
<p>the result will be one of the following sentences, at random:\
10
<p>the result will be one of the following sentences, at random:</p>\
11
<pre>\
11
<pre>\
12
I will go to Paris tomorrow\
12
I will go to Paris tomorrow\
13
I will go to New York tomorrow\
13
I will go to New York tomorrow\
14
I will go to London tomorrow\
14
I will go to London tomorrow\
15
I will go to Paris the next week\
15
I will go to Paris the next week\
16
I will go to New York the next week\
16
I will go to New York the next week\
17
I will go to London the next week\
17
I will go to London the next week\
18
</pre>
18
</pre><br />
-
 
19
Si vous désirez entrer des formules mathématiques, il est conseillé de\
-
 
20
désactiver cette possibilité en mettant le bouton <span class="wims_code_words">\
-
 
21
Mise en aléatoire par des accolades emboitables</span> \
-
 
22
sur <span class="tt">$wims_name_no</span>.
19
 
23
 
20
!set name_random=Some examples of random generation of parameter: <ul>\
24
!set name_random=Some examples of random generation of parameter: <ul>\
21
 <li>For an integer between 10 and 100 (inclusive):\
25
 <li>For an integer between 10 and 100 (inclusive):\
22
         <span class="tt wims_code_words">randint(10..100)</span>\
26
         <span class="tt wims_code_words">randint(10..100)</span>\
23
 <li>For an integer multiple of 10 between 10 and 1000 (inclusive):\
27
 </li><li>For an integer multiple of 10 between 10 and 1000 (inclusive):\
24
        <span class="tt wims_code_words">randint(1..100)*10</span>\
28
        <span class="tt wims_code_words">randint(1..100)*10</span>\
25
 <li>For a decimal number between 0 and 2:\
29
 </li><li>For a decimal number between 0 and 2:\
26
        <span class="tt wims_code_words">random(0..2)</span>\
30
        <span class="tt wims_code_words">random(0..2)</span>\
27
 <li>For a random item within a list:\
31
 </li><li>For a random item within a list:\
28
        <span class="tt wims_code_words">randitem(a,b,c,10,100,word,a phrase)</span>\
32
        <span class="tt wims_code_words">randitem(a,b,c,10,100,word,a phrase)</span>\
-
 
33
 </li>\
29
 </ul>
34
 </ul>
30
 
35
 
31
!set name_detail_parm=More details on the computation of parameters.
36
!set name_detail_parm=More details on the computation of parameters.
32
 
37
 
33
!set image_help=<div class="wims_smallremark"><b>Insertion d'images</b>:\
38
!set image_help=<div class="wims_smallremark"><b>Insertion d'images</b>:\
Line 38... Line 43...
38
où <span class="tt">nom_image</span> est le nom de l'image (y compris l'extension <span class="tt">.jpg</span>, <span class="tt">.png</span>,\
43
où <span class="tt">nom_image</span> est le nom de l'image (y compris l'extension <span class="tt">.jpg</span>, <span class="tt">.png</span>,\
39
...) et <span class="tt wims_code_variable">\imagedir</span> représente le nom de code du répertoire où se trouve l'image.\
44
...) et <span class="tt wims_code_variable">\imagedir</span> représente le nom de code du répertoire où se trouve l'image.\
40
Vous pouvez le mettre dans la plupart des textes des modèles préparés (y compris dans la consigne).\
45
Vous pouvez le mettre dans la plupart des textes des modèles préparés (y compris dans la consigne).\
41
Vous pouvez commencer votre exercice même si les images ne sont pas encore chargées.\
46
Vous pouvez commencer votre exercice même si les images ne sont pas encore chargées.\
42
Une fois l'exercice mis dans la classe, suivez le lien \
47
Une fois l'exercice mis dans la classe, suivez le lien \
43
<span class="tt">Déposer un fichier</span> dans l'exercice</tt> ou <span class="tt">$wims_name_downloadbinary</span>\
48
<span class="tt">Déposer un fichier</span> dans l'exercice</span> ou <span class="tt">$wims_name_downloadbinary</span>\
44
et chargez toutes les images dont vous avez besoin. Testez. Ajustez les tailles des images.\
49
et chargez toutes les images dont vous avez besoin. Testez. Ajustez les tailles des images.\
45
Il est recommandé de ne pas prendre des images trop grandes car plus longues à charger\
50
Il est recommandé de ne pas prendre des images trop grandes car plus longues à charger\
46
lors de l'exécution de l'exercice et de les réduire avant de les mettre dans le module de la classe.\
51
lors de l'exécution de l'exercice et de les réduire avant de les mettre dans le module de la classe.\
47
</div>
52
</div>
48
 
53