Rev 11157 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11157 | Rev 11160 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !!! fichier de présentation de l'étape 4 !!! |
1 | !!! fichier de présentation de l'étape 4 !!! |
2 | < |
2 | <h3 class="wimscenter"> Etape $etape: rédaction de l'énoncé</h3> |
3 | </span> |
- | |
4 | <br /> |
- | |
5 | <table class="wimscenter"> |
- | |
6 | <tr> |
- | |
7 | < |
3 | <p> |
8 | <p style="background-color:lightblue"> |
- | |
9 | Modifiez l'énoncé type suivant pour l'adapter à votre exercice. |
4 | Modifiez l'énoncé type suivant pour l'adapter à votre exercice. |
10 | </p> |
5 | </p> |
11 | </td> |
- | |
12 | </tr> |
- | |
13 | !if ($propsnb>2 and $ckchnb=0) |
6 | !if ($propsnb>2 and $ckchnb=0) |
14 | !set ckchnb=2 |
7 | !set ckchnb=2 |
15 | !set par_defaut=<code>Par défaut: un nombre aléatoire compris entre 2 et $propsnb</code>. |
8 | !set par_defaut=<code>Par défaut: un nombre aléatoire compris entre 2 et $propsnb</code>. |
16 | <tr> |
- | |
17 | <td> |
- | |
18 |
|
9 | <div style="background-color:darkseagreen"> |
19 |
|
10 | N'oubliez pas de préciser au passage le nombre de possibilités de choix à |
20 |
|
11 | afficher avec l'énoncé. |
21 | <span style="background-color:white">$par_defaut </span> |
12 | <span style="background-color:white">$par_defaut </span> |
22 | </div> |
13 | </div> |
23 | </td> |
- | |
24 | </tr> |
- | |
25 | !endif |
14 | !endif |
26 | </table> |
- | |
27 | <hr /> |
- | |
28 | < |
15 | <h4>Enoncé type</h4> |
29 | < |
16 | <div> |
30 | $enonceR |
17 | $enonceR |
31 | <br /> |
- | |
32 | < |
18 | </div><div> |
33 | <div style="background-color:burlywood"> |
- | |
34 | Modifiez le code source ci-dessous pour l'adapter à votre exercice. |
19 | Modifiez le code source ci-dessous pour l'adapter à votre exercice. |
35 | < |
20 | </div> |
36 | <b>Note</b>: dans le fichier source, la question est stockée dans |
21 | <div class="wims_remark"><b>Note</b>: dans le fichier source, la question est stockée dans |
37 | la |
22 | la variable <em><span class="color:red">obj</span></em> et est invoquée en entrant |
38 | la <b>commande</b> <code><span class="color:red">\obj</span></code>. |
23 | la <b>commande</b> <code><span class="color:red">\obj</span></code>. |
39 | </div> |
24 | </div> |
40 | <hr /> |
- | |
41 | 25 | ||
42 | !set wims_backslash_insmath=no |
26 | !set wims_backslash_insmath=no |
43 | !set enonceR=!reinput $enonceR |
27 | !set enonceR=!reinput $enonceR |
44 | 28 | ||
45 | <table class="wimscenter wimsborder"> |
- | |
46 | <tr> |
- | |
47 | <th> |
- | |
48 |
|
29 | <h4>Texte à modifier</h4> |
49 | </th> |
- | |
50 | </tr> |
- | |
51 | <tr> |
- | |
52 | <td> |
- | |
53 | <textarea name="enonceR" rows="20" cols="70"> |
30 | <textarea name="enonceR" rows="20" cols="70"> |
54 | $enonceR |
31 | $enonceR |
55 | </textarea> |
32 | </textarea> |
56 | </td> |
- | |
57 | </tr> |
- | |
58 | </table> |
- | |
59 | 33 | ||
60 | !if $propsnb>2 |
34 | !if $propsnb>2 |
61 | <table border="2"> |
- | |
62 | <tr> |
- | |
63 | <th bgcolor="lightblue" colspan="2"> |
- | |
64 |
|
35 | <h4>Nombre de possibilités de choix</h4> |
65 |
|
36 | <ul><li> |
66 | </tr> |
- | |
67 | <tr> |
- | |
68 | <td bgcolor="wheat"> |
- | |
69 | <input type="radio" name="ckchnb" value="0" |
37 | <input type="radio" name="ckchnb" value="0" |
70 | !if $ckchnb=0 |
38 | !if $ckchnb=0 |
71 | checked |
39 | checked="checked" |
72 | !endif |
40 | !endif |
73 | /> Toutes |
41 | /> Toutes |
74 | </ |
42 | </li><li> |
75 | <td bgcolor="turquoise" class="nowrap"> |
- | |
76 | <input type="radio" name="ckchnb" value="1" |
43 | <input type="radio" name="ckchnb" value="1" |
77 | !if $ckchnb=1 |
44 | !if $ckchnb=1 |
78 | checked |
45 | checked="checked" |
79 | !endif |
46 | !endif |
80 | /> |
47 | /> |
81 | Afficher <input size="5" name="fixchnb" value="$fixchnb" /> possibilités (au moins 2). |
48 | Afficher <input size="5" name="fixchnb" value="$fixchnb" /> possibilités (au moins 2). |
82 |
|
49 | </li><li> |
83 | </tr> |
- | |
84 | <tr> |
- | |
85 | <td bgcolor="azure" class="nowrap"> |
- | |
86 | <input type="radio" name="ckchnb" value="2" |
50 | <input type="radio" name="ckchnb" value="2" |
87 | !if $ckchnb=2 |
51 | !if $ckchnb=2 |
88 | checked |
52 | checked="checked" |
89 | !endif |
53 | !endif |
90 | /> |
54 | /> |
91 | Nombre aléatoire compris entre 2 et $propsnb |
55 | Nombre aléatoire compris entre 2 et $propsnb |
92 |
|
56 | </li><li> |
93 | <td bgcolor="wheat" class="nowrap"> |
- | |
94 | <input type="radio" name="ckchnb" value="3" |
57 | <input type="radio" name="ckchnb" value="3" |
95 | !if $ckchnb=3 |
58 | !if $ckchnb=3 |
96 | checked |
59 | checked="checked" |
97 | !endif |
60 | !endif |
98 | /> |
61 | /> |
99 | Nombre aléatoire compris entre <input size="5" name="borng" value="$borng" /> et |
62 | Nombre aléatoire compris entre <input size="5" name="borng" value="$borng" /> et |
100 | <input size="5" name="bornd" value="$bornd" /> |
63 | <input size="5" name="bornd" value="$bornd" /> |
101 |
|
64 | </li></ul> |
102 | </tr> |
- | |
103 | </table> |
- | |
104 | !endif |
65 | !endif |
105 | 66 | ||
106 | <br /> |
- | |
107 | !if $multirep=1 |
67 | !if $multirep=1 |
108 | <div style="text-align:justify;background-color:lightblue;width:65%"> |
68 | <div style="text-align:justify;background-color:lightblue;width:65%"> |
109 | Certaines de vos questions comportent plusieurs réponses. |
69 | Certaines de vos questions comportent plusieurs réponses. |
110 | <br /> |
70 | <br /> |
111 | Veuillez donc préciser: |
71 | Veuillez donc préciser: |