Rev 3422 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !!! fichier de présentation de l'étape 7 !!! |
2 | <center> |
||
3 | <b><font color=darkcyan size=+1> Etape $etape: <u>rédaction de l'énoncé</u> |
||
4 | </font></b> |
||
5 | <br> |
||
6 | <table> |
||
7 | <tr> |
||
8 | <td> |
||
9 | <p style="background-color:lightblue"> |
||
10 | Modifiez l'énoncé type suivant pour l'adapter à votre exercice. |
||
11 | </p> |
||
12 | </td> |
||
13 | </tr> |
||
14 | !if ($propsnb>2 and $ckchnb=0) |
||
15 | !set ckchnb=2 |
||
16 | !set par_defaut=<code>Par défaut: un nombre aléatoire compris entre 2 et $propsnb</code>. |
||
17 | <tr> |
||
18 | <td> |
||
19 | <div style="background-color:darkseagreen"> |
||
20 | N'oubliez pas de préciser au passage le nombre de |
||
21 | possibilités de choix à afficher avec l'énoncé. |
||
22 | <font style="background-color:white">$par_defaut </font> |
||
23 | </div> |
||
24 | </td> |
||
25 | </tr> |
||
26 | !endif |
||
27 | </table> |
||
28 | </center> |
||
29 | <br> |
||
30 | <hr> |
||
31 | <b>Enoncé type:</b> |
||
32 | <br> |
||
33 | $enonceR |
||
34 | <br> |
||
35 | <hr> |
||
36 | <div style="background-color:burlywood"> |
||
37 | Modifiez le code source ci-dessous pour l'adapter à votre exercice. |
||
38 | <hr> |
||
39 | <b>Note</b>: Dans le fichier source, |
||
40 | <ul> |
||
41 | <li> |
||
42 | le nom (ou la desciption de l'objet) est stocké dans la variabe |
||
3422 | bpr | 43 | <em><font color="red">obj</font></em> |
23 | reyssat | 44 | et est invoqué en entrant la </b>commande</b> |
3422 | bpr | 45 | <code><font color="red">\obj</font></code>. |
23 | reyssat | 46 | </li> |
47 | <li> |
||
48 | le nom (ou la desciption de la fonction) est stocké dans la variabe |
||
3422 | bpr | 49 | <em><font color="red">fonc</font></em> et est invoqué en entrant la </b>commande</b> |
50 | <code><font color="red">\fonc</font></code>. |
||
23 | reyssat | 51 | </li> |
52 | </ul> |
||
53 | </div> |
||
54 | <hr> |
||
55 | |||
56 | <center> |
||
57 | <table border=2> |
||
58 | <tr> |
||
3049 | bpr | 59 | <th align="center"> |
23 | reyssat | 60 | Texte à modifier |
61 | </th> |
||
62 | </tr> |
||
63 | <tr> |
||
3049 | bpr | 64 | <td align="center"> |
23 | reyssat | 65 | !set wims_backslash_insmath=no |
66 | !set enonceR=!reinput $enonceR |
||
3049 | bpr | 67 | <textarea name="enonceR" rows=20 cols=70> |
23 | reyssat | 68 | $enonceR |
69 | </textarea> |
||
70 | </td> |
||
71 | </tr> |
||
72 | </table> |
||
73 | |||
74 | <table border=2> |
||
75 | <tr> |
||
3049 | bpr | 76 | <th align="center" bgcolor=lightblue colspan=2> |
23 | reyssat | 77 | Nombre de possibilités de choix |
78 | </th> |
||
79 | </tr> |
||
80 | <tr> |
||
81 | <td bgcolor=wheat> |
||
3049 | bpr | 82 | <input type="radio" name="ckchnb" value=0 |
23 | reyssat | 83 | !if $ckchnb=0 |
84 | checked |
||
85 | !endif |
||
5734 | bpr | 86 | /> Toutes |
23 | reyssat | 87 | </td> |
88 | <td bgcolor=turquoise nowrap> |
||
3049 | bpr | 89 | <input type="radio" name="ckchnb" value=1 |
23 | reyssat | 90 | !if $ckchnb=1 |
91 | checked |
||
92 | !endif |
||
5734 | bpr | 93 | /> |
94 | Afficher <input size=5 name="fixchnb" value=$fixchnb/> possibilités (au moins 2). |
||
23 | reyssat | 95 | </td> |
96 | </tr> |
||
97 | <tr> |
||
98 | <td bgcolor=azure nowrap nowrap> |
||
3049 | bpr | 99 | <input type="radio" name="ckchnb" value=2 |
23 | reyssat | 100 | !if $ckchnb=2 |
101 | checked |
||
102 | !endif |
||
5734 | bpr | 103 | /> |
23 | reyssat | 104 | Nombre aléatoire compris entre 2 et $propsnb |
105 | </td> |
||
106 | <td bgcolor=wheat nowrap> |
||
3049 | bpr | 107 | <input type="radio" name="ckchnb" value=3 |
23 | reyssat | 108 | !if $ckchnb=3 |
109 | checked |
||
110 | !endif |
||
5734 | bpr | 111 | /> |
112 | Nombre aléatoire compris entre <input size=5 name="borng" value=$borng/> et |
||
113 | <input size=5 name="bornd" value=$bornd/> |
||
23 | reyssat | 114 | </td> |
115 | </tr> |
||
116 | </table> |
||
117 | |||
118 | <br> |
||
119 | !if $multirep=1 |
||
120 | <div style="text-align:justify;background-color:lightblue;width:65%"> |
||
121 | Certaines de vos questions comportent plusieurs réponses. |
||
122 | <br> |
||
123 | Veuillez donc préciser: |
||
124 | <ul> |
||
125 | <li> |
||
126 | <b>Option 1</b>: <tt>on ne peut cocher qu'une réponse</tt> |
||
3049 | bpr | 127 | <input type="radio" name="chbox_u_radio" value=radio |
23 | reyssat | 128 | !if $chbox_u_radio!=checkbox |
129 | checked |
||
130 | !endif |
||
5734 | bpr | 131 | /> |
23 | reyssat | 132 | </li> |
133 | <li> |
||
134 | <b>Option 2</b>: <tt>on doit cocher toutes les bonnes réponses</tt> |
||
3049 | bpr | 135 | <input type="radio" name="chbox_u_radio" value=checkbox |
23 | reyssat | 136 | !if $chbox_u_radio=checkbox |
137 | checked |
||
138 | !endif |
||
5734 | bpr | 139 | /> |
23 | reyssat | 140 | </li> |
141 | </ul> |
||
142 | </div> |
||
143 | !else |
||
144 | !set chbox_u_radio=radio |
||
145 | !endif |
||
146 | |||
147 | </center> |
||
148 | |||
149 | !read comsDir/valideb |