Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 26.11.2025
Von Version 395.1
bearbeitet von Carina Enke
am 27.02.2019
am 27.02.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.6.
Auf Version 467.1
bearbeitet von Carina Enke
am 25.07.2024
am 25.07.2024
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (3 geändert, 0 hinzugefügt, 0 gelöscht)
-
Anhänge (0 geändert, 3 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -Text Variable s1 +Text Variablen - Übergeordnete Seite
-
... ... @@ -1,0 +1,1 @@ 1 +ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome - Inhalt
-
... ... @@ -1,62 +1,37 @@ 1 -{{sv-translation language="de"}} 2 -{{layout}} 3 -{{layout-section ac:type="single"}} 4 -{{layout-cell}} 5 - 6 - 7 -(% class="removedPlaceholderWrapper" %) 8 - 9 - 10 - 11 - 12 - 13 -{{/layout-cell}} 14 -{{/layout-section}} 15 - 16 -{{layout-section ac:type="two_right_sidebar"}} 17 -{{layout-cell}} 1 +{{section}} 2 +{{column width="60%"}} 18 18 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung. 19 19 20 -[[image:attach:image 2017-3-23 8:25:28.png]]5 +[[image:attach:Editor - Textvariable Typauswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="153" width="338"]] 21 21 22 22 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt. 23 23 24 -[[image:attach:image 2017-3-238:27:46.png]]9 +[[image:attach:Editor - Textvariable Wertsetzung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="127" width="340"]] 25 25 26 - 27 27 28 28 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %) 13 + 14 +{{/column}} 29 29 30 -{{/layout-cell}} 31 - 32 -{{layout-cell}} 33 -{{scroll-ignore}} 34 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}} 35 - 36 - 37 -{{toc/}} 16 +{{column width="30%"}} 17 +{{panel title="Inhalt"}} 18 +{{toc start="2"/}} 38 38 {{/panel}} 39 39 40 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid"title="Verwandte Themen"}}41 -* [[doc:Berechnungsaufgabe]] 42 -* [[doc:Formelvergleich]] 21 +{{panel title="Verwandte Themen"}} 22 +* [[Berechnungsaufgabe>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]] 23 +* [[Formelvergleich>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]] 43 43 {{/panel}} 44 44 45 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid"title="Weiterführende Informationen"}}26 +{{panel title="Weiterführende Informationen"}} 46 46 * [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]] 47 47 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 48 48 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 49 49 {{/panel}} 50 -{{/scroll-ignore}} 31 +{{/column}} 32 +{{/section}} 51 51 52 - 53 53 54 - 55 -{{/layout-cell}} 56 -{{/layout-section}} 57 - 58 -{{layout-section ac:type="single"}} 59 -{{layout-cell}} 60 60 == Zufällige Auswahl == 61 61 62 62 Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt. ... ... @@ -65,24 +65,14 @@ 65 65 **Mögliche Eingaben sind beispielsweise:** 66 66 67 67 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad". 43 + 68 68 69 -=== Beispiel "Digging a hole" === 45 +{{info}} 46 +Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien: 70 70 71 -|((( 72 -[[image:attach:image2017-3-23 8:32:30.png]] 73 -)))|((( 74 -Im Beispiel wird die Text-Variable {PEOPLE} zufällig mit einem der Werte "men", "woman" oder "children" initialisiert. 75 -))) 76 -|((( 77 -[[image:attach:image2017-3-23 8:36:15.png]] 78 -)))|((( 79 -Die Variable wird in den Aufgabentext durch Angabe des Variablen-Namens {PEOPLE} eingebunden. Im Beispiel wird die Variable in eine Aufgabe vom Typ [[Berechnung (Lückentext) >>doc:Berechnungsaufgabe]]eingebunden. 80 -))) 81 -|((( 82 -[[image:attach:image2017-3-23 8:38:49.png]] 83 -)))|((( 84 -Für den Testdurchlauf wird für jeden Teilnehmer und jeden Versuch zufällig einer der definierten Werte ausgewählt. Im Beispiel wurde zufällig der Wert "woman" eingesetzt. 85 -))) 48 +* [[Beispiel "Digging a hole">>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel - Digging a hole.WebHome]] 49 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel Transport - Einsatz von Zufallsparametern.WebHome]] 50 +{{/info}} 86 86 87 87 == Direkte Wert-Setzung == 88 88 ... ... @@ -107,104 +107,4 @@ 107 107 * //Berechnung (MAXIMA): string(integrate({function},x,0,1)):** **//MAXIMA ermöglicht komplexe mathematische Berechnungen. Die Ableitung einer Beispielfunktion (bspw. 5*x+5) könnte als Wert "15/2" zurückliefern. 108 108 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten. 109 109 110 - [[image:attach:image2017-3-22 15:24:50.png]] 111 - 112 - 113 -{{/layout-cell}} 114 -{{/layout-section}} 115 -{{/layout}} 116 -{{/sv-translation}} 117 - 118 -{{sv-translation language="en"}} 119 -{{layout}} 120 -{{layout-section ac:type="two_right_sidebar"}} 121 -{{layout-cell}} 122 -You can generate variables with text content. For this purpose, the variable type "**Text**" is available to you. 123 - 124 -[[image:attach:image2017-3-23 8:25:28.png]] 125 - 126 -To alter the value for the text variable, different options are available, which will be explained in the following sections. 127 - 128 -[[image:attach:image2017-3-23 8:27:46.png]] 129 -{{/layout-cell}} 130 - 131 -{{layout-cell}} 132 -{{scroll-ignore}} 133 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}} 134 - 135 - 136 -{{toc/}} 137 - 138 -**Related topics** 139 - 140 -* [[Calculation task>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]] 141 -* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]] 142 -{{/panel}} 143 - 144 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}} 145 -* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]] 146 -* [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]] 147 -* [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]] 148 -{{/panel}} 149 -{{/scroll-ignore}} 150 -{{/layout-cell}} 151 -{{/layout-section}} 152 - 153 -{{layout-section ac:type="single"}} 154 -{{layout-cell}} 155 -== Random selection == 156 - 157 -Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon. 158 - 159 -If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")// 160 - 161 -**Possible entries are for example:** 162 - 163 -* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle". 164 - 165 -=== Example "digging a hole" === 166 - 167 -|((( 168 -[[image:attach:image2017-3-23 8:32:30.png]] 169 -)))|((( 170 -In the example, the text variable {PEOPLE} will be randomly initialised with one of the following values: "men", "women", or "children". 171 -))) 172 -|((( 173 -[[image:attach:image2017-3-23 8:36:15.png]] 174 -)))|((( 175 -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"]]. 176 -))) 177 -|((( 178 -[[image:attach:image2017-3-23 8:38:49.png]] 179 -)))|((( 180 -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. 181 -))) 182 - 183 -== Direct value assignment == 184 - 185 -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). 186 - 187 -**Possible entries are for example:** 188 - 189 -* //Value: Hans: //The variable is assigned the value "Hans". 190 -* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly". 191 - 192 -== Calculation (MAXIMA) == 193 - 194 -[[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. 195 - 196 -{{info}} 197 -For further information on the MAXIMA notation, please refer to the help pages of the [[computer>>url:http://maxima.sourceforge.net/||shape="rect"]] [[algebra system MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]]. 198 -{{/info}} 199 - 200 -**Possible entries are for example:** 201 - 202 -* //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. 203 -* //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". 204 -* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content. 205 - 206 -[[image:attach:image2017-3-22 15:24:50.png]] 207 -{{/layout-cell}} 208 -{{/layout-section}} 209 -{{/layout}} 210 -{{/sv-translation}} 75 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
- Editor - Textvariable Typauswahl_de.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Größe
-
... ... @@ -1,0 +1,1 @@ 1 +6.6 KB - Inhalt
- Editor - Textvariable Wertsetzung per Maxima_de.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Größe
-
... ... @@ -1,0 +1,1 @@ 1 +26.3 KB - Inhalt
- Editor - Textvariable Wertsetzung_de.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest - Größe
-
... ... @@ -1,0 +1,1 @@ 1 +6.4 KB - Inhalt
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 - 2080774001 +84115539 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 208077400/Text Variables1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/84115539/Text Variables