Subversion Repositories wimsdev

Rev

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

Rev 5724 Rev 6132
Line 25... Line 25...
25
:%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%%
25
:%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%%
26
 
26
 
27
:\title{Tableau à remplir (checkbox)}
27
:\title{Tableau à remplir (checkbox)}
28
:\author{Bernadette, Perrin-Riou}
28
:\author{Bernadette, Perrin-Riou}
29
:\email{bpr@math.u-psud.fr}
29
:\email{bpr@math.u-psud.fr}
-
 
30
:\credits{}
30
:Instruction
31
:Instruction
31
\text{instruction= Remplir le tableau.}
32
\text{instruction= Remplir le tableau.}
32
 
33
 
33
:Nombre d'objets tirés au sort
34
:Nombre d'objets tirés au sort
34
\integer{N=3}
35
\integer{N=3}
Line 63... Line 64...
63
\integer{w=\size[1]+10}
64
\integer{w=\size[1]+10}
64
\text{couleur=#FFFFCC}
65
\text{couleur=#FFFFCC}
65
\css{<style type="text/css">
66
\css{<style type="text/css">
66
   .question {background-color: #FFFFCC;margin: 2% 2%;padding: 1%;}
67
   .question {background-color: #FFFFCC;margin: 2% 2%;padding: 1%;}
67
   table.tableau {border:solid 1px;
68
   table.tableau {border:solid 1px;
68
    border-collapse:collapse;}
69
    border-collapse:collapse;margin-left:auto;margin-right:auto;}
69
    table.tableau td, th {background-color:#FFFFCC;text-align:left;border:solid 1px;width:55px;
70
    table.tableau td, th {background-color:#FFFFCC;text-align:left;border:solid 1px;width:55px;
70
    padding-left:10px;margin-left:20px;}
71
    padding-left:10px;margin-left:20px;}
71
   ol li {list-style: upper-alpha; }
72
   ol li {list-style: upper-alpha; }
72
    table.tableau th { background-color:#CCCFFF;}
73
    table.tableau th { background-color:#CCCFFF;}
73
    table.tableau tr > th:first-child {width:400px;}
74
    table.tableau tr > th:first-child {width:400px;}
Line 109... Line 110...
109
\text{nstep=r1}
110
\text{nstep=r1}
110
\nextstep{\nstep}
111
\nextstep{\nstep}
111
\text{col=1}
112
\text{col=1}
112
\statement{
113
\statement{
113
<div class="question"> \instruction
114
<div class="question"> \instruction
114
<center>
115
 
115
<table class="tableau"><tr> <th></th>
116
<table class="tableau"><tr> <th></th>
116
\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>}
117
</tr>
118
</tr>
118
\for{j=1 to \N}{ 
119
\for{j=1 to \N}{ 
119
  <tr><th>\data[\j;1]</th>
120
  <tr><th>\data[\j;1]</th>
120
   \for{k=1 to \attribut_cnt}{
121
   \for{k=1 to \attribut_cnt}{
121
    \if{\step=1}{<td><font color="\couleur">\embed{r1,\C[(\attribut_cnt)*(\j-1)+\k]}</font></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>}
122
    }
123
    }
123
  </tr>
124
  </tr>
124
}
125
}
125
</table>
126
</table>
126
</center>
-
 
127
</div>
127
</div>
128
}
128
}
129
\answer{}{\Data;\C1}{type=checkbox}{option=split noanalyzeprint nonstop}
129
\answer{}{\Data;\C1}{type=checkbox}{option=split noanalyzeprint nonstop}
130
\text{nstep=}
130
\text{nstep=}
131
\text{C=}
131
\text{C=}