Rev 6132 | Rev 11310 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6132 | Rev 6582 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | (Ce sont les lignes qui commencent par un ':'.) |
24 | (Ce sont les lignes qui commencent par un ':'.) |
25 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
25 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
26 | 26 | ||
27 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
27 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
28 | 28 | ||
29 | : |
- | |
30 | \title{Tableau à remplir (fill)} |
29 | :\title{Tableau à remplir (fill)} |
31 | : |
- | |
32 | \author{Bernadette, Perrin-Riou} |
30 | :\author{Bernadette, Perrin-Riou} |
33 | : |
- | |
34 | \email{bpr@math.u-psud.fr} |
31 | :\email{bpr@math.u-psud.fr} |
- | 32 | :\credits{} |
|
35 | :Instruction |
33 | :Instruction |
36 | \text{instruction= Remplir le tableau.} |
34 | \text{instruction= Remplir le tableau.} |
37 | 35 | ||
38 | :Nombre d'objets tirés au sort |
36 | :Nombre d'objets tirés au sort |
39 | \integer{N=3} |
37 | \integer{N=3} |
Line 69... | Line 67... | ||
69 | 67 | ||
70 | \integer{w=\size[1]+10} |
68 | \integer{w=\size[1]+10} |
71 | 69 | ||
72 | \css{<style type="text/css"> |
70 | \css{<style type="text/css"> |
73 | .question {background-color: #FFFFCC;margin: 2% 2%;padding: 1%;} |
71 | .question {background-color: #FFFFCC;margin: 2% 2%;padding: 1%;} |
74 | table.tableau {border:solid 1px; |
72 | table.tableau {border:solid 1px;margin-left:auto;margin-right:auto; |
75 | border-collapse:collapse |
73 | border-collapse:collapse;} |
76 | table.tableau td, th {text-align:center;border:solid 1px;width: |
74 | table.tableau td, th {text-align:center;border:solid 1px;min-width:50px;} |
77 | ol li {list-style: upper-alpha; } |
75 | ol li {list-style: upper-alpha; } |
78 | table.tableau th { background-color:#CCCFFF;} |
76 | table.tableau th { background-color:#CCCFFF;} |
79 | </style>} |
77 | </style>} |
80 | \if{\file notsametext}{ |
78 | \if{\file notsametext}{ |
81 | \text{file=randitem(\file)} |
79 | \text{file=randitem(\file)} |
Line 105... | Line 103... | ||
105 | \text{STEP=} |
103 | \text{STEP=} |
106 | \for{u=1 to \N}{ |
104 | \for{u=1 to \N}{ |
107 | \text{STEP=\STEP |
105 | \text{STEP=\STEP |
108 | wims(makelist r x for x = (\u-1)*\attribut_cnt + 1 to (\u)*\attribut_cnt)} |
106 | wims(makelist r x for x = (\u-1)*\attribut_cnt + 1 to (\u)*\attribut_cnt)} |
109 | \text{Data=wims(append item \data[\u;2..-1] to \Data)} |
107 | \text{Data=wims(append item \data[\u;2..-1] to \Data)} |
- | 108 | \for{c=0 to \ch_cnt-1}{ |
|
110 | \text{Data=wims(replace internal \c by \nonoui[\c+1] in \Data)} |
109 | \text{Data=wims(replace internal \c by \nonoui[\c+1] in \Data)} |
- | 110 | } |
|
111 | } |
111 | } |
112 | \matrix{STEP=\STEP} |
112 | \matrix{STEP=\STEP} |
113 | \text{STEP1=wims(replace internal ; by , in \STEP)} |
113 | \text{STEP1=wims(replace internal ; by , in \STEP)} |
114 | \text{STEP1=wims(nonempty items \STEP1)} |
114 | \text{STEP1=wims(nonempty items \STEP1)} |
115 | \steps{\STEP1} |
115 | \steps{\STEP1} |