Changes for page 07 Variablen verwenden
Last modified by Carina Enke on 13.02.2024
From version 3.2
edited by Carina Enke
on 13.02.2024
on 13.02.2024
Change comment:
There is no comment for this version
To version 2.1
edited by Hendrik Zschocke
on 11.01.2024
on 11.01.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 - 07Using Variables1 +Using Variables - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. carina1 +XWiki.hendrik - Content
-
... ... @@ -13,7 +13,7 @@ 13 13 14 14 {{layout-cell}} 15 15 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 16 -{{toc start="2"/}}16 +{{toc/}} 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>> ONYX.Erstellung von Testinhalten.Testerstellen.Test-Variablen verwenden.Beispiele zurNutzung von Test-Variablen.Beispieltest Transport -EinsatzZufallwerten.WebHome||shape="rect"]].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"]]. 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>> doc:.Beispiele.Beispiel Transport - Adaptives Aufgabenfeedback.WebHome||shape="rect"]]57 -* [[Example "Transport" - Points deduction per attempt>> doc:.Beispiele.Beispiel Transport - Punktabzug pro Loesungsversuch.WebHome||shape="rect"]]58 -* [[Example "Transport" - Assessment of the MaximumScore>>doc:.BeispieleBeispiel Transport - Wertung der maximal erreichten Punktzahl.WebHome||shape="rect"]]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 maximum score>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||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>> doc:.NumerischeWebHome||shape="rect"]]:72 +* [[Numerical variables>>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]: 73 73 ** Integer 74 74 ** Floating-point number 75 -* [[Text variables>> doc:.TextVariables.WebHome||shape="rect"]]76 -* [[Image variables>> doc:.BildWebHome||shape="rect"]]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"]] 77 77 78 78 Depending on the selected variable type, you have various options for the **determination of the value**: 79 79 ... ... @@ -84,7 +84,6 @@ 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 - 88 88 == Use of variables == 89 89 90 90 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. ... ... @@ -93,7 +93,6 @@ 93 93 94 94 [[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"]] 95 95 96 - 97 97 == Definition of a condition == 98 98 99 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**. ... ... @@ -114,7 +114,6 @@ 114 114 115 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. 116 116 117 - 118 118 == Expert mode (IMS QTI) == 119 119 120 120 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. ... ... @@ -125,16 +125,15 @@ 125 125 126 126 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. 127 127 128 - 129 129 == View variable assignment == 130 130 131 -When testing your test content, you can view the variable assignment in the [[preview>> doc:ONYX.Erstellung von Testinhalten.InhalteWebHome||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.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. 132 132 133 133 For more detailed information, please refer to the following help sections: 134 134 135 -* [[View variable assignment>> doc:ONYX.AuswertungvonTests.Ergebniseinsicht.WebHome||shape="rect"]]136 -* [[View MAXIMA output>> doc:ONYX.AuswertungvonTests.Ergebniseinsicht.WebHome||shape="rect"]]137 -* [[Display of system errors>> doc:ONYX.AuswertungvonTests.Ergebniseinsicht.WebHome||shape="rect"]]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"]] 138 138 {{/layout-cell}} 139 139 {{/layout-section}} 140 140 {{/layout}}