Subversion Repositories wimsdev

Rev

Rev 9227 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

:Command list

:directive,number of<br/>parameters,description,optional parameters,recognized option words

:title
1
Naslov vaje

:language
1
Jezik vaje (npr. <span class="tt wims_code_words">en, fr</span> ali  <span class="tt wims_code_words">si</span>)

:author
1
Ime avtorja. Write it in the form <span class="tt wims_code_words">firstname, lastname</span> (in case of multiple authors, use a semicolon between them).

:email
1
E-naslov avtorja (in case of multiple authors, use a comma between the addresses).

:format
1
Format oblikovanja naloge (html ali tex, priporoèen je html)


help=format
:css
1
defines css style

:keywords
1
Exercise keywords

:credits
1
allows to insert credits at the end of the exercise (variables are evaluated).

:description
1
description of the exercise for the students

:observation
1
description of the exercise for the teacher

:precision
1
Zahtevana natanènost odgovora. Vnesite pozitivno celo ¹tevilo n za natanènost 1/n (na primer 100 za natanènost na dve decimalni mesti).

:range
1
Obseg spremenljivke, v katerem se izraèunava vrednost uporabnikove funkcije. Vnesemo kot n1..n2, kjer je n1 spodnja, n2 pa zgornja meja.

:computeanswer
1
The instruction <span class="tt wims_code_words">\computeanswer{ no }</span> specifies that the user should complete calculations by himself and enter the final value. On the other hand, if we specify <span class="tt wims_code_words">\computeanswer{ yes }</span>, the user may enter a formula like <span class="tt wims_code_words">5*5</span>,  letting the computer make the calculations.

:statement
1
Vsebina parametra bo prikazana kot trditev oziroma besedilo naloge. Pri oblikovanju lahko uporabljate HTML ukaze za obliko besedila.

:answer
2-5
Doloèa prosti odgovor. Prvi parameter je ime odgovora, drugi pravilna vrednost. Pravilnost odgovora se nato testira glede na razliène mo¾ne tipe: ¹tevilo, funkcija, vektor, mno¾ica. Za podrobnosti glej razdelek o odgovorih.
type option weight
reorder shuffle nonstop
help=reply

:choice
3-5
Doloèa vpra¹anje z veè mo¾nimi odgovori. Prvi parameter je ime odgovora, drugi parameter pravilni odgovor (ali veè pravilnih odgovorov), tretji parameter pa so preostali odgovori. Drugi in tretji parameter predstavljata seznam z vejico loèenih vrednosti.
option weight
shuffle noidontknow

:condition
2-4
Doloèa dodatni pogoj za ovrednotenje prostih odgovorov. Glej razdelek o odgovorih za podrobnosti.
option weight
hide
help=reply

:solution
1
Vsebina parametra se izpi¹e kot razlaga re¹itve naloge. O tem, ali bo re¹itev tudi dejansko izpisana, odloèa skrbnik naknadno pri uvrstitvi naloge v spletno uèilnico.

:hint
1
Vsebina parametra se izpi¹e kot namig za re¹evanje naloge. Dejansko uporabo namiga dovoli skrbnik naknadno.:help

:help
1
gives a help to the exercise. This help will always be accessible to the user, in a popup window. Can be used only one time in the exercise.

:feedback
2
gives a feedback warning to the user when the answer meeds a specified condition. Usually to warn of a typical error.


help=feedback

:steps
1
defines the questions of each step of the exercise ; must be before the instruction <span class="tt wims_code_words">statement</span> (see the variable <span class="tt wims_code_words">\step</span>). Can be used only one time in the exercise.

:nextstep
1
defines the questions of each step of the exercise in a dynamic way ; must be before the instruction <span class="tt wims_code_words">statement</span> (see the variable <span class="tt wims_code_words">\step</span>). Can be used only one time in the exercise.

:conditions
1
defines the numbers of the conditions useful for the exercise.

:latex
1
allows to write a latex version of the exercise using the variables defined in the exercise and downloadable in the printable version of the exercise (accessible only by developers or teachers of a class). It is advisable to put the statement in a predefined environment latex <span class="tt wims_code_words">\begin{statement} \end{statement}</span> and the solution in the environment <span class="tt wims_code_words">\begin{sol} ... \end{sol}</span>.