Änderungen von Dokument Text Variablen

Zuletzt geändert von Carina Enke am 26.11.2025

Von Version 419.1
bearbeitet von Carina Enke
am 24.09.2018
Änderungskommentar: Mittels Scroll Versions veröffentlicht aus dem Bereich ONYXintern und Version 1.11.1.
Auf Version 465.3
bearbeitet von Carina Enke
am 20.12.2023
Änderungskommentar: Update document after refactoring.

Zusammenfassung

Details

Seiteneigenschaften
Titel
... ... @@ -1,1 +1,1 @@
1 -Textvariablen
1 +Text Variables
Übergeordnete Seite
... ... @@ -1,0 +1,1 @@
1 +ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome
Inhalt
... ... @@ -1,69 +1,7 @@
1 1  {{layout}}
2 2  {{layout-section ac:type="single"}}
3 3  {{layout-cell}}
4 -
5 -
6 -{{conditionalcontent 0="Zielgruppe: (BPS)" sv-attr:866DE48701525447C13BC59401CD793F="866DE48701525447C13C469E1E314A59" atlassian-macro-output-type="INLINE"}}{{details}}
7 -|=(((
8 -Verantwortlicher
9 -)))|(((
10 -
11 -)))
12 -|=(% colspan="1" %)(% colspan="1" %)
13 -(((
14 -Status
15 -)))|(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)(% class="highlight-yellow" colspan="1" data-highlight-colour="yellow" %)
16 -(((
17 -{{sv-metadata type="workflow-status"/}}
18 -
19 -{{status colour="Green" title="fertig"/}}
20 -)))
21 -|=(% colspan="1" %)(% colspan="1" %)
22 -(((
23 -Varianten
24 -)))|(% colspan="1" %)(% colspan="1" %)
25 -(((
26 -{{sv-metadata type="variants"/}}
27 -)))
28 -|=(% colspan="1" %)(% colspan="1" %)
29 -(((
30 -Attribute
31 -)))|(% colspan="1" %)(% colspan="1" %)
32 -(((
33 -{{sv-metadata type="attributes"/}}
34 -)))
35 -|=(% colspan="1" %)(% colspan="1" %)
36 -(((
37 -Pagekey
38 -)))|(% colspan="1" %)(% colspan="1" %)
39 -(((
40 -{{sv-metadata type="pagekey"/}}
41 -)))
42 -|=(% colspan="1" %)(% colspan="1" %)
43 -(((
44 -Übersetzung
45 -)))|(% colspan="1" %)(% colspan="1" %)
46 -(((
47 -{{status colour="Green" title="fertig"/}}
48 -)))
49 -|=(% colspan="1" %)(% colspan="1" %)
50 -(((
51 -TODOs
52 -)))|(% colspan="1" %)(% colspan="1" %)
53 -(((
54 -(% class="task-list" %)
55 -(((
56 -{{task reference="/Tasks/Task_1" status="Done"}}
57 -carina: MARKETING-143 Versionstypen angepasst
58 -Deutsche Bildüberschriften und englische Bilder fehlen noch.
59 -{{/task}}
60 -)))
61 -
62 -carina Info: Update mit 1.11 zum Stand 11.1.18 Autor Yvonne
63 -)))
64 -{{/details}}{{/conditionalcontent}}
65 -
66 -
4 +\\
67 67  {{/layout-cell}}
68 68  {{/layout-section}}
69 69  
... ... @@ -71,13 +71,13 @@
71 71  {{layout-cell}}
72 72  Sie können Variablen mit Text-Inhalten generieren. Hierfür steht Ihnen der Variablen-Typ "**Text**" zur Verfügung.
73 73  
74 -[[image:attach:image2017-3-23 8:25:28.png]]
12 +[[image:attach:Editor - Textvariable Typauswahl_de.png]]
75 75  
76 76  Folgend werden Ihnen die Möglichkeiten zur Wertsetzung von Text-Variablen vorgestellt.
77 77  
78 -[[image:attach:image2017-3-23 8:27:46.png]]
16 +[[image:attach:Editor - Textvariable Wertsetzung_de.png]]
79 79  
80 -
18 +\\
81 81  
82 82  (% class="confluence-embedded-file-wrapper image-center-wrapper confluence-embedded-manual-size" %)
83 83  
... ... @@ -84,7 +84,6 @@
84 84  {{/layout-cell}}
85 85  
86 86  {{layout-cell}}
87 -{{scroll-ignore}}
88 88  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Inhalt"}}
89 89  
90 90  
... ... @@ -92,20 +92,15 @@
92 92  {{/panel}}
93 93  
94 94  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Verwandte Themen"}}
95 -* [[doc:Berechnungsaufgabe]]
96 -* [[doc:Formelvergleich]]
32 +* [[doc:ONYX.ONYX Editor.Aufgaben.Variablen verwenden.Text Variables.Berechnungsaufgabe]]
33 +* [[doc:ONYX.ONYX Editor.Aufgaben.Variablen verwenden.Text Variables.Formelvergleich]]
97 97  {{/panel}}
98 98  
99 99  {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Weiterführende Informationen"}}
100 -* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]
37 +* [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]]
101 101  * [[MAXIMA Good-Practice-Beispiele>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
102 102  * [[MAXIMA Systeminformationen>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
103 103  {{/panel}}
104 -{{/scroll-ignore}}
105 -
106 -
107 -
108 -
109 109  {{/layout-cell}}
110 110  {{/layout-section}}
111 111  
... ... @@ -119,24 +119,14 @@
119 119  **Mögliche Eingaben sind beispielsweise:**
120 120  
121 121  * //Zufällige Auswahl: Auto; Motorrad; Fahrrad: //Es wird zufällig einer der angegebenen Werte ausgewählt bspw. "Fahrrad".
54 +\\
122 122  
123 -=== Beispiel "Digging a hole" ===
56 +{{info}}
57 +Folgende Beispiele zum Einsatz von numerischen Variablen zur Generierung von Zufallswerten zeigen typische Anwendungsszenarien:
124 124  
125 -|(((
126 -[[image:attach:image2017-3-23 8:32:30.png]]
127 -)))|(((
128 -Im Beispiel wird die Text-Variable {PEOPLE} zufällig mit einem der Werte "men", "woman" oder "children" initialisiert.
129 -)))
130 -|(((
131 -[[image:attach:image2017-3-23 8:36:15.png]]
132 -)))|(((
133 -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.
134 -)))
135 -|(((
136 -[[image:attach:image2017-3-23 8:38:49.png]]
137 -)))|(((
138 -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.
139 -)))
59 +* [[Beispiel "Digging a hole">>doc:ONYX.ONYX Editor.Aufgaben.Variablen verwenden.Text Variables.Beispiele zum Einsatz von Variablen]]
60 +* [[Beispiel "Transport" - Einsatz von Zufallsparametern>>doc:ONYX.ONYX Editor.Aufgaben.Variablen verwenden.Text Variables.Beispiele zum Einsatz von Variablen]]
61 +{{/info}}
140 140  
141 141  == Direkte Wert-Setzung ==
142 142  
... ... @@ -151,6 +151,10 @@
151 151  
152 152  [[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.
153 153  
76 +{{info}}
77 +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"]].
78 +{{/info}}
79 +
154 154  **Mögliche Eingaben sind beispielsweise:**
155 155  
156 156  * //Berechnung (MAXIMA): string({a}*x+5): //Es wird eine einfache Funktionsgleichung durch Einsatz des Variablenwertes {a} berechnet. Die Variable {a} muss zuvor definiert sein.
... ... @@ -157,11 +157,91 @@
157 157  * //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.
158 158  * //Berechnung (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA ermöglicht auch die Rückgabe von LATEX-Inhalten.
159 159  
160 - [[image:attach:image2017-3-22 15:24:50.png]]
86 + [[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]]
87 +{{/layout-cell}}
88 +{{/layout-section}}
89 +{{/layout}}
161 161  
91 +
92 +
93 +{{layout}}
94 +{{layout-section ac:type="two_right_sidebar"}}
95 +{{layout-cell}}
96 +For variables with text, select the type //**Text**//.
97 +
98 +[[image:attach:Editor - Textvariable Typauswahl_de.png]]
99 +
100 +Below, you will find instructions on how to configure different values for your text variables.
101 +
102 +[[image:attach:Editor - Textvariable Wertsetzung_de.png]]
103 +{{/layout-cell}}
104 +
105 +{{layout-cell}}
106 +
107 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}}
108 +
109 +
110 +{{toc/}}
111 +{{/panel}}
112 +
113 +{{panel title="Related topics"}}
114 +* [[Calculation interaction>>url:https://www.bps-system.de/help/display/ONYXintern/.Berechnungsaufgabe+v8.X||shape="rect"]]
115 +* [[Formula comparison>>url:https://www.bps-system.de/help/display/ONYXintern/.Formelvergleich+v8.X||shape="rect"]]
116 +{{/panel}}
117 +
118 +{{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}}
119 +* [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]
120 +* [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
121 +* [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
122 +{{/panel}}
123 +
124 +{{/layout-cell}}
125 +{{/layout-section}}
126 +
127 +{{layout-section ac:type="single"}}
128 +{{layout-cell}}
129 +== Random selection ==
130 +
131 +Define a value list from which a value is randomly selected. The alternative values are separated by a line break, comma, or semicolon.
132 +
133 +If the selection value contains a comma, a backslash needs to be inserted before the comma. //(Example: "The condition\, which ...")//
134 +
135 +**Possible entries are for example:**
136 +
137 +* //Random selection: Car; motorcycle; bicycle: //One of the specified values will be randomly selected, for example "bicycle".
138 +\\
139 +
162 162  {{info}}
163 -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"]].
141 +The following examples for the use of numerical variables to generate random values show typical application scenarios:
142 +
143 +* [[Example "Digging a hole">>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]]
144 +* [[Example "Transport" - Use of random parameters>>url:https://www.bps-system.de/help/display/ONYXintern/.Beispiele+zum+Einsatz+von+Variablen+v8.7||shape="rect"]]
164 164  {{/info}}
146 +
147 +== Direct value assignment ==
148 +
149 +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).
150 +
151 +**Possible entries are for example:**
152 +
153 +* //Value: Hans: //The variable is assigned the value "Hans".
154 +* //Value: The function increases linearly: //The variable is assigned the value "the function increases linearly".
155 +
156 +== Calculation (MAXIMA) ==
157 +
158 +[[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.
159 +
160 +{{info}}
161 +For further information on the MAXIMA notation, please refer to the [[MAXIMA Manual>>url:http://maxima.sourceforge.net/docs/manual/de/maxima.html||shape="rect"]]. A valuable compilation of examples can be found in the form of a wiki under [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]].
162 +{{/info}}
163 +
164 +**Possible entries are for example:**
165 +
166 +* //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.
167 +* //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".
168 +* //Calculation (MAXIMA): tex1(matrix([{a1},{a2}],[{b1},{b2}])): //MAXIMA also facilitates the return of latex content.
169 +
170 +[[image:attach:Editor - Textvariable Wertsetzung per Maxima_de.png]]
165 165  {{/layout-cell}}
166 166  {{/layout-section}}
167 167  {{/layout}}
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 -178880873
1 +84115539
url
... ... @@ -1,1 +1,1 @@
1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/178880873/Textvariablen
1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/84115539/Text Variables