Rev 13476 | Rev 13716 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13476 | Rev 13483 | ||
---|---|---|---|
Line 63... | Line 63... | ||
63 | 63 | ||
64 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
64 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
65 | 65 | ||
66 | \text{size=50,50} |
66 | \text{size=50,50} |
67 | \integer{w=\size[1]+10} |
67 | \integer{w=\size[1]+10} |
68 | \text{couleur=#FFFFCC} |
- | |
69 | \css{<style type="text/css"> |
68 | \css{<style type="text/css"> |
70 |
|
69 | .big_check{text-align: center} |
71 |
|
70 | @supports (zoom:2){ |
72 | border-collapse:collapse;margin-left:auto;margin-right:auto;} |
- | |
73 | table.tableau td, th {background-color:#FFFFCC;text-align:left;border:solid 1px;width:55px; |
- | |
74 |
|
71 | .big_check>input{zoom: 1.4;} |
- | 72 | } |
|
75 |
|
73 | @supports not (zoom:2){ |
76 |
|
74 | .big_check>input{transform: scale(1.4);} |
- | 75 | } |
|
77 |
|
76 | .big_check>label{color:transparent;width:1px;height:1px;position: absolute;} |
78 | </style>} |
77 | </style>} |
79 |
|
78 | \text{nonoui=\nonoui issametext ? <img src="scripts/authors/jm.evers/gifs/ok.gif" width="15"/>,<img src="scripts/authors/jm.evers/gifs/nok.gif" width="15"/>} |
80 | \if{\file notsametext}{ |
79 | \if{\file notsametext}{ |
81 | \text{file=randitem(\file)} |
80 | \text{file=randitem(\file)} |
82 | \text{attribut=wims(record 0 of \file)} |
81 | \text{attribut=wims(record 0 of \file)} |
83 | \integer{datacnt=wims(recordcnt \file)} |
82 | \integer{datacnt=wims(recordcnt \file)} |
84 | \integer{N=min(\N,\datacnt)} |
83 | \integer{N=min(\N,\datacnt)} |
Line 105... | Line 104... | ||
105 | \for{u=1 to \N}{ |
104 | \for{u=1 to \N}{ |
106 | \for{v=2 to \attribut_cnt+1}{ |
105 | \for{v=2 to \attribut_cnt+1}{ |
107 | \integer{uu=(\u-1)*\attribut_cnt + \v -1} |
106 | \integer{uu=(\u-1)*\attribut_cnt + \v -1} |
108 | \text{Data=\data[\u;\v]=1? wims(append item \uu to \Data)} |
107 | \text{Data=\data[\u;\v]=1? wims(append item \uu to \Data)} |
109 | } |
108 | } |
110 | } |
109 | } |
111 | \text{C=wims(makelist x for x=1 to \N*\attribut_cnt)} |
110 | \text{C=wims(makelist x for x=1 to \N*\attribut_cnt)} |
112 | \text{C1=wims(makelist x for x=1 to \N*\attribut_cnt)} |
111 | \text{C1=wims(makelist x for x=1 to \N*\attribut_cnt)} |
113 | \text{nstep=r1} |
112 | \text{nstep=r1} |
114 | \nextstep{\nstep} |
113 | \nextstep{\nstep} |
115 | \text{col=1} |
114 | \text{col=1} |
- | 115 | ||
116 | \statement{ |
116 | \statement{ |
117 |
|
117 | <div class="instruction">\instruction</div> |
118 | - | ||
119 |
|
118 | <table class="wimstable"> |
- | 119 | <tr> |
|
- | 120 | <th></th> |
|
120 | \for{k=1 to \attribut_cnt}{<th colspan="\col">\attribut[\k]</th>} |
121 | \for{k=1 to \attribut_cnt}{<th colspan="\col">\attribut[\k]</th>} |
121 | </tr> |
122 | </tr> |
122 | \for{j=1 to \N}{ |
123 | \for{j=1 to \N}{ |
- | 124 | <tr> |
|
123 |
|
125 | <th>\data[\j;1]</th> |
124 | \for{k=1 to \attribut_cnt}{ |
126 | \for{k=1 to \attribut_cnt}{ |
- | 127 | \if{\step=1}{ |
|
125 |
|
128 | <td class="big_check">\embed{r1,\C[(\attribut_cnt)*(\j-1)+\k]}</td> |
- | 129 | }{ |
|
- | 130 | <td>\C[(\attribut_cnt)*(\j-1)+\k]</td> |
|
- | 131 | } |
|
- | 132 | } |
|
- | 133 | </tr> |
|
126 | } |
134 | } |
127 | </tr> |
- | |
128 | } |
- | |
129 | </table> |
135 | </table> |
130 | </div> |
- | |
131 | } |
136 | } |
- | 137 | ||
132 | \answer{}{\Data;\C1}{type=checkbox}{option=split noanalyzeprint nonstop} |
138 | \answer{}{\Data;\C1}{type=checkbox}{option=split noanalyzeprint nonstop} |
133 | \text{nstep=} |
139 | \text{nstep=} |
134 | \text{C=} |
140 | \text{C=} |
135 | \text{col=2} |
141 | \text{col=2} |
136 | \text{croix=<span style="color:black; font-size:20pt;font-style:bold;">X</span></td>} |
142 | \text{croix=<span style="color:black; font-size:20pt;font-style:bold;">X</span></td>} |