Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
3263 bpr 1
:Command list
2
 
8552 reyssat 3
:directive,number of<br/>parameters,description,optional parameters,recognized option words
4
 
3263 bpr 5
:title
6
1
8557 bpr 7
Naslov vaje
8552 reyssat 8
 
3263 bpr 9
:language
10
1
8561 bpr 11
Jezik vaje (npr. <span class="tt wims_code_words">en, fr</span> ali  <span class="tt wims_code_words">si</span>)
8552 reyssat 12
 
3263 bpr 13
:author
14
1
8557 bpr 15
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).
8552 reyssat 16
 
3263 bpr 17
:email
18
1
8557 bpr 19
E-naslov avtorja (in case of multiple authors, use a comma between the addresses).
8552 reyssat 20
 
3263 bpr 21
:format
22
1
8557 bpr 23
Format oblikovanja naloge (html ali tex, priporočen je html)
3263 bpr 24
 
8557 bpr 25
 
3263 bpr 26
help=format
8551 bpr 27
:css
28
1
3263 bpr 29
defines css style
8552 reyssat 30
 
9076 bpr 31
:keywords
32
1
33
Exercise keywords
34
 
9227 bpr 35
:credits
36
1
37
allows to insert credits at the end of the exercise (variables are evaluated).
38
 
39
:description
40
1
41
description of the exercise for the students
42
 
43
:observation
44
1
45
description of the exercise for the teacher
46
 
3263 bpr 47
:precision
48
1
8557 bpr 49
Zahtevana natančnost odgovora. Vnesite pozitivno celo število n za natančnost 1/n (na primer 100 za natančnost na dve decimalni mesti).
8552 reyssat 50
 
3263 bpr 51
:range
52
1
8557 bpr 53
Obseg spremenljivke, v katerem se izračunava vrednost uporabnikove funkcije. Vnesemo kot n1..n2, kjer je n1 spodnja, n2 pa zgornja meja.
3263 bpr 54
 
8552 reyssat 55
:computeanswer
56
1
57
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.
58
 
3263 bpr 59
:statement
60
1
8557 bpr 61
Vsebina parametra bo prikazana kot trditev oziroma besedilo naloge. Pri oblikovanju lahko uporabljate HTML ukaze za obliko besedila.
3263 bpr 62
 
63
:answer
64
2-5
8557 bpr 65
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.
3263 bpr 66
type option weight
8552 reyssat 67
reorder shuffle nonstop
68
help=reply
3263 bpr 69
 
70
:choice
71
3-5
8557 bpr 72
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.
3263 bpr 73
option weight
74
shuffle noidontknow
8552 reyssat 75
 
3263 bpr 76
:condition
77
2-4
8557 bpr 78
Določa dodatni pogoj za ovrednotenje prostih odgovorov. Glej razdelek o odgovorih za podrobnosti.
3263 bpr 79
option weight
10950 bpr 80
hide
3263 bpr 81
help=reply
8552 reyssat 82
 
3263 bpr 83
:solution
84
1
8557 bpr 85
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.
8552 reyssat 86
 
3263 bpr 87
:hint
88
1
8557 bpr 89
Vsebina parametra se izpiše kot namig za reševanje naloge. Dejansko uporabo namiga dovoli skrbnik naknadno.:help
8552 reyssat 90
 
3263 bpr 91
:help
92
1
8557 bpr 93
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.
8552 reyssat 94
 
3263 bpr 95
:feedback
96
2
4092 bpr 97
gives a feedback warning to the user when the answer meeds a specified condition. Usually to warn of a typical error.
3263 bpr 98
 
99
 
100
help=feedback
8552 reyssat 101
 
3294 bpr 102
:steps
103
1
8557 bpr 104
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.
3294 bpr 105
 
106
:nextstep
107
1
8557 bpr 108
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.
3294 bpr 109
 
110
:conditions
111
1
8552 reyssat 112
defines the numbers of the conditions useful for the exercise.
4372 bpr 113
 
114
:latex
115
1
16315 bpr 116
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{solution} ... \end{solution}</span>.