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