Subversion Repositories wimsdev

Rev

Rev 13781 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
13716 obado 1
type=gapfill first
13781 bpr 2
textarea="explain data feedback_general"
3
iEdit="explain feedback_general"
4
asis="explain feedback_general"
2071 zjchen 5
 
13488 obado 6
:ÔÚÒ»¶ÎÎÄ×ÖÖлìºÏǶÈëÌî³ä»òÑ¡ÔñÌâ.
2071 zjchen 7
 
13488 obado 8
±¾Á·Ï°¸øÄãÒ»¶ÎÎÄ×Ö, ÆäÖÐǶÈëһЩÐèÌî³ä»òÑ¡ÔñµÄÄÚÈÝ.
2071 zjchen 9
<p>
13488 obado 10
ΪÁ˹¹ÔìÕâÑùµÄÁ·Ï°, Ö»ÐèÊäÈëÒ»¶ÎÎÄ×Ö.
11
È»ºóÔٰѶàÖØÑ¡ÔñÌâ»ò×ÔÓɻشðµÄÌî³äÌâǶ½øÈ¥.</p>
15179 lemaire 12
<p class="wims_credits">Ä£¿é×÷Õß : <a href="mailto:qualite@wimsedu.info">Gang Xiao</a></p>
2071 zjchen 13
 
13488 obado 14
:%%%%%%%%%%%%%%%%%      ×¢       Òâ      %%%%%%%%%%%%%%%%%%%%
2071 zjchen 15
 
13488 obado 16
Èç¹ûÄãɾȥÁ˱¾·¶ÀýÖеıêÇ© (¼´¸úËæÔÚðºÅ ':' ºóÃæµÄÄǼ¸ÐÐ),
17
ÄÇôҲÇëɾȥÕâ¸öÍ·²¿, ·ñÔòÓпÉÄܻز»µ½ Createxo.
2071 zjchen 18
 
13488 obado 19
:%%%%%%%%%%%%%%%%%   ±»ÖØÐ¶¨ÒåµÄ²ÎÊýʾÀý   %%%%%%%%%%%%%%%%%%
2071 zjchen 20
 
13488 obado 21
:\title{Îı¾ÖеĻìºÏÌâ}
2071 zjchen 22
:\author{XIAO Gang}
8002 bpr 23
:\email{qualite@wimsedu.info}
2071 zjchen 24
 
13488 obado 25
:ÒªËØ.
26
Ìá³öµÄÎÊÌâÓ¦¸Ã·ÅÔÚË«ÎʺŠ"??" ÀïÃæ.
2071 zjchen 27
<p>
13488 obado 28
¼¸¸öÓöººÅ·Ö¸ôµÄ»Ø´ð·ÅÔÚÒ»Æð¾ÍÊÇÒ»¸ö¶àÖØÑ¡ÔñÌâ.
29
·ñÔò¾ÍÊÇ×ÔÓɻشðÌâ, ¿ÉÒÔÊÇÊý×ֵĻòÎÄ×ÖµÄ.
30
ÔÚºóÒ»ÇéÐÎÈç¹ûÄÚÈÝÖаüº¬ÊúÏß '|', ¾Í²ÉÓà symtext ·ÖÎö»Ø´ð.
2071 zjchen 31
<p>
13488 obado 32
ͬһ¾ä×Ó¿ÉÒÔÌá³ö¶à¸öÎÊÌâ (²»³¬¹ý 20).
33
µÚÒ»¸ö»Ø´ðÊÇÕýÈ·µÄ´ð°¸.
34
Èç¹ûÒ»¸öÎÊÌâÓкü¸¸öÕýÈ·µÄ»Ø´ð,
35
ÄÇôÕâЩÕýÈ·µÄ»Ø´ð¼äÓÃÊúÏß '|' ·Ö¸ô.
2071 zjchen 36
<p>
37
$embraced_randitem
7169 bpr 38
\text{data=<p>
13488 obado 39
Ìî³ä :</p>
40
Linux ÊÇÓÉ Linus Torvalds ÔÚ
2071 zjchen 41
??1991??
13488 obado 42
´´½¨µÄ. ËûÊÇÒ»¸ö
43
??·ÒÀ¼,Èðµä,ÃÀ¹ú,Ó¢¹ú,ŲÍþ??
44
ѧÉú, µ±Ê±ÕýÔÚÒ»¸ö
2071 zjchen 45
??Intel 386,Sun,Macintosh,Bull,Microsoft??
13488 obado 46
»úÆ÷ÉÏʵϰ
2071 zjchen 47
??Minix??
13488 obado 48
ϵͳ. ËûÔÚÒ»¸öÐÂÎÅ×éÀïÊ×´ÎÒÔ°æ±¾ºÅ
2071 zjchen 49
??0.02??.
13488 obado 50
·¢²¼ÁËÕâ¸öϵͳ.
2071 zjchen 51
}
52
 
10007 obado 53
:Menu display order
54
Menus can be displayed in a shuffle order or sorted.
55
\text{list_order=item(1,alpha,shuffle)}
56
 
13488 obado 57
:%%%%%%%%%%%%%%       ²»Òª¸Ä¶¯ÏÂÃæÕâ¶ÎÃüÁî          %%%%%%%%%%%%%%%%
2071 zjchen 58
 
59
\precision{10000}
60
\text{data=wims(singlespace \data)}
61
\text{data=wims(embraced randitem \data)}
62
\text{data=slib(text/cutchoice2 \data)}
63
\integer{qs=min(20,floor(rows(\data)/2))}
64
\text{types=}
65
\text{options=}
66
\text{lengths=}
67
 
68
\text{good=}
69
\text{field=}
70
\for{i=1 to \qs}{
71
 \text{f=\data[2*\i;]}
72
 \integer{test=items(\f)}
73
 \if{\test>1}{
74
  \text{g=\f[1]}
10007 obado 75
  \if{\list_order issametext alpha}{
76
    \text{f=wims(sort items \f)}
77
  }
78
  {
79
    \text{f=shuffle(\f,,)}
80
  }
2071 zjchen 81
  \text{g=positionof(\g,\f)}
82
  \text{good=\good\g;,}
83
  \text{field=\field\f;}
84
  \text{types=\types[]menu,}
85
  \text{lengths=\lengths,}
86
 }{
87
  \text{good=\good\f,}
88
  \integer{c=wims(charcnt \f)}
89
  \text{field=\field;}
90
  \real{test=\f}
91
  \if{\test issametext NaN}{
92
   \text{test=wims(translate internal | to , in \f)}
93
   \integer{c=wims(charcnt \test[1])}
94
   \integer{c=min(50,max(6,\c+6))}
95
   \text{lengths=\lengths\c,}
96
   \text{types=\types[]atext,}
97
   \text{options=| isin \f?\options[]symtext}
98
  }{
99
   \integer{c=max(5,\c+2)}
100
   \text{lengths=\lengths\c,}
101
   \text{f1=wims(nospace \f)}
102
   \text{test=wims(text select -0123456789 in \f)}
103
   \text{types=\test issametext \f1 and abs(\f)<4000?\types[]numexp,:\types[]number,}
104
  }
105
 }
106
 \text{options=\options,}
107
}
108
 
109
\text{qlist=wims(makelist reply x for x=1 to \qs)}
110
\steps{\qlist}
111
 
13488 obado 112
:%%%%%%%%%%%%% ÏÖÔÚ¿ÉÒÔÓà html ¸ñʽÌîÈëÎÊÌâµÄ³ÂÊö  %%%%%%%%%%%%%%%%%%%%%%%%%
2071 zjchen 113
 
13488 obado 114
::Ò»°ãÇé¿öÏÂûÓбØÒª¸Ä¶¯Ëü
2071 zjchen 115
 
116
\statement{
117
\data[1;]
118
\for{k=1 to \qs}{
119
\embed{r \k,\lengths[\k]} \data[2*\k+1;]
120
}
121
}
122
 
13488 obado 123
:%%%%%%%%%%%%%      ²»Òª¸Ä¶¯ÒÔϵÄÃüÁî        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2071 zjchen 124
 
125
\answer{Champ 1}{\good[1]\field[1;]}{type=\types[1]}{option=\options[1]}
126
\answer{Champ 2}{\good[2]\field[2;]}{type=\types[2]}{option=\options[2]}
127
\answer{Champ 3}{\good[3]\field[3;]}{type=\types[3]}{option=\options[3]}
128
\answer{Champ 4}{\good[4]\field[4;]}{type=\types[4]}{option=\options[4]}
129
\answer{Champ 5}{\good[5]\field[5;]}{type=\types[5]}{option=\options[5]}
130
\answer{Champ 6}{\good[6]\field[6;]}{type=\types[6]}{option=\options[6]}
131
\answer{Champ 7}{\good[7]\field[7;]}{type=\types[7]}{option=\options[7]}
132
\answer{Champ 8}{\good[8]\field[8;]}{type=\types[8]}{option=\options[8]}
133
\answer{Champ 9}{\good[9]\field[9;]}{type=\types[9]}{option=\options[9]}
134
\answer{Champ 10}{\good[10]\field[10;]}{type=\types[10]}{option=\options[10]}
135
\answer{Champ 11}{\good[11]\field[11;]}{type=\types[11]}{option=\options[11]}
136
\answer{Champ 12}{\good[12]\field[12;]}{type=\types[12]}{option=\options[12]}
137
\answer{Champ 13}{\good[13]\field[13;]}{type=\types[13]}{option=\options[13]}
138
\answer{Champ 14}{\good[14]\field[14;]}{type=\types[14]}{option=\options[14]}
139
\answer{Champ 15}{\good[15]\field[15;]}{type=\types[15]}{option=\options[15]}
140
\answer{Champ 16}{\good[16]\field[16;]}{type=\types[16]}{option=\options[16]}
141
\answer{Champ 17}{\good[17]\field[17;]}{type=\types[17]}{option=\options[17]}
142
\answer{Champ 18}{\good[18]\field[18;]}{type=\types[18]}{option=\options[18]}
143
\answer{Champ 19}{\good[19]\field[19;]}{type=\types[19]}{option=\options[19]}
144
\answer{Champ 20}{\good[20]\field[20;]}{type=\types[20]}{option=\options[20]}
145