Änderungen von Dokument Text Variablen

Zuletzt geändert von Carina Enke am 26.11.2025

Von Version 410.1
bearbeitet von Carina Enke
am 29.01.2019
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 8.6.
Auf Version 466.2
bearbeitet von Carina Enke
am 25.07.2024
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Textvariablen
1 +Text Variablen
Übergeordnete Seite
... ... @@ -1,0 +1,1 @@
1 +ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome
Inhalt
... ... @@ -1,117 +1,38 @@
1 -{{sv-translation language="de"}}
2 -{{layout}}
3 -{{layout-section ac:type="single"}}
4 -{{layout-cell}}
5 -
6 -
7 -{{conditionalcontent 0="Zielgruppe: (BPS)" sv-attr:866DE48701525447C13BC59401CD793F="866DE48701525447C13C469E1E314A59" atlassian-macro-output-type="INLINE"}}{{details}}
8 -|=(((
9 -Verantwortlicher
10 -)))|(((
11 -
12 -)))
13 -|=(% colspan="1" %)(% colspan="1" %)
14 -(((
15 -Status
16 -)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
17 -(((
18 -{{sv-metadata type="workflow-status"/}}
19 -
20 -{{status colour="Green" title="fertig"/}}
21 -)))
22 -|=(% colspan="1" %)(% colspan="1" %)
23 -(((
24 -Varianten
25 -)))|(% colspan="1" %)(% colspan="1" %)
26 -(((
27 -{{sv-metadata type="variants"/}}
28 -)))
29 -|=(% colspan="1" %)(% colspan="1" %)
30 -(((
31 -Attribute
32 -)))|(% colspan="1" %)(% colspan="1" %)
33 -(((
34 -{{sv-metadata type="attributes"/}}
35 -)))
36 -|=(% colspan="1" %)(% colspan="1" %)
37 -(((
38 -Pagekey
39 -)))|(% colspan="1" %)(% colspan="1" %)
40 -(((
41 -{{sv-metadata type="pagekey"/}}
42 -)))
43 -|=(% colspan="1" %)(% colspan="1" %)
44 -(((
45 -Übersetzung
46 -)))|(% colspan="1" %)(% colspan="1" %)
47 -(((
48 -{{status colour="Green" title="fertig"/}}
49 -)))
50 -|=(% colspan="1" %)(% colspan="1" %)
51 -(((
52 -TODOs
53 -)))|(% colspan="1" %)(% colspan="1" %)
54 -(((
55 -(% class="task-list" %)
56 -(((
57 -{{task reference="/Tasks/Task_1" status="Done"}}
58 -carina: MARKETING-143 Versionstypen angepasst
59 -Deutsche Bildüberschriften und englische Bilder fehlen noch.
60 -{{/task}}
61 -)))
62 -
63 -carina Info: Update mit 1.11 zum Stand 11.1.18 Autor Yvonne
64 -)))
65 -{{/details}}{{/conditionalcontent}}
66 -
67 -
68 -{{/layout-cell}}
69 -{{/layout-section}}
70 -
71 -{{layout-section ac:type="two_right_sidebar"}}
72 -{{layout-cell}}
1 +{{section}}
2 +{{column width="60%"}}
73 73  Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung.
74 74  
75 -[[image:attach:image2017-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"]]
76 76  
77 77  Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt.
78 78  
79 -[[image:attach:image2017-3-23 8: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"]]
80 80  
81 -
82 82  
83 83  (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
13 +
14 +{{/column}}
84 84  
85 -{{/layout-cell}}
86 -
87 -{{layout-cell}}
88 -{{scroll-ignore}}
89 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
90 -
91 -
92 -{{toc/}}
16 +{{column width="30%"}}
17 +{{panel title="Inhalt"}}
18 +{{toc start="2"/}}
93 93  {{/panel}}
94 94  
95 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
96 -* [[doc:Berechnungsaufgabe]]
97 -* [[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]]
98 98  {{/panel}}
99 99  
100 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
101 -* [[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"]]
102 102  * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
103 103  * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
104 104  {{/panel}}
105 -{{/scroll-ignore}}
31 +{{/column}}
106 106  
107 -
33 +{{/section}}
108 108  
109 -
110 -{{/layout-cell}}
111 -{{/layout-section}}
112 112  
113 -{{layout-section ac:type="single"}}
114 -{{layout-cell}}
115 115  == Zufällige Auswahl ==
116 116  
117 117  Definieren Sie eine Werte-Liste, aus welcher zufällig ein Wert ausgewählt wird. Die alternativen Werte werden durch Zeilenumbruch, Komma oder Semikolon getrennt.
... ... @@ -120,24 +120,14 @@
120 120  **Mögliche Eingaben sind beispielsweise:**
121 121  
122 122  * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad".
44 +
123 123  
124 -=== Beispiel "Digging a hole" ===
46 +{{info}}
47 +Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
125 125  
126 -|(((
127 -[[image:attach:image2017-3-23 8:32:30.png]]
128 -)))|(((
129 -Im Beispiel wird die Text-Variable {PEOPLE} zufällig mit einem der Werte "men", "woman" oder "children" initialisiert.
130 -)))
131 -|(((
132 -[[image:attach:image2017-3-23 8:36:15.png]]
133 -)))|(((
134 -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.
135 -)))
136 -|(((
137 -[[image:attach:image2017-3-23 8:38:49.png]]
138 -)))|(((
139 -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.
140 -)))
49 +* [[Beispiel "Digging a hole">>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel - Digging a hole.WebHome]]
50 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.Beispiele zum Einsatz von Variablen.Beispiel Transport - Einsatz von Zufallsparametern.WebHome]]
51 +{{/info}}
141 141  
142 142  == Direkte Wert-Setzung ==
143 143  
... ... @@ -152,6 +152,10 @@
152 152  
153 153  [[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.
154 154  
66 +{{info}}
67 +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"]].
68 +{{/info}}
69 +
155 155  **Mögliche Eingaben sind beispielsweise:**
156 156  
157 157  * //Berechnung (MAXIMA): string({a}*x+5): //Es wird eine einfache Funktionsgleichung durch Einsatz des Variablenwertes {a} berechnet. Die Variable {a} muss zuvor definiert sein.
... ... @@ -158,100 +158,5 @@
158 158  * //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.
159 159  * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten.
160 160  
161 - [[image:attach:image2017-3-22 15:24:50.png]]
76 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
162 162  
163 -{{info}}
164 -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"]].
165 -{{/info}}
166 -{{/layout-cell}}
167 -{{/layout-section}}
168 -{{/layout}}
169 -{{/sv-translation}}
170 -
171 -{{sv-translation language="en"}}
172 -{{layout}}
173 -{{layout-section ac:type="two_right_sidebar"}}
174 -{{layout-cell}}
175 -You can generate variables with text content. For this purpose, the variable type "**Text**" is available to you.
176 -
177 -[[image:attach:image2017-3-23 8:25:28.png]]
178 -
179 -To alter the value for the text variable, different options are available, which will be explained in the following sections.
180 -
181 -[[image:attach:image2017-3-23 8:27:46.png]]
182 -{{/layout-cell}}
183 -
184 -{{layout-cell}}
185 -{{scroll-ignore}}
186 -{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}}
187 -
188 -
189 -{{toc/}}
190 -
191 -**Related topics**
192 -
193 -* [[Calculation task>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v1.11||shape="rect"]]
194 -* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v1.11||shape="rect"]]
195 -
196 -**Further information**
197 -
198 -* [[MAXIMA>>url:http://maxima.sourceforge.net/||shape="rect"]]
199 -{{/panel}}
200 -{{/scroll-ignore}}
201 -{{/layout-cell}}
202 -{{/layout-section}}
203 -
204 -{{layout-section ac:type="single"}}
205 -{{layout-cell}}
206 -== Random selection ==
207 -
208 -Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon.
209 -
210 -If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")//
211 -
212 -**Possible entries are for example:**
213 -
214 -* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle".
215 -
216 -=== Example "digging a hole" ===
217 -
218 -|(((
219 -[[image:attach:image2017-3-23 8:32:30.png]]
220 -)))|(((
221 -In the example, the text variable {PEOPLE} will be randomly initialised with one of the following values: "men", "women", or "children".
222 -)))
223 -|(((
224 -[[image:attach:image2017-3-23 8:36:15.png]]
225 -)))|(((
226 -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"]].
227 -)))
228 -|(((
229 -[[image:attach:image2017-3-23 8:38:49.png]]
230 -)))|(((
231 -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.
232 -)))
233 -
234 -== Direct value assignment ==
235 -
236 -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).
237 -
238 -**Possible entries are for example:**
239 -
240 -* //Value: Hans: //The variable is assigned the value "Hans".
241 -* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly".
242 -
243 -== Calculation (MAXIMA) ==
244 -
245 -[[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.
246 -
247 -**Possible entries are for example:**
248 -
249 -* //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.
250 -* //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".
251 -* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content.
252 -
253 -[[image:attach:image2017-3-22 15:24:50.png]]
254 -{{/layout-cell}}
255 -{{/layout-section}}
256 -{{/layout}}
257 -{{/sv-translation}}
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 -202113201
1 +84115539
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/202113201/Textvariablen
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/84115539/Text Variables