Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 421.1
bearbeitet von Carina Enke
am 30.05.2018
am 30.05.2018
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf Version 411.1
bearbeitet von Carina Enke
am 23.01.2019
am 23.01.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.6.
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -1,6 +1,12 @@ 1 +{{sv-translation language="de"}} 1 1 {{layout}} 2 2 {{layout-section ac:type="single"}} 3 3 {{layout-cell}} 5 + 6 + 7 +(% class="removedPlaceholderWrapper" %) 8 + 9 + 4 4 5 5 6 6 ... ... @@ -105,3 +105,92 @@ 105 105 {{/layout-cell}} 106 106 {{/layout-section}} 107 107 {{/layout}} 114 +{{/sv-translation}} 115 + 116 +{{sv-translation language="en"}} 117 +{{layout}} 118 +{{layout-section ac:type="two_right_sidebar"}} 119 +{{layout-cell}} 120 +You can generate variables with text content. For this purpose, the variable type "**Text**" is available to you. 121 + 122 +[[image:attach:image2017-3-23 8:25:28.png]] 123 + 124 +To alter the value for the text variable, different options are available, which will be explained in the following sections. 125 + 126 +[[image:attach:image2017-3-23 8:27:46.png]] 127 +{{/layout-cell}} 128 + 129 +{{layout-cell}} 130 +{{scroll-ignore}} 131 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 132 + 133 + 134 +{{toc/}} 135 + 136 +**Related topics** 137 + 138 +* [[Calculation task>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]] 139 +* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]] 140 + 141 +**Further information** 142 + 143 +* [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] 144 +{{/panel}} 145 +{{/scroll-ignore}} 146 +{{/layout-cell}} 147 +{{/layout-section}} 148 + 149 +{{layout-section ac:type="single"}} 150 +{{layout-cell}} 151 +== Random selection == 152 + 153 +Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon. 154 + 155 +If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")// 156 + 157 +**Possible entries are for example:** 158 + 159 +* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle". 160 + 161 +=== Example "digging a hole" === 162 + 163 +|((( 164 +[[image:attach:image2017-3-23 8:32:30.png]] 165 +)))|((( 166 +In the example, the text variable {PEOPLE} will be randomly initialised with one of the following values: "men", "women", or "children". 167 +))) 168 +|((( 169 +[[image:attach:image2017-3-23 8:36:15.png]] 170 +)))|((( 171 +To insert the variable into the task text, you need to type the variable name {PEOPLE}. In the example, the variable is included in a task of the type [[calculation (cloze)>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]]. 172 +))) 173 +|((( 174 +[[image:attach:image2017-3-23 8:38:49.png]] 175 +)))|((( 176 +One of the defined values will then be randomly chosen for each participant and each test attempt. In the example, the value "women" was inserted. 177 +))) 178 + 179 +== Direct value assignment == 180 + 181 +You can directly assign a value to all types of variables in order to initialise them. Later on, the value can be changed depending on other variables (cf. conditions). 182 + 183 +**Possible entries are for example:** 184 + 185 +* //Value: Hans: //The variable is assigned the value "Hans". 186 +* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly". 187 + 188 +== Calculation (MAXIMA) == 189 + 190 +[[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] allows for the work with strings and formulas. You can calculate variable values on the basis of other variables. Indicate your calculation rule in MAXIMA notation. 191 + 192 +**Possible entries are for example:** 193 + 194 +* //Calculation (MAXIMA): string({a}*x+5): //A simple function equation is calculated including the variable value {a}. Plase note that the variable {a} must have been previously defined. 195 +* //Calculation (MAXIMA): string(integrate({function},x,0,1)): //MAXIMA enables complex mathematical calculations. The derivative of a sample function (e.g. 5*x+5) could result in the value "15/2". 196 +* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content. 197 + 198 +[[image:attach:image2017-3-22 15:24:50.png]] 199 +{{/layout-cell}} 200 +{{/layout-section}} 201 +{{/layout}} 202 +{{/sv-translation}}
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 1627589041 +202113100 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 162758904/Textvariablen1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/202113100/Textvariablen