Wiki source code of Beispiel Vorzeichen eines Ergebniswertes beachten
Last modified by Carina Enke on 15.11.2025
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | As an example, the assessment and individual feedback for a numerical result value should be based on the following criteria: | ||
| 2 | |||
| 3 | {{panel}} | ||
| 4 | {{column width="50%"}} | ||
| 5 | Incorrect solution: | ||
| 6 | |||
| 7 | * no points | ||
| 8 | * feedback: "Your solution is incorrect." | ||
| 9 | |||
| 10 | Incorrect sign, but correct result value: | ||
| 11 | |||
| 12 | * 0.5 points | ||
| 13 | * feedback: "The value of your solution is correct, but the sign is incorrect." | ||
| 14 | {{/column}} | ||
| 15 | |||
| 16 | {{column width="50%"}} | ||
| 17 | Correct sign, correct result value: | ||
| 18 | |||
| 19 | * 1 point | ||
| 20 | * feedback: "Your solution is correct." | ||
| 21 | |||
| 22 | Correct sign, incorrect result value: | ||
| 23 | |||
| 24 | * 0.5 points | ||
| 25 | * feedback: "The value of your solution is incorrect, but the sign is correct." | ||
| 26 | {{/column}} | ||
| 27 | {{/panel}} | ||
| 28 | |||
| 29 | [[image:attach:Beispiel - Vorzeichen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 30 | |||
| 31 | Implementation can be done using variable conditions and individual feedback information. | ||
| 32 | |||
| 33 | == Explanation of the example’s function == | ||
| 34 | |||
| 35 | **Configurations in the Variables area:** | ||
| 36 | |||
| 37 | |(% style="width:508px" %)((( | ||
| 38 | The following variables are required for implementation: | ||
| 39 | |||
| 40 | * Variables in which the absolute value of the learner response (solution_abs) and of the correct answer (solutioncor_abs) is calculated using a Maxima function. | ||
| 41 | * Flag variables for comparing the values (//merker_abs//) and their signs (//merker_vorzeichen//). These variables are basically used as control variables. They can either have the value 0 or 1 to signify whether a particular event is true or false. | ||
| 42 | |||
| 43 | Before the question is displayed, the required inspection variables will have no value. | ||
| 44 | )))|(% style="width:495px" %)((( | ||
| 45 | (% class="content-wrapper" %) | ||
| 46 | ((( | ||
| 47 | [[image:attach:Beispiel - Vorzeichen Pre Variablen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 48 | ))) | ||
| 49 | ))) | ||
| 50 | |(% style="width:508px" %)((( | ||
| 51 | When the question has been answered, the value of the learner response and the correct solution will be calculated in the variables //solution_abs// and //solutioncor_abs//, and the assessment will be carried out via conditions: | ||
| 52 | |||
| 53 | * In the first condition, the value of the learner response will be inspected. | ||
| 54 | * In another condition, the used sign will be inspected. The results of these two inspections will then be placed into the variables //merker_abs// and //merker_vorzeichen//. | ||
| 55 | * If one of the two inspections is negative, the achieved score will be reduced to 0.5 points in a third condition. This will then be transferred to the achievable question score. | ||
| 56 | )))|(% style="width:495px" %)((( | ||
| 57 | ((( | ||
| 58 | [[image:attach:Beispiel - Vorzeichen Post Variablen und Bedingungen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 59 | ))) | ||
| 60 | ))) | ||
| 61 | |||
| 62 | **Configuration in the Feedback area:** | ||
| 63 | |||
| 64 | |(% style="width:510px" %)((( | ||
| 65 | Individual feedback conditions can be stored for all possible results. These will be displayed according to the variable inspections after the question has been assessed. | ||
| 66 | )))|(% style="width:493px" %)((( | ||
| 67 | (% class="content-wrapper" %) | ||
| 68 | ((( | ||
| 69 | [[image:attach:Beispiel - Vorzeichen Feedback_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 70 | ))) | ||
| 71 | ))) | ||
| 72 | |||
| 73 | == Using the pre-configured example question == | ||
| 74 | |||
| 75 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
| 76 | ((( | ||
| 77 | 1 | ||
| 78 | )))|(% style="width:487px" %)((( | ||
| 79 | Import the example question: [[Example_Consider_Signs.zip>>attach:Beispiel_Vorzeichen_beachten.zip||shape="rect"]] | ||
| 80 | |||
| 81 | For instructions on how to import a question, see the help page [[Create content>>doc:ONYX.Erstellung von Testinhalten.Inhalte erstellen oder importieren.WebHome]]. | ||
| 82 | )))|(% style="width:494px" %)((( | ||
| 83 | (% class="content-wrapper" %) | ||
| 84 | ((( | ||
| 85 | [[image:attach:Beispiel - Vorzeichen importieren_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 86 | ))) | ||
| 87 | ))) | ||
| 88 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
| 89 | ((( | ||
| 90 | 2 | ||
| 91 | )))|(% style="width:487px" %)((( | ||
| 92 | Change the title of the question and delete the entire italic information text. Then enter your own question text. | ||
| 93 | )))|(% style="width:494px" %)((( | ||
| 94 | (% class="content-wrapper" %) | ||
| 95 | ((( | ||
| 96 | [[image:attach:Beispiel - Vorzeichen Aufgabentext anpassen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 97 | ))) | ||
| 98 | ))) | ||
| 99 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
| 100 | ((( | ||
| 101 | 3 | ||
| 102 | )))|(% style="width:487px" %)((( | ||
| 103 | Adjust the expected correct value for the numerical gap. | ||
| 104 | )))|(% style="width:494px" %)((( | ||
| 105 | (% class="content-wrapper" %) | ||
| 106 | ((( | ||
| 107 | [[image:attach:Beispiel - Vorzeichen Lösung anpassen_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 108 | ))) | ||
| 109 | ))) | ||
| 110 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
| 111 | ((( | ||
| 112 | 4 | ||
| 113 | )))|(% style="width:487px" %)((( | ||
| 114 | Check the feedback texts and edit them if necessary. | ||
| 115 | )))|(% rowspan="2" style="width:494px" %)(% rowspan="2" %) | ||
| 116 | ((( | ||
| 117 | (% class="content-wrapper" %) | ||
| 118 | ((( | ||
| 119 | [[image:attach:Beispiel - Vorzeichen Feedback_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]] | ||
| 120 | ))) | ||
| 121 | ))) | ||
| 122 | |(% class="numberingColumn" %)(% class="numberingColumn" %) | ||
| 123 | ((( | ||
| 124 | 5 | ||
| 125 | )))|(% style="width:487px" %)((( | ||
| 126 | Save the changes to your question. | ||
| 127 | |||
| 128 | For instructions on how to use this question in a test, refer to the help page [[Add or create questions>>doc:ONYX.Erstellung von Testinhalten.Test erstellen.Aufgaben zuordnen oder erstellen.WebHome||shape="rect"]]. | ||
| 129 | ))) |