Wiki-Quellcode von Textvariablen

Version 409.1 von Carina Enke am 29.01.2019

Zeige letzte Bearbeiter
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}}
73 Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung.
74
75 [[image:attach:image2017-3-23 8:25:28.png]]
76
77 Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt.
78
79 [[image:attach:image2017-3-23 8:27:46.png]]
80
81
82
83 (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
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/}}
93 {{/panel}}
94
95 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
96 * [[doc:Berechnungsaufgabe]]
97 * [[doc:Formelvergleich]]
98 {{/panel}}
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"]]
102 * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
103 * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
104 {{/panel}}
105 {{/scroll-ignore}}
106
107
108
109
110 {{/layout-cell}}
111 {{/layout-section}}
112
113 {{layout-section ac:type="single"}}
114 {{layout-cell}}
115 == Zufällige Auswahl ==
116
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.
118 Wenn im Auswahlwert ein Komma enthalten ist, setzen Sie dieses bitte mit einem Backslash vor dem Komma um. //(Beispiel: "Die Bedingung\, dass ...")//
119
120 **Mögliche Eingaben sind beispielsweise:**
121
122 * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad".
123
124 === Beispiel "Digging a hole" ===
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 )))
141
142 == Direkte Wert-Setzung ==
143
144 Sie können allen Variablen-Typen einen Wert direkt zuweisen und die Variable mit diesem Wert initialisieren. Der Wert kann später in Abhängigkeit anderer Variablen geändert werden (vgl. Bedingungen).
145
146 **Mögliche Eingaben sind beispielsweise:**
147
148 * //Wert: Hans: //Die Variable wird auf den Wert "Hans" gesetzt.
149 * //Wert: Die Funktion ist monoton wachsend: //Die Variable wird auf den Wert "Die Funktion ist monoton wachsend" gesetzt.
150
151 == Berechnung (MAXIMA) ==
152
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
155 **Mögliche Eingaben sind beispielsweise:**
156
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 * //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 * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten.
160
161 [[image:attach:image2017-3-22 15:24:50.png]]
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}}