Subversion Repositories wimsdev

Rev

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

Rev 13489 Rev 13714
Line 1... Line 1...
1
type=classify
1
type=classify
2
textarea="data"
2
textarea="data instruction"
-
 
3
iEdit="instruction"
3
 
4
 
4
:Classify the items according to their properties by filling in a table.
5
:Classify the items according to their properties by filling in a table.
5
 
6
 
6
A list of items with various properties is presented.
7
A list of items with various properties is presented.
7
The table has to be filled in by filling on the relevant boxes for each item.
8
The table has to be filled in by filling on the relevant boxes for each item.
Line 41... Line 42...
41
<pre>
42
<pre>
42
fur,feathers,four legs,wings
43
fur,feathers,four legs,wings
43
 :magpie,0,1,1,1
44
 :magpie,0,1,1,1
44
 :cow,1,0,1,0
45
 :cow,1,0,1,0
45
</pre>
46
</pre>
46
Dans ce cas, les données suivantes ne seront pas prises en compte.
47
In this case, the following data will not be taken into account.
47
Sinon, remplissez les données.
48
Otherwise, fill in the data.
48
 
49
 
49
\text{file=}
50
\text{file=}
50
 
51
 
51
:Liste des attributs
52
:List of attributes
52
\text{attribut=poils,plumes,quatre membres,ailes}
53
\text{attribut=fur,feathers,four legs,wings}
53
 
54
 
54
:Data
55
:Data
55
une ligne par objets.
56
a line by objects.
56
\text{data=pie,0,1,1,1
57
\text{data=magpie,0,1,1,1
57
boeuf,1,0,1,0
58
beef,1,0,1,0
58
chat,1,0,1,0
59
cat,1,0,1,0
59
moustique,0,0,0,1}
60
mosquito,0,0,0,1}
60
 
61
 
61
:Textes pour la réponse
62
:Texts for the answer
62
mettre les textes correspondant aux nombres 0,1, ... dans les données des attributs
63
put the texts corresponding to the numbers 0,1, ... in the data of the attributes
63
\text{nonoui=--,X}
64
\text{nonoui=--,X}
64
 
65
 
65
:%%%%%%%%%%%%%% Nothing to modify before the statement%%%%%%%%%%%%%%%%
66
:%%%%%%%%%%%%%% Nothing to modify before the statement%%%%%%%%%%%%%%%%
66
maximum 40 cases
67
maximum 40 cases
67
\integer{w=\size[1]+10}
68
\integer{w=\size[1]+10}
68
 
69
 
69
\css{<style type="text/css">
70
\css{<style>
70
   .question {margin: 2% 2%;padding: 1%;}
71
   .question {margin: 2% 2%;padding: 1%;}
71
   .wimstable td, th {text-align:center;min-width:50px;}
72
   .wimstable td, th {text-align:center;min-width:50px;}
72
</style>}
73
</style>}
73
 
74
 
74
\if{\file notsametext}{
75
\if{\file notsametext}{
Line 109... Line 110...
109
\text{STEP1=wims(replace internal ; by , in \STEP)}
110
\text{STEP1=wims(replace internal ; by , in \STEP)}
110
\text{STEP1=wims(nonempty items \STEP1)}
111
\text{STEP1=wims(nonempty items \STEP1)}
111
\steps{\STEP1}
112
\steps{\STEP1}
112
 
113
 
113
\statement{
114
\statement{
114
  <div class="question">
-
 
115
    <div class="instruction">\instruction</div>
115
  <div class="instruction">\instruction</div>
116
    <table class="wimstable">
116
  <table class="wimstable">
-
 
117
    <tr>
-
 
118
      <th></th>
-
 
119
      \for{k=1 to \attribut_cnt}{<th>\attribut[\k]</th>}
-
 
120
    </tr>
-
 
121
    \for{j=1 to \N}{
117
      <tr>
122
      <tr>
118
        <th></th>
123
        <th>\data[\j;1]</th>
119
        \for{k=1 to \attribut_cnt}{<th>\attribut[\k]</th>}
124
        \for{k=1 to \attribut_cnt}{
-
 
125
          <td>\embed{\STEP[\j;\k], \size[1] x \size[2]}</td>
-
 
126
        }
120
      </tr>
127
      </tr>
121
      \for{j=1 to \N}{
-
 
122
        <tr>
-
 
123
          <th>\data[\j;1]</th>
-
 
124
          \for{k=1 to \attribut_cnt}{
-
 
125
            <td>\embed{\STEP[\j;\k], \size[1] x \size[2]}</td>
-
 
126
          }
-
 
127
        </tr>
-
 
128
      }
128
    }
129
    </table>
129
  </table>
130
  </div>
-
 
131
}
130
}
132
 
131
 
133
\answer{}{\Data[1]}{type=clickfill}
132
\answer{}{\Data[1]}{type=clickfill}
134
\answer{}{\Data[2]}{type=clickfill}
133
\answer{}{\Data[2]}{type=clickfill}
135
\answer{}{\Data[3]}{type=clickfill}
134
\answer{}{\Data[3]}{type=clickfill}