Änderungen von Dokument Text Variablen
Zuletzt geändert von Carina Enke am 26.11.2025
Von Version 404.1
bearbeitet von Carina Enke
am 22.01.2019
am 22.01.2019
Änderungskommentar:
Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.13B.
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 variablen1 +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"}}46 -* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/ de/maxima.html||shape="rect"]]26 +{{panel title="Weiterführende Informationen"}} 27 +* [[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 ... ... @@ -97,6 +97,10 @@ 97 97 98 98 [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]] ermöglicht die Arbeit mit Zeichenketten und Formeln. Sie können Variablenwerte auf Basis anderer Variablen berechnen. Geben Sie Ihre Berechnungsvorschrift in MAXIMA-Schreibweise an. 99 99 65 +{{info}} 66 +Detaillierte Hinweise zur MAXIMA-Schreibweise erhalten Sie im [[MAXIMA Benutzerhandbuch (Manual)>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]. Eine wertvolle Zusammenstellung von Beispielumsetzungen finden Sie in Form eines Wikis unter [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]. 67 +{{/info}} 68 + 100 100 **Mögliche Eingaben sind beispielsweise:** 101 101 102 102 * //Berechnung (MAXIMA): string({a}*x+5): //Es wird eine einfache Funktionsgleichung durch Einsatz des Variablenwertes {a} berechnet. Die Variable {a} muss zuvor definiert sein. ... ... @@ -103,100 +103,4 @@ 103 103 * //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. 104 104 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten. 105 105 106 - [[image:attach:image2017-3-22 15:24:50.png]] 107 - 108 -{{info}} 109 -Detaillierte Hinweise zur MAXIMA-Schreibweise erhalten Sie im [[MAXIMA Benutzerhandbuch (Manual)>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]. Eine wertvolle Zusammenstellung von Beispielumsetzungen finden Sie in Form eines Wikis unter [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]. 110 -{{/info}} 111 -{{/layout-cell}} 112 -{{/layout-section}} 113 -{{/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}} 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 - 2007374951 +84115539 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/ 200737495/Textvariablen1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/84115539/Text Variables