Last modified by Anna Paul-Hasenfuss on 16.09.2025

Show last authors
1 {{section}}
2 {{column width="60%"}}
3 In the following, various application examples for the use of variables are presented. Their implementation will be explained step by step and supplemented with useful information and hints.
4 {{/column}}
5
6 {{column width="30%"}}
7 {{panel title="Related Topics"}}
8 * [[Variables>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome]]
9 * [[Calculation interaction>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]]
10 * [[Formula comparison>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]]
11 {{/panel}}
12
13 {{panel title="Further information"}}
14 * [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]
15 * [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
16 * [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
17 {{/panel}}
18 {{/column}}
19 {{/section}}
20
21
22 |(% style="width:736px" %)(((
23 === Example "Digging a hole" ===
24
25 This sample question shows the use of variables to generate random values in a calculation interaction. The participant should calculate the answer depending on given values, which are redefined for each attempt.
26
27 [[Open example>>doc:.Beispiel - Digging a hole.WebHome]]
28 )))|(% style="width:783px" %)(((
29 (% class="content-wrapper" %)
30 (((
31 [[image:attach:Testrun - Beispiel Digging_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
32 )))
33 )))
34 |(% style="width:736px" %)(((
35 === Example "Probability" ===
36
37 In the example, a typical question out of probability theory and statistics will be completed. It is to calculate the probability of certain colour combinations, when different coloured spheres are randomly drawn from an urn.
38
39 [[Open example>>doc:.Beispiel Wahrscheinlichkeit.WebHome]]
40 )))|(% style="width:783px" %)(((
41 (% class="content-wrapper" %)
42 (((
43 [[image:attach:Testrun - Beispiel Wahrscheinlichkeit_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
44 )))
45 )))
46 |(% style="width:736px" %)(((
47 === Example "Hypotenuse" ===
48
49 In the example, a simple geometric problem will be completed, i. e. the calculation of the hypotenuse: The solution is supposed to be derived from the knowledge that the hypotenuse is the longest side of a right triangle. To do this, the participant is given a variety of possible solutions, from which they need to choose the correct one.
50
51 The values of the catheti will be randomly chosen from a specified value range for each participant and each test attempt.
52
53 [[Open example>>doc:.Beispiel Hypotenuse.WebHome]]
54 )))|(% style="width:783px" %)(((
55 (% class="content-wrapper" %)
56 (((
57 [[image:attach:Testrun - Beispiel Hypotenuse_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
58 )))
59 )))
60 |(% style="width:736px" %)(((
61 === Example "Transport" – Use of random parameters ===
62
63 The example shows a typical application question: The goal is to calculate the distance travelled by a vehicle based on speed and time. The speed range will automatically be selected depending on the vehicle type.
64
65 [[Open example>>doc:.Beispiel Transport - Einsatz von Zufallsparametern.WebHome]]
66 )))|(% style="width:783px" %)(((
67 (% class="content-wrapper" %)
68 (((
69 [[image:attach:Testrun - Beispielaufgabe im Testrun_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
70 )))
71 )))
72 |(% style="width:736px" %)(((
73 === Example "Transport" – Adaptive question feedback ===
74
75 Adaptive feedback allows for individual feedback based on the learners' answers. The participant can, for example, be provided with concrete hints or error messages. Post-variables ([[post-processed variables>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome]]) will allow access to the learners' responses, e. g. to each gap. Attempts at solutions or even previous answers can also be included in the feedback.
76
77 [[Open example>>doc:.Beispiel Transport - Adaptives Aufgabenfeedback.WebHome]]
78 )))|(% style="width:783px" %)(((
79 (% class="content-wrapper" %)
80 (((
81 [[image:attach:Testrun - Feedback mit Post-Variablen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
82 )))
83 )))
84 |(% style="width:736px" %)(((
85 === Example "Transport" – Point deduction per attempt ===
86
87 If the participant has several attempts at a solution, individual and successive hints can be provided to help them answer the question. In such scenarios, it may be especially desirable to have points deducted from the participant's total score for each additional attempt. Participants solving the question on the first attempt will receive the full score. The more hints and attempts they need, the lower their score.
88
89 [[Open example>>doc:.Beispiel Transport - Punktabzug pro Loesungsversuch.WebHome]]
90 )))|(% style="width:783px" %)(((
91 (% class="content-wrapper" %)
92 (((
93 [[image:attach:Testrun - Beispielaufgabe in unterschiedlichen Versuchen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
94 )))
95 )))
96 |(% colspan="1" style="width:736px" %)(% colspan="1" %)
97 (((
98 === Example "Transport" – Assessment of the maximum score ===
99
100 If several attempts are possible per question, it might be the case that a participant will not score as many points in a follow-up attempt as were already scored before. If desired, the highest score achieved can be remembered and eventually used for the assessment. The participant should be informed accordingly through notes and shown the score of the current attempt, as well as the maximum score in all previous attempts.
101
102 [[Open example>>doc:.Beispiel Transport - Wertung der maximal erreichten Punktzahl.WebHome]]
103 )))|(% colspan="1" style="width:783px" %)(% colspan="1" %)
104 (((
105 (% class="content-wrapper" %)
106 (((
107 [[image:attach:Testrun - Beispielaufgabe Wertung in unterschiedlichen Versuchen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
108 )))
109 )))
110 |(% colspan="1" style="width:736px" %)(% colspan="1" %)
111 (((
112 === Example "Consider result value signs” ===
113
114 For a numerical result value, not only the result value itself, but also the correct sign should be included in the assessment and appropriate individual feedback should be given.
115
116 [[Open example>>doc:.Beispiel Vorzeichen eines Ergebniswertes beachten.WebHome]]
117 )))|(% colspan="1" style="width:783px" %)(% colspan="1" %)
118 (((
119 (% class="content-wrapper" %)
120 (((
121 [[image:attach:Beispiel - Vorzeichen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
122 )))
123 )))
124 |(% colspan="1" style="width:736px" %)(((
125 === Example "Variable Solution" ===
126
127 Correct solutions can also be generated dynamically with the help of variables. This results in flexible task patterns that use random values to create different, equivalent tasks and provide the appropriate solution in each case.
128
129
130 [[Open example>>doc:.Beispiel Variablenabhaengige CR ID-basierter Aufgaben.WebHome]]
131 )))|(% colspan="1" style="width:783px" %)[[image:Player%20-%20Beispielaufgabe%20M%C3%B6glichkeiten%20zur%20variablenabh%C3%A4ngigen%20%C3%84nderung%20der%20korrekten%20L%C3%B6sung.png]]
132
133