File: oefcommand

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (116 lines) | stat: -rw-r--r-- 4,132 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
: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, priporoen 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 natannost odgovora. Vnesite pozitivno celo tevilo n za natannost 1/n (na primer 100 za natannost na dve decimalni mesti).

:range
1
Obseg spremenljivke, v katerem se izraunava 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
Doloa prosti odgovor. Prvi parameter je ime odgovora, drugi pravilna vrednost. Pravilnost odgovora se nato testira glede na razline mone tipe: tevilo, funkcija, vektor, mnoica. Za podrobnosti glej razdelek o odgovorih.
type option weight
reorder shuffle nonstop
help=reply

:choice
3-5
Doloa vpraanje z ve monimi 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 loenih vrednosti.
option weight
shuffle noidontknow

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

:solution
1
Vsebina parametra se izpie kot razlaga reitve naloge. O tem, ali bo reitev tudi dejansko izpisana, odloa skrbnik naknadno pri uvrstitvi naloge v spletno uilnico.

:hint
1
Vsebina parametra se izpie kot namig za reevanje 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{solution} ... \end{solution}</span>.