Changes for page Variablen verwenden

Last modified by Carina Enke on 05.03.2026

From version 5.1
edited by Carina Enke
on 12.12.2025
Change comment: There is no comment for this version
To version 4.1
edited by Carina Enke
on 13.02.2024
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,6 @@
1 -{{section}}
2 -{{column width="60%"}}
1 +{{layout}}
2 +{{layout-section ac:type="two_right_sidebar"}}
3 +{{layout-cell}}
3 3  The use of variables allows the creation of dynamic task text. Task content can be generated randomly or adapted to the user, previously given answers, or assessments. For implementation, two different types of variables are provided in the tab of the same name:
4 4  
5 5  * **Pre-processed variables**
... ... @@ -8,45 +8,46 @@
8 8  Post-variables are only assigned after the task has been answered, submitted, and automatically assessed, thus allowing access to response-specific values such as the learner's response or the points for correct answers. In this way, adaptive feedback content, follow-up tests, and task series can be enabled. The use of conditions and MAXIMA statements allows responses from learners to be analysed and typical errors identified. Based on these insights, teachers will then be able to provide appropriate feedback or customised exercises.
9 9  
10 10  [[image:attach:Editor - Tab Variablen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
12 +{{/layout-cell}}
11 11  
12 -
13 -{{/column}}
14 -
15 -{{column width="30%"}}
16 -{{panel title="Content"}}
14 +{{layout-cell}}
15 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}}
17 17  {{toc start="2"/}}
18 18  {{/panel}}
19 19  
20 -{{panel title="Related Topics"}}
19 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Related topics"}}
21 21  * [[Calculation interaction>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]]
22 22  * [[Formula comparison>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]]
23 23  * [[Expert assessment>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Bewertung festlegen.Expertenbewertung.WebHome]]
24 24  {{/panel}}
25 25  
26 -{{panel title="Further information"}}
25 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}}
27 27  * [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]
28 28  * [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
29 29  * [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
30 30  {{/panel}}
31 -{{/column}}
32 -{{/section}}
30 +{{/layout-cell}}
31 +{{/layout-section}}
33 33  
34 -
33 +{{layout-section ac:type="single"}}
34 +{{layout-cell}}
35 +(% id="HPre-processedvariables" class="help-heading" %)
35 35  == Pre-processed variables ==
36 36  
38 +(% class="help-heading" %)
37 37  Define variables that are determined before the task is displayed in order to use (% style="background-color:#ffffff; font-size:14.0px" %)**random parameters**(%%) in your tasks. Variables are supported in ONYX for all types of tasks and offer various possibilities, especially for calculation interactions. With the help of variables, it is possible to create task templates which automatically allow (% style="background-color:#ffffff; font-size:14.0px" %)**an unlimited number of different test and exam attempts**(%%).
38 38  
39 -[[image:attach:Testrun - Beispielaufgaben_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
41 +(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size image-center-wrapper" %)[[image:attach:Testrun - Beispielaufgaben_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
40 40  
41 41  {{info}}
42 42  For a typical application example for the use of variables as random parameters, see [[Example "Transport" - Use of random parameters>>ONYX.Erstellung von Testinhalten.Test erstellen.Test-Variablen verwenden.Beispiele zur Nutzung von Test-Variablen.Beispieltest Transport - Einsatz von Zufallwerten.WebHome||shape="rect"]].
43 43  {{/info}}
44 44  
45 -== Post-processed variables ==
47 +== (% style="background-color:#dce7ef; font-size:20.0px" %)Post-processed variables(%%) ==
46 46  
47 47  Define variables that are determined after the submission of the task in order to create adaptive task and test scenarios. Post-processed variables (in short: post-variables) allow you to access the learners' answers and points achieved. You can use this information to enhance following content such as feedback or task descriptions of follow-up attempts. In addition, it is possible to intervene in the assessment and make subsequent changes to it.
48 48  
49 -[[image:attach:Testrun - Nutzerlösung einer Beispielaufgabe_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="454" width="276"]][[image:attach:Testrun - Post-Variable im Feedback_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="454" width="313"]][[image:attach:Testrun - Post-Variable Lösungshinweis_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="280" width="327"]]
51 +(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size image-center-wrapper" %)[[image:attach:Testrun - Nutzerlösung einer Beispielaufgabe_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="454" width="276"]][[image:attach:Testrun - Post-Variable im Feedback_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="454" width="313"]][[image:attach:Testrun - Post-Variable Lösungshinweis_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="280" width="327"]]
50 50  
51 51  {{info}}
52 52  The following examples for the use of post-processed variables show possible application scenarios:
... ... @@ -59,7 +59,7 @@
59 59  
60 60  == Definition of a variable ==
61 61  
62 -Click on **Add new variable **in the tab **Variables** o define a new variable. The new variable is immediately added and displayed in the overview table. Below the table, an edit window opens for the new variable. The order of the variables and conditions within the variables table can be easily changed using drag-and-drop.
64 +Click on **//Add new variable// **in the tab// **Variables** //to define a new variable. The new variable is immediately added and displayed in the overview table. Below the table, an edit window opens for the new variable. The order of the variables and conditions within the variables table can be easily changed using drag-and-drop.
63 63  
64 64  [[image:attach:Editor - Definition einer Variable_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
65 65  
... ... @@ -94,9 +94,9 @@
94 94  
95 95  == Definition of a condition ==
96 96  
97 -In the tab **Variables**, you can also use conditions. A condition allows you **to set the value of a variable, depending on other variable values**.
99 +In the tab// **Variables**//, you can also use conditions. A condition allows you **to set the value of a variable, depending on other variable values**.
98 98  
99 -Click on **Add new condition** to define a new condition. The new condition is immediately added and displayed in the overview table. Below the table, an edit window opens for the new condition. The order of the variables and conditions within the variables table can be easily changed using drag-and-drop.
101 +Click on **//Add new condition// **to define a new condition. The new condition is immediately added and displayed in the overview table. Below the table, an edit window opens for the new condition. The order of the variables and conditions within the variables table can be easily changed using drag-and-drop.
100 100  
101 101  [[image:attach:Editor - Neue Bedinung anlegen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
102 102  
... ... @@ -108,9 +108,9 @@
108 108  
109 109  **Link conditions:** If you have created several conditions for an IF section, you can configure how these entries will be linked. Determine whether all conditions (AND) or at least one condition (OR) must be met for the condition to be executed.
110 110  
111 -[[image:attach:Editor - Verknüpfung von Bedingungen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
113 +(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" style="color:#ff6600" %)[[image:attach:Editor - Verknüpfung von Bedingungen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
112 112  
113 -**Alternative conditions (ELSE IF):** You can add any number of alternative conditions (ELSE IF branches). Different variables can be set in the conditions. In the simple mode, only one variable can be set per condition. For more complex rules, you can switch to the **expert mode**. A more detailed description can be found in the help pages for the expert mode.
115 +(% style="color:#333333" %)**Alternative conditions (ELSE IF): **(%%)You can add any number of alternative conditions (ELSE IF branches). Different variables can be set in the conditions. In the simple mode, only one variable can be set per condition. For more complex rules, you can switch to the **expert mode**. A more detailed description can be found in the help pages for the expert mode.
114 114  
115 115  
116 116  == Expert mode (IMS QTI) ==
... ... @@ -123,7 +123,6 @@
123 123  
124 124  For further information on the XML definition of the template processing, please refer to the section [[IMS QTI 2.1 specification>>http://www.imsglobal.org/question/]]. The ONYX Testsuite already supports a wide set of IMS QTI expressions and possibilities. A detailed check to ensure correct functioning of the task template is nevertheless recommended when using the expert mode.
125 125  
126 -
127 127  == View variable assignment ==
128 128  
129 129  When testing your test content, you can view the variable assignment in the [[preview>>doc:ONYX.Erstellung von Testinhalten.Inhalte ansehen.WebHome||shape="rect"]] at any time. These details are also available to the supervisor or assessor in the [[results views>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]]. In addition to the variable assignment, information on the MAXIMA tasks as well as possible system errors are displayed.
... ... @@ -133,3 +133,6 @@
133 133  * [[View variable assignment>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]]
134 134  * [[View MAXIMA output>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]]
135 135  * [[Display of system errors>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]]
137 +{{/layout-cell}}
138 +{{/layout-section}}
139 +{{/layout}}