Rev 13383 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 13383 | Rev 14667 | ||
---|---|---|---|
Line 7... | Line 7... | ||
7 | :\author{$wims_firstname,$wims_lastname} |
7 | :\author{$wims_firstname,$wims_lastname} |
8 | :\email{$wims_email} |
8 | :\email{$wims_email} |
9 | :\credits{} |
9 | :\credits{} |
10 | :$name_instruction |
10 | :$name_instruction |
11 | \text{instruction=$name_instruction11 } |
11 | \text{instruction=$name_instruction11 } |
12 | :$name_image |
- | |
13 | \text{image=$wims_deposit} |
- | |
14 | :$name_qu_cnt (<=10) |
12 | :$name_qu_cnt (<=10) |
15 | \integer{N=4} |
13 | \integer{N=4} |
16 | :$name_distractor |
- | |
17 | \integer{n=3} |
- | |
18 | :$name_labelsize |
14 | :$name_labelsize |
19 | \text{eti=150,20} |
15 | \text{eti=150,20} |
20 | :$name_color1 |
16 | :$name_color1 |
21 | \text{color=black} |
17 | \text{color=black} |
- | 18 | :$name_image |
|
- | 19 | \text{image=$wims_deposit} |
|
- | 20 | :$name_distractor |
|
- | 21 | \integer{n=3} |
|
22 | :$name_help_format1 |
22 | :$name_help_format1 |
23 | \text{format=clickfill} |
23 | \text{format=clickfill} |
24 | 24 | ||
25 | :$name_data |
25 | :$name_data |
26 | $name_help_data |
26 | $name_help_data |
27 | \matrix{data=$data} |
27 | \matrix{data=$data} |
- | 28 | :$name_intrus |
|
- | 29 | \text{intrus=} |
|
- | 30 | :$name_nbintrus |
|
- | 31 | \text{nbintrus=0} |
|
28 | 32 | ||
29 | :%%%%%%%%%%%%%%%%%%%%%%%% |
33 | :%%%%%%%%%%%%%%%%%%%%%%%% |
30 | \text{data=wims(embraced randitem \data)} |
34 | \text{data=wims(embraced randitem \data)} |
31 | \text{size= \data[1;]} |
35 | \text{size= \data[1;]} |
32 | \text{coord = \data[2..-1;]} |
36 | \text{coord = \data[2..-1;]} |
33 | \integer{N1=rows(\coord)} |
37 | \integer{N1=rows(\coord)} |
34 | \matrix{coord=\coord} |
38 | \matrix{coord=\coord} |
- | 39 | \integer{intruscnt=items(\intrus)} |
|
- | 40 | \text{intrus=shuffle(\intrus)} |
|
- | 41 | \integer{nbintrus=min(\nbintrus,\intruscnt)} |
|
- | 42 | \text{intrus2=\intrus[1..\nbintrus]} |
|
35 | \integer{N=min(\N,\N1)} |
43 | \integer{N=min(\N,\N1)} |
36 | \text{etix=\eti[1]} |
44 | \text{etix=\eti[1]} |
37 | \text{etiy=\eti[2]} |
45 | \text{etiy=\eti[2]} |
38 | \text{position=} |
46 | \text{position=} |
39 | \text{V = shuffle(\N1)} |
47 | \text{V = shuffle(\N1)} |
Line 49... | Line 57... | ||
49 | \text{co=\cor[1] < \cor[3] ? pari([\co] - [\etix,\etiy/2]): |
57 | \text{co=\cor[1] < \cor[3] ? pari([\co] - [\etix,\etiy/2]): |
50 | pari([\co] - [0,\etiy/2])} |
58 | pari([\co] - [0,\etiy/2])} |
51 | \text{position=\position |
59 | \text{position=\position |
52 | r \k,\co[1] x \co[2]} |
60 | r \k,\co[1] x \co[2]} |
53 | } |
61 | } |
54 | \text{ |
62 | \text{figure=draw(\size |
55 | \dessinprelim)} |
63 | \dessinprelim)} |
56 | 64 | ||
57 | \text{liste=\M |
65 | \text{liste=\M>0? \coord[\V[\N+1..\N+\M];1]:} |
- | 66 | \text{liste=\liste,\intrus2} |
|
58 | \text{Step=wims(makelist r x for x=1 to \N)} |
67 | \text{Step=wims(makelist r x for x=1 to \N)} |
59 | \steps{\Step} |
68 | \steps{\Step} |
60 | \statement{ |
69 | \statement{ |
61 | \instruction |
70 | \instruction |
62 | <div class="wimscenter"> |
71 | <div class="wimscenter"> |
63 | \special{imagefill \figure,\size[1] x \size[2],\etix x \etiy |
72 | \special{imagefill \figure,\size[1] x \size[2],\etix x \etiy |
64 | \position} |
73 | \position} |
65 | </div> |
74 | </div> |
66 | } |
75 | } |
67 | 76 | ||
68 | \answer{}{\coord[\K[1];1]}{type=\format} |
77 | \answer{}{\coord[\K[1];1];\liste}{type=\format} |
69 | \answer{}{\coord[\K[2];1]}{type=\format} |
78 | \answer{}{\coord[\K[2];1]}{type=\format} |
70 | \answer{}{\coord[\K[3];1]}{type=\format} |
79 | \answer{}{\coord[\K[3];1]}{type=\format} |
71 | \answer{}{\coord[\K[4];1]}{type=\format} |
80 | \answer{}{\coord[\K[4];1]}{type=\format} |
72 | \answer{}{\coord[\K[5];1]}{type=\format} |
81 | \answer{}{\coord[\K[5];1]}{type=\format} |
73 | \answer{}{\coord[\K[6];1]}{type=\format} |
82 | \answer{}{\coord[\K[6];1]}{type=\format} |