Rev 13716 | Blame | Compare with Previous | Last modification | View Log | RSS feed
type=gapfill datalist
textarea="data pre post"
iEdit="pre post"
:ÔÚËæ»úѡȡµÄÎı¾ÖвåÈë»ìºÏÎÊÌâ.
±¾Á·Ï°ÔÚÎı¾Öмä²åÈëһЩÐèÒªÓÃÎÄ×ÖÌî³ä»ò¶àÖØÑ¡ÔñµÄ¿Õ¸ñ.
<p>
ΪÁ˹¹ÔìÕâÖÖÀàÐ͵ÄÁ·Ï°, ÐèÒªÊäÈë¶à¸ö¶ÎÂ乩ѡȡ.
ºÜÈÝÒ×ǶÈëÐèÒªÓÃÎÄ×ÖÌî³äµÄ¿Õ¸ñ.
</p><p>
¶ÔÓÚÎ÷·½ÎÄ×ֵĻشð, ¿ÉÒÔÈÝÐí΢СµÄ²î±ð, ÀýÈçµ¥¸´Êý, ÓÐÎÞ¹Ú´Ê, ´óСд, ÓÐÎÞÖØÒô·ûµÈ.
ÉõÖÁ¿ÉÒÔÈÝÐí¸ö±ð×ÖĸÊäÈë´íÎó. µ«ÊÇÕâЩ¶ÔÓÚºº×ÖÊDz»ÊÊÓõÄ.</p>
<p class="wims_credits">Ä£¿é×÷Õß : <a href="mailto:qualite@wimsedu.info">Gang Xiao</a>
:%%%%%%%%%%%%%%%%% ×¢ Òâ %%%%%%%%%%%%%%%%%%%%
Èç¹ûÄãɾȥÁ˱¾·¶ÀýÖеıêÇ© (¼´¸úËæÔÚðºÅ ':' ºóÃæµÄÄǼ¸ÐÐ),
ÄÇôҲÇëɾȥÕâ¸öÍ·²¿, ·ñÔòÓпÉÄܻز»µ½ Createxo.
:%%%%%%%%%%%%%%%%% ±»ÖØÐ¶¨ÒåµÄ²ÎÊýʾÀý %%%%%%%%%%%%%%%%%%
:\title{»ìºÏÎÊÌâ}
:\author{XIAO Gang}
:\email{qualite@wimsedu.info}
:ÒªËØ.
ÿһ¸öÎÊÌâµÄ×îºóÓ÷ֺŠ';' ¸ô¿ª,
Òò´ËÎÊÌâÀïÃæ²»ÄÜʹÓ÷ֺÅ.<p>
Ìî¿ÕµÄÕýÈ·´ð°¸Ó¦¸Ã·ÅÔÚË«ÎʺŠ"??" ÀïÃæ.<p>
Èç¹ûÊǶàÖØÑ¡Ôñ, ÄÇôѡÏîÖ®¼äÓöººÅ·Ö¸ô. ·ñÔò¾ÍÊÇ×ÔÓɸñʽµÄ»Ø´ð.
¿ÉÒÔÊÇÊýÖµ»òÎÄ×Ö. Èç¹ûÊÇÎÄ×Ö, ¶øÇÒ±ê×¼´ð°¸Öк¬ÓÐÊúÏß '|',
¾Í²ÉÓà symtext ·½Ê½·ÖÎö»Ø´ð.<p>
ͬһ¾ä×Ó¿ÉÒÔÓжà¸ö¿Õ (²»³¬¹ý 20).
¶à¸öÕýÈ·´ð°¸Ö®¼äÓÃÊúÏß '|' ¸ô¿ª.
<p>
$embraced_randitem
\text{data=
±êÖ¾µÚ¶þ´ÎÊÀ½ç´óÕ½Õýʽ±¬·¢µÄʼþÊÇ
??Ó¢¹úºÍ·¨¹ú,·¨¹ú,Ó¢¹ú,µÂ¹ú,ËÕÁª?? ¶Ô ??µÂ¹ú,²¨À¼,ËÕÁª,·¨¹ú??
µÄ ??ÐûÕ½,½ø¹¥??.;
µÚ¶þ´ÎÊÀ½ç´óÕ½´Ó ??1939?? ÄêÖ±ÖÁ ??1945?? Äê.;
Ôڵ¹úÈëÇÖ ??²¨À¼?? ºó, ??Ó¢¹úºÍ·¨¹ú,·¨¹ú,Ó¢¹ú,ÃÀ¹ú,ËÕÁª?? ÓÚ ??1939?? Äê¶ÔµÂ¹úÐûÕ½.;
ÔÚµÚ¶þ´ÎÊÀ½ç´óÕ½ÖÐ, ??¸¥Àʸç|·ðÀʸç|·ðÀɸê|·ðÀɸç?? ͳÖÎϵÄÎ÷°àÑÀÊÇ
??ÖÐÁ¢¹ú,ÖáÐĹú,ͬÃ˹ú,±»Õ¼Áì¹ú??.;
}
:ÌâÍ·µÄ»°, ¿ÉÒÔÁô¿Õ.
$embraced_randitem
\text{pre=ÇëÌî¿Õ : <p>}
:ÌâºóµÄ»°, ¿ÉÒÔÁô¿Õ.
$embraced_randitem
\text{post=}
:%%%%%%%%%%%%%% ²»Òª¸Ä¶¯ÏÂÃæÕâ¶ÎÃüÁî %%%%%%%%%%%%%%%%
\precision{10000}
\text{data=wims(singlespace \data)}
\text{data=wims(nonempty rows \data)}
\text{data=randomrow(\data)}
\text{data=wims(embraced randitem \data)}
\text{data=slib(text/cutchoice2 \data)}
\integer{qs=min(20,floor(rows(\data)/2))}
\text{types=}
\text{options=}
\text{lengths=}
\text{good=}
\text{field=}
\for{i=1 to \qs}{
\text{f=\data[2*\i;]}
\integer{test=items(\f)}
\if{\test>1}{
\text{g=\f[1]}
\text{f=wims(sort items \f)}
\text{g=positionof(\g,\f)}
\text{good=\good\g;,}
\text{field=\field\f;}
\text{types=\types[]menu,}
\text{lengths=\lengths,}
}{
\text{good=\good\f,}
\integer{c=wims(charcnt \f)}
\text{field=\field;}
\real{test=\f}
\if{\test issametext NaN}{
\text{test=wims(translate internal | to , in \f)}
\integer{c=wims(charcnt \test[1])}
\integer{c=min(50,max(6,\c+6))}
\text{lengths=\lengths\c,}
\text{types=\types[]atext,}
\text{options=| isin \f?\options[]symtext}
}{
\integer{c=max(5,\c+2)}
\text{lengths=\lengths\c,}
\text{f1=wims(nospace \f)}
\text{test=wims(text select -0123456789 in \f)}
\text{types=\test issametext \f1 and abs(\f)<4000?\types[]numexp,:\types[]number,}
}
}
\text{options=\options,}
}
\text{pre=wims(embraced randitem \pre)}
\text{post=wims(embraced randitem \post)}
\text{qlist=wims(makelist reply x for x=1 to \qs)}
\steps{\qlist}
:%%%%%%%%%%%%% ÏÖÔÚ¿ÉÒÔÓà html ¸ñʽÌîÈëÎÊÌâµÄ³ÂÊö %%%%%%%%%%%%%%%%%%%%%%%%%
::Ò»°ãÇé¿öÏÂûÓбØÒª¸Ä¶¯Ëü
\statement{\pre
\data[1;]
\for{k=1 to \qs}{
\embed{r \k,\lengths[\k]} \data[2*\k+1;]
}
\post
}
:%%%%%%%%%%%%% ²»Òª¸Ä¶¯ÒÔϵÄÃüÁî %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\answer{Champ 1}{\good[1]\field[1;]}{type=\types[1]}{option=\options[1]}
\answer{Champ 2}{\good[2]\field[2;]}{type=\types[2]}{option=\options[2]}
\answer{Champ 3}{\good[3]\field[3;]}{type=\types[3]}{option=\options[3]}
\answer{Champ 4}{\good[4]\field[4;]}{type=\types[4]}{option=\options[4]}
\answer{Champ 5}{\good[5]\field[5;]}{type=\types[5]}{option=\options[5]}
\answer{Champ 6}{\good[6]\field[6;]}{type=\types[6]}{option=\options[6]}
\answer{Champ 7}{\good[7]\field[7;]}{type=\types[7]}{option=\options[7]}
\answer{Champ 8}{\good[8]\field[8;]}{type=\types[8]}{option=\options[8]}
\answer{Champ 9}{\good[9]\field[9;]}{type=\types[9]}{option=\options[9]}
\answer{Champ 10}{\good[10]\field[10;]}{type=\types[10]}{option=\options[10]}
\answer{Champ 11}{\good[11]\field[11;]}{type=\types[11]}{option=\options[11]}
\answer{Champ 12}{\good[12]\field[12;]}{type=\types[12]}{option=\options[12]}
\answer{Champ 13}{\good[13]\field[13;]}{type=\types[13]}{option=\options[13]}
\answer{Champ 14}{\good[14]\field[14;]}{type=\types[14]}{option=\options[14]}
\answer{Champ 15}{\good[15]\field[15;]}{type=\types[15]}{option=\options[15]}
\answer{Champ 16}{\good[16]\field[16;]}{type=\types[16]}{option=\options[16]}
\answer{Champ 17}{\good[17]\field[17;]}{type=\types[17]}{option=\options[17]}
\answer{Champ 18}{\good[18]\field[18;]}{type=\types[18]}{option=\options[18]}
\answer{Champ 19}{\good[19]\field[19;]}{type=\types[19]}{option=\options[19]}
\answer{Champ 20}{\good[20]\field[20;]}{type=\types[20]}{option=\options[20]}