Rev 6132 | Rev 12169 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6132 | Rev 11375 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 |
|
1 | type=classify |
2 | textarea="data" |
2 | textarea="data" |
3 | 3 | ||
4 | :Classer les objets selon leurs propriétés dans un tableau. |
4 | :Classer les objets selon leurs propriétés dans un tableau. |
5 | 5 | ||
6 | On présente une liste d'objets et une liste d'attributs (propriétés). Il faut remplir |
6 | On présente une liste d'objets et une liste d'attributs (propriétés). Il faut remplir |
7 | un tableau selon que les objets vérifient ou non les propriétés en cochant ou non dans la case. |
7 | un tableau selon que les objets vérifient ou non les propriétés en cochant ou non dans la case. |
8 | 8 | ||
9 | <p> |
9 | <p> |
10 | Pour construire un exercice avec ce modèle, il suffit d'entrer la liste |
10 | Pour construire un exercice avec ce modèle, il suffit d'entrer la liste |
11 | des attributs et une liste d'objets en indiquant s'ils vérifient ou non |
11 | des attributs et une liste d'objets en indiquant s'ils vérifient ou non |
Line 41... | Line 41... | ||
41 | <pre> |
41 | <pre> |
42 | poils,plumes,quatre membres,ailes |
42 | poils,plumes,quatre membres,ailes |
43 | :pie,0,1,1,1 |
43 | :pie,0,1,1,1 |
44 | :boeuf,1,0,1,0 |
44 | :boeuf,1,0,1,0 |
45 | </pre> |
45 | </pre> |
46 | Dans ce cas, les données suivantes ne seront pas prises en compte. |
46 | Dans ce cas, les données suivantes ne seront pas prises en compte. |
47 | Sinon, remplissez les données. |
47 | Sinon, remplissez les données. |
48 | 48 | ||
49 | :Liste des attributs |
49 | :Liste des attributs |
50 | \text{attribut=poils,plumes,quatre membres,ailes} |
50 | \text{attribut=poils,plumes,quatre membres,ailes} |
51 | :Données |
51 | :Données |
Line 114... | Line 114... | ||
114 | <div class="question"> \instruction |
114 | <div class="question"> \instruction |
115 | 115 | ||
116 | <table class="tableau"><tr> <th></th> |
116 | <table class="tableau"><tr> <th></th> |
117 | \for{k=1 to \attribut_cnt}{<th colspan="\col">\attribut[\k]</th>} |
117 | \for{k=1 to \attribut_cnt}{<th colspan="\col">\attribut[\k]</th>} |
118 | </tr> |
118 | </tr> |
119 | \for{j=1 to \N}{ |
119 | \for{j=1 to \N}{ |
120 | <tr><th>\data[\j;1]</th> |
120 | <tr><th>\data[\j;1]</th> |
121 | \for{k=1 to \attribut_cnt}{ |
121 | \for{k=1 to \attribut_cnt}{ |
122 | \if{\step=1}{<td style="color:\couleur">\embed{r1,\C[(\attribut_cnt)*(\j-1)+\k]}</td>}{<td>\C[(\attribut_cnt)*(\j-1)+\k]</td>} |
122 | \if{\step=1}{<td style="color:\couleur">\embed{r1,\C[(\attribut_cnt)*(\j-1)+\k]}</td>}{<td>\C[(\attribut_cnt)*(\j-1)+\k]</td>} |
123 | } |
123 | } |
124 | </tr> |
124 | </tr> |
Line 142... | Line 142... | ||
142 | \text{C=\uu notitemof \reply1 and \uu isitemof \Data ? wims(append item \nocroix <td>\nonoui[2] to \C)} |
142 | \text{C=\uu notitemof \reply1 and \uu isitemof \Data ? wims(append item \nocroix <td>\nonoui[2] to \C)} |
143 | \text{C=\uu notitemof \reply1 and \uu notitemof \Data ? wims(append item \nocroix <td>\nonoui[1] to \C)} |
143 | \text{C=\uu notitemof \reply1 and \uu notitemof \Data ? wims(append item \nocroix <td>\nonoui[1] to \C)} |
144 | } |
144 | } |
145 | } |
145 | } |
146 | 146 | ||
147 | \feedback{1=1}{\nonoui[1] : bonne réponse, \nonoui[2] : mauvaise réponse |
147 | \feedback{1=1}{\nonoui[1] : bonne réponse, \nonoui[2] : mauvaise réponse |
148 | 148 | ||
149 | } |
149 | } |