Changes for page 07 Variablen verwenden
Last modified by Carina Enke on 13.02.2024
From version 2.1
edited by Hendrik Zschocke
on 11.01.2024
on 11.01.2024
Change comment:
There is no comment for this version
To version 3.2
edited by Carina Enke
on 13.02.2024
on 13.02.2024
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Using Variables 1 +07 Using Variables - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. hendrik1 +XWiki.carina - Content
-
... ... @@ -13,7 +13,7 @@ 13 13 14 14 {{layout-cell}} 15 15 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 16 -{{toc/}} 16 +{{toc start="2"/}} 17 17 {{/panel}} 18 18 19 19 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Related topics"}} ... ... @@ -41,7 +41,7 @@ 41 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"]] 42 42 43 43 {{info}} 44 -For a typical application example for the use of variables as random parameters, see [[Example "Transport" - Use of random parameters>> url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]].44 +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"]]. 45 45 {{/info}} 46 46 47 47 == (% style="background-color:#dce7ef; font-size:20.0px" %)Post-processed variables(%%) == ... ... @@ -53,9 +53,9 @@ 53 53 {{info}} 54 54 The following examples for the use of post-processed variables show possible application scenarios: 55 55 56 -* [[Example "Transport" - Adaptive task feedback>> url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]57 -* [[Example "Transport" - Points deduction per attempt>> url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]58 -* [[Example "Transport" - Assessment of the maximumscore>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]]56 +* [[Example "Transport" - Adaptive task feedback>>doc:.Beispiele zum Einsatz von Variablen.Beispiel Transport - Adaptives Aufgabenfeedback.WebHome||shape="rect"]] 57 +* [[Example "Transport" - Points deduction per attempt>>doc:.Beispiele zum Einsatz von Variablen.Beispiel Transport - Punktabzug pro Loesungsversuch.WebHome||shape="rect"]] 58 +* [[Example "Transport" - Assessment of the Maximum Score>>doc:.Beispiele zum Einsatz von Variablen.Beispiel Transport - Wertung der maximal erreichten Punktzahl.WebHome||shape="rect"]] 59 59 * [[Expert assessment>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Bewertung festlegen.Expertenbewertung.WebHome]] 60 60 {{/info}} 61 61 ... ... @@ -69,11 +69,11 @@ 69 69 70 70 Select the **variable type**. The following variable types are available: 71 71 72 -* [[Numerical variables>> url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]:72 +* [[Numerical variables>>doc:.Numerische Variablen.WebHome||shape="rect"]]: 73 73 ** Integer 74 74 ** Floating-point number 75 -* [[Text variables>> url:https://www.bps-system.de/help/display/ONYXintern/.Textvariablen+v1.11||shape="rect"]]76 -* [[Image variables>> url:https://www.bps-system.de/help/display/ONYXintern/.Bild+Variablen+v1.11||shape="rect"]]75 +* [[Text variables>>doc:.Text Variables.WebHome||shape="rect"]] 76 +* [[Image variables>>doc:.Bild Variablen.WebHome||shape="rect"]] 77 77 78 78 Depending on the selected variable type, you have various options for the **determination of the value**: 79 79 ... ... @@ -84,6 +84,7 @@ 84 84 85 85 Variables can also be created** without immediately setting a value**. If the value is set at a later point in time, it can for example be set in dependence of other variables (cf. conditions). 86 86 87 + 87 87 == Use of variables == 88 88 89 89 Defined variables can be inserted into** task and answer text** by **specifying the variable name**. **Direct integration into LaTeX-formulas **is** **also possible. The defined variable name must be enclosed in braces. ONYX automatically detects if there is a variable declaration with the appropriate name. If an identifier is used which is not defined, it will be ignored and output as text. ... ... @@ -92,6 +92,7 @@ 92 92 93 93 [[image:attach:Beispiel zur Verwendung von Variablen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="420" width="429"]] 94 94 96 + 95 95 == Definition of a condition == 96 96 97 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**. ... ... @@ -112,6 +112,7 @@ 112 112 113 113 (% 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 117 + 115 115 == Expert mode (IMS QTI) == 116 116 117 117 The variable representation in the test and task content is based on the principle of template declaration and the template processing of the [[IMS QTI 2.1 specification>>url:http://www.imsglobal.org/question/||shape="rect"]]. The template processing of IMS QTI 2.1 offers far more possibilities for setting variables, in particular by the nesting of logical expressions and conditions. The description entered in the expert mode is directly transferred into the XML of the task as a single template processing expression. ... ... @@ -122,15 +122,16 @@ 122 122 123 123 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. 124 124 128 + 125 125 == View variable assignment == 126 126 127 -When testing your test content, you can view the variable assignment in the [[preview>> url:https://www.bps-system.de/help/display/ONYXintern/.Inhalte+ansehen+v1.11||shape="rect"]] at any time. These details are also available to the supervisor or assessor in the [[results views>>url:https://www.bps-system.de/help/display/ONYXintern/.Ergebniseinsicht+v1.11||shape="rect"]]. In addition to the variable assignment, information on the MAXIMA tasks as well as possible system errors are displayed.131 +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. 128 128 129 129 For more detailed information, please refer to the following help sections: 130 130 131 -* [[View variable assignment>> url:https://www.bps-system.de/help/display/ONYX/Ergebniseinsicht#Ergebniseinsicht-Variablen-BelegungeinsehenVariablen-Belegung||shape="rect"]]132 -* [[View MAXIMA output>> url:https://www.bps-system.de/help/display/ONYX/Ergebniseinsicht#Ergebniseinsicht-MAXIMA-AusgabeneinsehenMAXIMA-Ausgaben||shape="rect"]]133 -* [[Display of system errors>> url:https://www.bps-system.de/help/display/ONYX/Ergebniseinsicht#Ergebniseinsicht-AnzeigevonSystemfehlern||shape="rect"]]135 +* [[View variable assignment>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]] 136 +* [[View MAXIMA output>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]] 137 +* [[Display of system errors>>doc:ONYX.Auswertung von Tests.Ergebniseinsicht.WebHome||shape="rect"]] 134 134 {{/layout-cell}} 135 135 {{/layout-section}} 136 136 {{/layout}}