Änderungen von Dokument 07 Variablen verwenden
Zuletzt geändert von Carina Enke am 25.07.2024
Von Version 252.1
bearbeitet von Carina Enke
am 01.10.2020
am 01.10.2020
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 9.3.
Auf Version 412.1
bearbeitet von Carina Enke
am 08.05.2019
am 08.05.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.7.
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -79,7 +79,7 @@ 79 79 Folgende Beispiele zum Einsatz der Nach-Abgabe-verarbeiteten-Variablen zeigen mögliche Anwendungsszenarien: 80 80 81 81 * [[doc:Beispiel Transport - Adaptives Aufgabenfeedback]] 82 -* [[ Beispiel Transport - Punktabzug pro Lösungsversuch>>doc:Beispiel Transport - Punktabzug pro Loesungsversuch]]82 +* [[doc:Beispiel Transport - Punktabzug pro Loesungsversuch]] 83 83 * [[doc:Beispiel Transport - Wertung der maximal erreichten Punktzahl]] 84 84 {{/info}} 85 85 ... ... @@ -109,13 +109,6 @@ 109 109 110 110 Variablen können auch **ohne Wert-Setzung** angelegt werden, um den Wert beispielsweise später in Abhängigkeit anderer Variablen zu setzen (vgl. Bedingungen). 111 111 112 -== Kopieren von Variablen und Bedingungen == 113 - 114 -Für alle Variablentabellen steht mittels rechter Maustaste ein neues Aktionsmenü zur Verfügung, welches das Kopieren und Einfügen von Variablen, Wertsetzung und Bedingungen ermöglicht. Die Elemente können aufgaben- und prozessübergreifend kopiert werden. Insofern möglich, werden Referenzen dabei übernommen.** 115 -** 116 - 117 -[[image:attach:Ediotr - Aktionsmenü zum Kopieren_de.png]] 118 - 119 119 == Verwendung von Variablen == 120 120 121 121 Definierte Variablen können durch **Angabe des Variablen-Namens in die Aufgabenstellung und in Antworttexte** eingefügt werden. Ebenfalls ist die **direkte Integration in LaTeX-Formeln** möglich. Der definierte Variablenname muss in geschweiften Klammern stehen. ONYX erkennt automatisch, ob eine Variablen-Deklaration mit entsprechendem Namen vorliegt. Wird ein Bezeichner verwendet, der nicht definiert ist, wird dieser ignoriert und als Text ausgegeben. ... ... @@ -164,33 +164,6 @@ 164 164 165 165 * (% class="toc-item-body" %)[[MAXIMA-Ausgaben einsehen>>url:https://www.bps-system.de/help/display/ONYX/Ergebniseinsicht#Ergebniseinsicht-MAXIMA-AusgabeneinsehenMAXIMA-Ausgaben||shape="rect"]] 166 166 * (% class="toc-item-body" %)[[Anzeige von Systemfehlern>>url:https://www.bps-system.de/help/display/ONYX/Ergebniseinsicht#Ergebniseinsicht-AnzeigevonSystemfehlern||shape="rect"]] 167 - 168 -== (% class="toc-item-body" %)Verarbeitungsreihenfolge von Variablen in der Testdurchführung 169 -(%%) == 170 - 171 -Variablen werden im Auswertungsprozess allgemein in folgender Reihenfolge verarbeitet: 172 - 173 -==== Reihenfolge Aufgaben Post-Processing: ==== 174 - 175 -1. Auswertung der Einzelantworten (setzen von SCORE_GAPID) 176 -1. Auswertung der Gesamtaufgabe (setzen von SCORE) 177 -1. Variablen Post-Processing durchführen 178 -1. Setzen der MIN / MAX SCORE Grenzen 179 -1. Setzen der allgemeinen Feddback-Bedingungen (FEEDBACKBASIC) 180 -1. Setzen der individuellen Feedbackbedingungen 181 - 182 -==== Reihenfolge Test Post-Processing: ==== 183 - 184 -1. Auswertung der Sektionen (setzen von SCORE_SECTION_ID) 185 -1. Auswertung des Tests (setzen von SCORE) 186 -1. Auswertung des Tests (setzen von PASS) 187 -1. Variablen Post-Processing 188 -1. Setzen der allgemeinen Feddback-Bedingungen (FEEDBACKBASIC) 189 -1. Setzen der individuellen Feedbackbedingungen 190 - 191 -Ändern Sie in Ihrem Test Systemvariablen im POST-Processing, so werden die Änderungen in der von Ihnen vorgegebenen Reihenfolge durchgeführt. 192 - 193 -\\ 194 194 {{/layout-cell}} 195 195 {{/layout-section}} 196 196 {{/layout}} ... ... @@ -203,8 +203,8 @@ 203 203 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: 204 204 205 205 * **Pre-processed variables** 206 -Pre-variables are assigned before the task is displayed and therefore make it possible to adapt the task text as well as the predefined and correct answers dynamically. In this way, task templates can be defined with the help of placeholders. These are replaced by specific random values per test run on the basis of defined intervals, value drop-down lists, or calculation rules. As a result, test tasks will be different but similar for each participant and test run. 207 -* ** {{id name="PostVariablen_en"/}}Post-processed variables**172 +Pre-variables are assigned before the task is displayed and therefore make it possible to adapt the task text as well as the predefined and correct answers dynamically. In this way, task templates can be defined with the help of placeholders. These are replaced by specific random values per test run on the basis of defined intervals, value drop-down lists, or calculation rules. As a result, test tasks will be different but similar for each participant and test run. 173 +* **Post-processed variables** 208 208 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. 209 209 210 210 [[image:attach:Editor - Tab Variablen_de.png]] ... ... @@ -224,7 +224,7 @@ 224 224 {{/panel}} 225 225 226 226 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}} 227 -* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/ de/maxima.html||shape="rect"]]193 +* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]] 228 228 * [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 229 229 * [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 230 230 {{/panel}} ... ... @@ -242,10 +242,45 @@ 242 242 243 243 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)[[image:attach:Testrun - Beispielaufgaben_de.png]] 244 244 245 -{{info}} 246 -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"]]. 247 -{{/info}} 248 248 212 + 213 +{{id name="Example ~"transport~" - Use of random parameters"/}} 214 + 215 +=== Example "transport" - Use of random parameters === 216 + 217 +As an example, a typical application task is created. The goal is to calculate the distance travelled by a vehicle based on speed and time. The speed is dependent on the vehicle type. 218 + 219 + 220 + 221 +|(% colspan="1" %)(% colspan="1" %) 222 +((( 223 +[[image:attach:Editor - Tab Variablen zur Beispielaufgabe_de.png]] 224 +)))|(% colspan="1" %)(% colspan="1" %) 225 +((( 226 +In the example, the [[text variable>>url:https://www.bps-system.de/help/display/ONYXintern/.Textvariablen+v1.11||shape="rect"]] {transport} will be randomly initialised with one of the following values: "bike", "bus", or "train". The [[numeric variable>>doc:Numerische Variablen]] {speed} is randomly selected from a value range. Thus, the value range for the speed {speed} should be set in dependence of the selected vehicle {transport}, since a "bike" is generally slower than a "train". 227 +))) 228 +|((( 229 +[[image:attach:Editor - Beispiel einer Bedingung_de.png]][[image:attach:Editor - weiteres Beispiel einer Bedingung_de.png]] 230 +)))|((( 231 +For dependent value setting, we use the variable condition. In the condition, we can define the value range for the variable {speed} depending on the selected value of the variable {transport}. For the bike ({transport}="bike"), for example, a value range of 10 to 30 (km/h) was set. 232 +))) 233 +|((( 234 +[[image:attach:Editor - Nutzung von Variablen in der Aufgabenstellung_de.png]] 235 +)))|((( 236 +The given values of the task are integrated into the task text by specifying the variable name ({transport}, {speed}, and {hours}). In the example, the variable is included in a task of the type [[calculation interaction>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.6||shape="rect"]]. 237 + 238 +The variable with the correct solution {distance} is bound to the gap. 239 +))) 240 +|((( 241 +[[image:attach:Testrun - Beispielaufgabe im Testrun_de.png]] 242 +)))|((( 243 +One of the defined values will be randomly chosen for each participant and each test attempt. In the example, the value "bike" was randomly inserted, which is why a speed in the value range of 10 to 30 (km/h) was selected. 244 +))) 245 + 246 + 247 + 248 +{{id name="Post-processed variables"/}}\\ 249 + 249 249 == (% style="background-color: rgb(220,231,239);font-size: 20.0px;" %)Post-processed variables(%%) == 250 250 251 251 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. ... ... @@ -252,31 +252,181 @@ 252 252 253 253 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)[[image:attach:Testrun - Nutzerlösung einer Beispielaufgabe_de.png]][[image:attach:Testrun - Post-Variable im Feedback_de.png]][[image:attach:Testrun - Post-Variable Lösungshinweis_de.png]] 254 254 255 -\\ 256 256 257 -{{info}} 258 -The following examples for the use of post-processed variables show possible application scenarios: 259 259 260 -* [[Example "Transport" - Adaptive task feedback>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]] 261 -* [[Example "Transport" - Points deduction per attempt>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.X||shape="rect"]] 262 -* [[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"]] 263 -{{/info}} 258 +{{id name="Example ~"transport~" - Adaptive task feedback"/}} 264 264 260 +=== Example "transport" - Adaptive task feedback === 261 + 262 +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) 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. 263 + 264 +In the following, the example "transport" will be extended by simple adaptive feedback. Feedback should give the user an indication of whether their answer was less than or greater than the correct solution or hint at how the correct solution can be calculated. 265 + 266 +{{panel titleColor="black" titleBGColor="#FFB266" title="Example ~"transport~" - Adaptive task feedback"}} 267 +{{expand title="Show example ..."}} 268 +|((( 269 +[[image:attach:Editor - Angabe von POST-Variablen_de.png]] 270 +)))|((( 271 +In the first step, the __[[text variable>>url:https://www.bps-system.de/help/display/ONYXintern/.Textvariablen+v1.11||shape="rect"]] __{div} in a condition is set to the value "less than" or "greater than" in the tab **//Variables// **, depending on whether the answer given by the learner was less than or greater than the correct answer. 272 + 273 +In addition, the learner's answer will be stored in a __[[numeric variable >>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]__{answer} so that it can be easily accessed from within the feedback. 274 +))) 275 +|((( 276 +[[image:attach:Editor - Post-Variablen im Feedback_de.png]] 277 +)))|((( 278 +In the second step, concrete task feedback is stored. The participant should see the feedback only if they have submitted an incorrect answer. Therefore, the general feedback **//Answer was wrong// **needs to be selected from the tab **//Feedback// **. For more information about task feedback, refer to the help page __[[Set>>url:https://www.bps-system.de/help/display/ONYXintern/.Feedback+festlegen+v1.11||shape="rect"]] [[feedback>>url:https://www.bps-system.de/help/display/ONYXintern/.Feedback+festlegen+v1.11||shape="rect"]] __. 279 + 280 +Individual feedback and values stored in the variables can be included in other feedback by entering the variable name ({div}, {answer}). 281 + 282 +Additional feedback blocks can also be added as individual feedback. In the example, a hint was added to the feedback, which is permanently displayed regardless of the learner's answer. Feedback can also contain detailed sample solutions and calculations. For tasks with random parameters, pre-processed variables can be added to the feedback. 283 +))) 284 +|((( 285 +[[image:attach:Testrun - Feedback mit Post-Variablen_de.png]] 286 +)))|((( 287 +Since the task contains random parameters, different values will be displayed for each test attempt and participant. According to the defined content, the participant will now additionally be shown individual feedback based on their answer. 288 + 289 +You can decide whether you want to retain the random parameters of a task or have them redefined for future attempts. For more information, see the section **//Reset variables// **on the help page __[[Set test options__.__>>url:https://www.bps-system.de/help/display/ONYXintern/.Test-Optionen+festlegen+v1.11||shape="rect"]]__ 290 +))) 291 +{{/expand}} 292 +{{/panel}} 293 + 294 + 295 + 296 +{{id name="Example ~"transport~" - Points deduction per attempt"/}}\\ 297 + 298 +=== Example "transport" - Points deduction per attempt === 299 + 300 +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. A participant who answers the task correctly at the first attempt receives the full score. The more hints or attempts they need, the fewer points they will obtain. 301 + 302 +For the __[[example "transport">>url:https://www.bps-system.de/help/display/ONYXintern/.Variablen+verwenden+v1.12#id-.Variablenverwendenv1.12-Variablenverwenden-Beispiel"Transport"-EinsatzvonZufallsparametern||shape="rect"]] __, a points deduction for each attempt should be realised using variables. Therefore, the maximum possible score for the task has been increased to 10 points. For each additional attempt, the score should be reduced by one point. In other words, if a task is attempted multiple times within one test run, points will be deducted for each additional attempt. The number of **test attempts** is not considered. It is strongly recommended to make the points deduction visible to the participant. This can be achieved by embedding appropriate text elements into the task and feedback. 303 + 304 +|((( 305 +[[image:attach:Editor - Variablen zur Beispielaufgabe_de.png]] 306 +)))|((( 307 +(% class="WordSection1" %) 308 +((( 309 +To perform the points deduction, the following variables need to be defined: 310 + 311 +* ((( 312 +**The [[numeric variable>>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]] [[url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]{deduction_attempt} stores the points deduction for each attempt.** 313 + 314 +In this example, the total score should be reduced by one point. Therefore, {deduction_attempt) is set to a static value of 1. Since the value is static, it can be created as a pre-variable (pre-processed variable). 315 +))) 316 + 317 +* ((( 318 +**The [[numeric variable>>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]] [[url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]{deduction} stores the current points deduction depending on the attempt.** 319 + 320 +The points deduction {deduction} is calculated as the product of the number of attempts (system variable NUMATTEMPTS) and the deduction of points per attempt {deduction_attempt}. Since this value is computed per attempt, it must be calculated as a post-variable (post-processed variable). 321 +))) 322 + 323 +In addition, the score of the task must be recalculated according to the points deducted by **setting the system variable SCORE** and verified by the author. This includes the definition of a new condition: If the points deduction is greater than 0, the score of the task is reduced by the respective value. 324 + 325 +//Note: For the sake of simplicity, all of the variables for generating general task and feedback content have been hidden in the screenshot.// 326 +))) 327 +))) 328 +|(% colspan="1" %)(% colspan="1" %) 329 +((( 330 +Note within the task: 331 + 332 + [[image:attach:Editor - Hinweis in der Aufgabenstellung_de.png]] 333 + 334 +Note as individual feedback: 335 + 336 +[[image:attach:Editor - Hinweis als individuelles Feedback_de.png]] 337 +)))|(% colspan="1" %)(% colspan="1" %) 338 +((( 339 +A general note will be included in the task to make the learner aware of the fact that points may be deducted, and an individual note will be displayed as a feedback message immediately after the deduction. 340 + 341 +{{note}} 342 +//Please note that if there has been a points deduction, the follow-up attempt can no longer be considered as completely correct because the maximum score can no longer be achieved. This also affects the presentation of the points achieved (colour marking), the correct/incorrect marking, and the general task feedback, which depends on the condition whether or not the participant has reached the maximum score. By using individual feedback, the logic for displaying feedback content can be individually adapted to the task.// 343 +{{/note}} 344 +))) 345 +|((( 346 +[[image:attach:Testrun - Beispielaufgabe in unterschiedlichen Versuchen_de.png]] 347 +)))|((( 348 +Points will now be negated according to the number of attempts needed. 349 + 350 +* Participants who enter the correct answer at the first attempt receive the full score. 351 +* Participants who enter the correct answer in a follow-up attempt receive partial points. Through appropriate feedback, these participants can be given individual hints at the solution to encourage them to continue processing the task on their own. 352 +))) 353 + 354 + 355 + 356 +{{id name="Example ~"transport~" - Assessment of the maximum score"/}}\\ 357 + 358 +=== Example "transport" - Assessment of the maximum score === 359 + 360 +If several attempts are possible per task, it might be the case that a participant will not score as many points in a follow-up attempt as was 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 be shown the scoring of the current attempt as well as the maximum score achieved for all attempts. 361 + 362 +In the following, the __[[example "transport">>url:https://www.bps-system.de/help/display/ONYXintern/.Variablen+verwenden+v1.12#id-.Variablenverwendenv1.12-Variablenverwenden-Beispiel"Transport"-EinsatzvonZufallsparametern||shape="rect"]] __will help to explain how the assessment of the maximum score can be enabled. 363 + 364 +|((( 365 +[[image:attach:Editor - Beispiel mehrere Versuche_de.png]] 366 +)))|((( 367 +To do this, the following variables need to be defined. 368 + 369 +The entire implementation is done using post-variables ( [[post-processed variables>>url:https://www.bps-system.de/help/display/ONYXintern/.Variablen+verwenden+v1.12#id-.Variablenverwendenv1.12-Variablenverwenden-NachAbgabeverarbeiteteVariablen||shape="rect"]] ), since, among other things, the score of the current attempt will be accessed. 370 + 371 +(% style="font-size: 10.5pt;line-height: 107.0%;" %)Note: For the sake of simplicity, all of other variables for generating task and feedback content have been hidden in the screenshot. 372 + 373 +* **The [[numeric variable >>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]{best_score} stores the highest score achieved in multiple attempts. ** 374 +The variable {best_score} is initialised without a value and later controlled by a condition: 375 +** At the **first attempt** (% style="text-indent: -18.0pt;" %),(%%) {best_score} is not yet initialised (NULL) and will be set to the current score {current_score}. Condition: IF best_score = (% style="font-size: 10.5pt;" %)//NULL THEN best_score = value: current_score// 376 +** Each **successive attempt** is checked to see whether the score achieved {current_score} is greater than the present maximum score {best_score}, in which case the latter will be adjusted accordingly. Condition: IF current_score > best_score THEN best_score = value: current_score 377 +* **The [[numeric variable >>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]{current_score} stores the current score for the current attempt.** ** 378 +**The current score can be read out using the system variable SCORE. As this value is changed manually by the author, it should be temporarily stored in a variable. This guarantees access to the current score and, for example, the output of this value in notes and feedback. 379 +** With each attempt, the variable** **{current_score} is set to the value of the system variable SCORE. Condition: IF best_score = NULL THEN best_score = value: current_score** 380 +** 381 +* **The [[numeric variable>>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]] {best_score_is_used} stores whether the task assessment was changed manually.** 382 +In the example, the participant should be shown an additional note if the best score is used for assessment instead of the current score. Therefore, the auxiliary variable {best_score_is_used} is applied, which will be set to the value 1 if the task assessment was changed manually.** 383 +** 384 +** The variable {best_score_is_used} is set to the value 1 if the current score is less than the highest score, which has been achieved so far. Otherwise, the variable is given the value 0. Condition: IF best_score > current_score THEN best_score_is_used = value: 1 ELSE best_score_is_used = value: 0 385 +))) 386 +|((( 387 +Note within the task: 388 + 389 +[[image:attach:Editor - Hinweis zur Wertung in Aufgabenstellung_de.png]] 390 +)))|((( 391 +In order to let the learners know which assessment procedure will be applied, a general note is included with the task. This note will be accompanied by some individual feedback information if the task assessment has been changed manually and the best score option has been configured. 392 +))) 393 +|(% colspan="1" %)(% colspan="1" %) 394 +((( 395 +Note as individual feedback: 396 + 397 +[[image:attach:Editor - Hinweis zur Wertung als individuelles Feedback_de.png]] 398 +)))|(% colspan="1" %)(% colspan="1" %) 399 +((( 400 +Feedback can be controlled using the auxiliary variable {best_score_is_used}, which displays individual feedback to the participant depending on whether its value is 0 or 1. It includes a reference to the current score {current_score} as well as to the maximum score {max_score} achieved so far. In addition, the system variable MAXSCORE is used to embed the maximum possible score in the note. 401 +))) 402 +|((( 403 +[[image:attach:Testrun - Beispielaufgabe Wertung in unterschiedlichen Versuchen_de.png]] 404 + 405 + 406 +)))|((( 407 +If the participant receives a lower score in a test attempt than in a previous attempt, the best score will be the one counted. In the example given, the exercise is configured in such a way that different values will be displayed for each test attempt. The participant has already solved the task at the second attempt and received the full score. Therefore, the participant obtains the full score for the task despite giving an incorrect answer. The feedback displayed to the participant also indicates that they have received 0 points for the current attempt, but that their best score of 10 points will be assessed. 408 + 409 +This example can be combined with the application scenarios described above: 410 + 411 +* Example "transport" – Use of random parameters 412 +* Example "transport" – Adaptive task feedback 413 +* Example "transport" – Points deduction per attempt 414 +))) 415 + 265 265 == Definition of a variable == 266 266 267 -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.418 +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. 268 268 269 269 [[image:attach:Editor - Definition einer Variable_de.png]] 270 270 271 271 Assign a **unique variable name **for your variable. The variable name serves as an identifier and allows you to **use the variable in the task text**. Please make sure that the variable name does not contain any umlauts, special characters, and spaces. The input is case sensitive. If a variable is defined with the name "a", it can be accessed via the placeholder {a}. 272 272 273 -Select the ** variable type**. The following variable types are available:424 +Select the **Variable type**. The following variable types are available: 274 274 275 -* [[Numeric alvariables>>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]:426 +* [[Numeric variables>>url:https://www.bps-system.de/help/display/ONYXintern/.Numerische+Variablen+v1.11||shape="rect"]]: 276 276 ** Integer 277 277 ** Floating-point number 278 278 * [[Text variables>>url:https://www.bps-system.de/help/display/ONYXintern/.Textvariablen+v1.11||shape="rect"]] 279 -* [[Image variables>>url:https://www.bps-system.de/help/display/ONYXintern/.Bild+Variablen+v1.11||shape="rect"]]430 +* [[Image Variables>>url:https://www.bps-system.de/help/display/ONYXintern/.Bild+Variablen+v1.11||shape="rect"]] 280 280 281 281 Depending on the selected variable type, you have various options for the **determination of the value**: 282 282 ... ... @@ -285,7 +285,7 @@ 285 285 * Random selection 286 286 * Calculation (MAXIMA) 287 287 288 -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).439 +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). 289 289 290 290 == Use of variables == 291 291 ... ... @@ -297,9 +297,9 @@ 297 297 298 298 == Definition of a condition == 299 299 300 -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**. 451 +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**. 301 301 302 -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.453 +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. 303 303 304 304 [[image:attach:Editor - Neue Bedinung anlegen_de.png]] 305 305 ... ... @@ -309,12 +309,8 @@ 309 309 310 310 Please note: A variable that is used within a condition must be initialised before the condition. The variable which is used in the condition or statement must be added as a single variable before the condition can be added. If the value of a variable is set within one or more conditions, it will be unnecessary to set a value for the variable itself. Select the empty entry from the value selection list. 311 311 312 - **Linkconditions:**Ifyouhavecreated severalconditionsforanIFsection,you canconfigurehow theseentrieswillbelinked. Determinewhetherallconditions(AND)oratleastone condition(OR)mustbemetfor thecondition tobe executed.463 +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. 313 313 314 -(% class="confluence-embedded-file-wrapper confluence-embedded-manual-size" style="color: rgb(255,102,0);" %)[[image:attach:Editor - Verknüpfung von Bedingungen_de.png]] 315 - 316 -(% style="color: rgb(51,51,51);" %)**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. 317 - 318 318 == Expert mode (IMS QTI) == 319 319 320 320 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. ... ... @@ -327,7 +327,7 @@ 327 327 328 328 == View variable assignment == 329 329 330 -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.477 +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. 331 331 332 332 For more detailed information, please refer to the following help sections: 333 333
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -3 749971821 +226231057 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3 74997182/Variablen verwenden1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/226231057/Variablen verwenden