Rev 11375 | Rev 13476 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11375 | Rev 12169 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | textarea="data" |
2 | textarea="data" |
3 | 3 | ||
4 | : |
4 | :Classificar objectes per les seves propietats en una taula. |
5 | 5 | ||
6 |
|
6 | Presentem una llista d'objectes i una llista d'atributs (propietats). Heu d'omplir |
7 |
|
7 | una taula segons si els objectes verifiquen les propietats o no, marcant o no en el quadre. |
8 | 8 | ||
9 | <p> |
9 | <p> |
10 |
|
10 | Per construir un exercici amb aquest model, només cal que introduïu la llista |
11 |
|
11 | d'atributs i una llista d'objectes on s'indiqui si verifiquen o no |
12 | les |
12 | les propietats en el mateix ordre que els atributs (amb un 0 o un 1) |
13 | <p> |
13 | <p> |
14 |
|
14 | Aquest exercici es pot transformar fàcilment per ser inclòs en un mòdul OEF |
15 | si |
15 | si voleu posar les dades en un fitxer auxiliar. |
16 | <p> |
16 | <p> |
17 |
|
17 | Autor del model: Bernadette Perrin-Riou <bpr@math.u-psud.fr> |
18 | 18 | ||
19 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
19 | :%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%% |
20 | 20 | ||
21 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
21 | Enlevez l'en-tête ci-dessus si vous détruisez les balises pour le modèle ! |
22 | (Ce sont les lignes qui commencent par un ':'.) |
22 | (Ce sont les lignes qui commencent par un ':'.) |
23 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
23 | Sinon l'exercice risque de ne pas pouvoir repasser sous Createxo. |
24 | 24 | ||
25 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
25 | :%%%%%%%% Paramètres d'exemples à redéfinir %%%%%%%%%%%%%%%%% |
26 | 26 | ||
27 | :\title{ |
27 | :\title{Taula per omplir (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 | :\credits{} |
31 | : |
31 | :Enunciat |
32 | \text{instruction= Remplir le tableau.} |
32 | \text{instruction= Remplir le tableau.} |
33 | 33 | ||
34 | :Nombre |
34 | :Nombre d'objectes triats a l'atzar |
35 | \integer{N=3} |
35 | \integer{N=3} |
36 | 36 | ||
37 | :Nom |
37 | :Nom del fitxer |
38 |
|
38 | Ompliu només si voleu utilitzar un fitxer de dades (en un mòdul OEF). |
39 | \text{file=} |
39 | \text{file=} |
40 |
|
40 | del tipus |
41 | <pre> |
41 | <pre> |
42 | poils,plumes,quatre |
42 | poils,plumes,quatre pattes,ailes |
43 | : |
43 | :pie,0,1,0,1 |
44 | :boeuf,1,0,1,0 |
44 | :boeuf,1,0,1,0 |
45 | </pre> |
45 | </pre> |
46 |
|
46 | En aquest cas, no es tindrà en compte les dades següents. |
47 |
|
47 | En cas contrari, ompliu les dades. |
48 | 48 | ||
49 | : |
49 | :Llista d'atributs |
50 | \text{attribut=poils,plumes,quatre |
50 | \text{attribut=poils,plumes,quatre pattes,ailes} |
51 | : |
51 | :Dades |
52 |
|
52 | Una línia per objecte. |
53 | \text{ |
53 | \text{data=pie,0,1,0,1 |
54 | boeuf,1,0,1,0 |
54 | boeuf,1,0,1,0 |
55 | chat,1,0,1,0 |
55 | chat,1,0,1,0 |
56 | moustique,0,0,0,1} |
56 | moustique,0,0,0,1} |
57 | : |
57 | :Text o imatges per indicar una resposta bona o dolenta |
58 |
|
58 | Aquest text es mostra al moment de la resposta, per defecte apareixen les imatges. |
59 | \text{nonoui=} |
59 | \text{nonoui=} |
60 | 60 | ||
61 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
61 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
62 | 62 | ||
63 | \text{size=50,50} |
63 | \text{size=50,50} |
Line 69... | Line 69... | ||
69 | border-collapse:collapse;margin-left:auto;margin-right:auto;} |
69 | border-collapse:collapse;margin-left:auto;margin-right:auto;} |
70 | 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; |
71 | padding-left:10px;margin-left:20px;} |
71 | padding-left:10px;margin-left:20px;} |
72 | ol li {list-style: upper-alpha; } |
72 | ol li {list-style: upper-alpha; } |
73 | table.tableau th { background-color:#CCCFFF;} |
73 | table.tableau th { background-color:#CCCFFF;} |
74 | table.tableau tr > th:first-child {width: |
74 | table.tableau tr > th:first-child {width:100px;} |
75 | </style>} |
75 | </style>} |
76 | \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"/>} |
76 | \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"/>} |
77 | \if{\file notsametext}{ |
77 | \if{\file notsametext}{ |
78 | \text{file=randitem(\file)} |
78 | \text{file=randitem(\file)} |
79 | \text{attribut=wims(record 0 of \file)} |
79 | \text{attribut=wims(record 0 of \file)} |