# multiplechoice voorvoegsels
#http://nl.wikipedia.org/wiki/SI-prefix
n=$counter
XSIZE=600
helptext=$empty
exotext=$empty
textanswer$n=$empty
formula$n=$empty
mathview=0
inputs=0
image=0
math=0
javascript=js/exo11.js
questiontype=7
checkfile=exos/checkfile2.proc
#2 @ 10<sup><small> 18<small></sup>  @ 10^18 @ exa @ E
data=exos/prefixes
records=16
### !recordcnt $data
!for p=1 to $records
    keuze=!append item $p to $keuze
!next p
keuze=!shuffle $keuze
correct=!randint 1,$records
text=$empty
kans=!randitem 1,2
!if $kans=1
    k1=4
    k2=2
    k3=4
    vraag=!record 28 of lang/remarks.$taal
    #@Het getal <b>XXX</b> kan worden <br>vervangen door het SI voorvoegsel:
!else
    k1=3
    k2=4
    k3=2
    vraag=!record 29 of lang/remarks.$taal
    #@Het SI voorvoegsel " <b>XXX</b> " is het getal :    
!endif

!for p=1 to $records
    k=!item $p of $keuze
    regel=!record $k of $data
    regel=!replace internal @ by , in $regel
    r1=!item $k1 of $regel
    value=!item 1 of $regel
    !if $p=$correct
	answer$n=$value
	r2=!item $k2 of $regel
	r3=!item $k3 of $regel
    !endif
    text=!append line <option value="$value">$r1</option> to $text
!next p
rr=!record 30 of lang/remarks.$taal
#@=Het goede antwoord: <br>In het S.I. stelsel hoor <b>$r2</b> bij <b>$r3</b> 
textanswer$n=$rr
exotext=<p><div align="center"><form name="myform1"><select size="1" name="reply" style="font-size:18px;background-color:#e8ffff;border:1px solid #ff0000;width:200px;text-align:left"> $text </select></form></div>
question$n=!replace internal XXX by $r2 in $vraag
