Bitte erstelle in der Moodle-Syntax für Lückentexte eine Lückentextfrage mit dem folgenden Inhalt: "In der Boolschen Algebra gibt es die zwei Operationen Konjunktion und Disjunktion. Bei der Konjunktion zweier Aussagen wird das logische [UND (richtig) | ODER | NICHT] verwendet und ist nur dann wahr, wenn beide beteiligten Aussagen wahr sind. Bei der Disjunktion gibt es zwei Möglichkeiten: die einfache Disjunktion, auch inklusive Disjunktion genannt, bei der das logische [ODER (richtig) | UND | NICHT] verwendet wird und die Aussage dann wahr ist, wenn mindestens eine der beteiligten Aussagen wahr ist. Und die ausschließende Disjunktion, die mit [Shortanswer: XOR] abgekürzt wird." Verwende dabei Kurzantworten, Auswahlmenüs und horizontale Radiobuttons, je nachdem, was passend ist. Markiere die richtige Antwort in der korrekten Syntax mit dem Gleichzeitszeichen. Gib den Studierenden auf ihre Antworten passende Feedbacks, d.h. erkläre warum falsch Antworten falsch sind und nicht nur, dass ihre Antwort falsch ist. Ich erkläre dir im Folgenden die Moodle-Syntax für Lückentexte: Questions consist of a passage of text (in Moodle format) that has various sub-questions embedded within it, including short answers (SHORTANSWER or SA or MW), case is unimportant, short answers (SHORTANSWER_C or SAC or MWC), case must match, numerical answers (NUMERICAL or NM), multiple choice (MULTICHOICE_S or MCS), represented as a dropdown menu in-line in the text, multiple choice (MULTICHOICE_VS or MCVS), represented as a vertical column of radio buttons, or multiple choice (MULTICHOICE_HS or MCHS), represented as a horizontal row of radio-buttons. multiple choice (MULTIRESPONSE_S or MRS), represented as a vertical row of checkboxes multiple choice (MULTIRESPONSE_HS or MRHS), represented as a horizontal row of checkboxes The structure of each cloze sub-question is identical: { start the cloze sub-question with a bracket 1 define a grade for each cloze by a number (optional). This used for calculation of question grading. Note that this number can only be a positive integer (1, 2, 3, etc.) :SHORTANSWER: define the type of cloze sub-question. Definition is bounded by ':'. ~ is a separator between answer options = marks a correct answer # marks the beginning of an (optional) feedback message } close the cloze sub-question at the end with a bracket Now a very simple example: "{1:SHORTANSWER:=Berlin} is the capital of Germany." If the correct answer contains } # ~ / " or \ you will have to escape them by putting a \ in front of each such character. The { shouldn't be escaped, this can be vital in getting TeX expressions to work. In the feedback ~ and } must be escaped otherwise it will be interpreted as the next answer or end of the short answer section respectively. Quotation signs: " can lead to trouble anyhow in both places. Use the HTML entity: ". The following text creates a simple embedded-answers question: Match the following cities with the correct state: * San Francisco: {1:MULTICHOICE_S:=California#OK~Arizona#Wrong} * Tucson: {1:MULTICHOICE_S:California#Wrong~%100%Arizona#OK} * Los Angeles: {1:MULTICHOICE_S:=California#OK~Arizona#Wrong} * Phoenix: {1:MULTICHOICE_S:%0%California#Wrong~=Arizona#OK} The capital of France is {1:SHORTANSWER:%100%Paris#Congratulations! ~%50%Marseille#No, that is the second largest city in France (after Paris).~*#Wrong answer. The capital of France is Paris, of course.}. This question consists of some text with an answer embedded right here {1:MULTICHOICE_S:Wrong answer#Feedback for this wrong answer~Another wrong answer#Feedback for the other wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and right after that you will have to deal with this short answer {1:SHORTANSWER:Wrong answer#Feedback for this wrong answer~=Correct answer#Feedback for correct answer~%50%Answer that gives half the credit#Feedback for half credit answer} and finally we have a floating point number {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for half credit answer in the nearby region of the correct answer}. Detailed syntax explanations: All question items within a cloze-type question are coded inside curled braces { }. The number which appears between the opening brace and the colon {1: is the weighting of that item; if it is set at 1 for all the items, it needs not be specified, so you can have {:. After the colon we have the item question type: MULTICHOICE, SHORTANSWER, NUMERICAL. NOTE.- If you have installed the REGEXP question type plugin you can also use the REGEXP question type; see instructions here. The syntax for MULTICHOICE and SHORTANSWER is the same; the only difference is in the displaying of the item to the student. The order of the various answers is indifferent (except if you want a catch-all for wrong answers, see #13 below). A correct answer is preceded with the equal sign = or a percentage (usually %100%) - Note: The equal sign (=) doesn't seem to work with SHORTANSWER. A wrong answer is preceded with nothing or a percentage (usually %0%)but you can even use negative points by preceding with ~%-25% [not before Moodle 2.0]). Note that negative points are taken into account in all question behaviours except "Interactive with multiple tries". You can allocate some points between 0 and 100 to some answers, if you put the appropriate percentage. All answers except the first one are separated from one another by the tilde ~ sign. Answers can be followed by an optional feedback message, preceded with the # sign; if there is no feedback message, the # sign can be present or absent, it does not matter. Note that the feedback message and the correct answer are displayed in a small popup window (if and when the correct and or feedback have been declared accessible to the students in the Quiz settings) upon clicking on the feedback icon (green checkmark or red cross). The popup window has a title "feedback" and you can use HTML tags to format your feedback. In some browsers (For example IE5.5) the form fields can cover part of the feedback windows. It can help to not have the formfields for the answers too close to each other. In the SHORTANSWER type you may want to put a catch-all (wrong) answer in order to send a "wrong, try again" feedback; you can do this by inserting an asterisk * as the very last expected answer in your formula. You should not have sequences such as %#, %~, %}, =#, =%, =}, ~#, ~% and ~} in the answer because you should not have empty answers or empty answer options. These two character sequences constitute error syntaxes, where the second character is interpreted as if it were escaped(why?), and gives unexpected results: the answer is decoded as one instead of two or more. The format of a NUMERICAL Cloze question is similar to that of the other Cloze types and they can be mixed in the same question. An example of the syntax used is shown below: {2:NUMERICAL:=23.8:0.1#Feedback for correct answer 23.8~%50%23.8:2#Feedback for ½credit near correct answer}. 2: is the question point weight, which means that this question has twice the weight in the final point(s) for this question as other partial answers with weight 1 (or no declared weight - you can start with {: for the default weight 1) in the same question. NUMERICAL: says what kind of question it is. It must be in CAPS. =23.8:0.1 = or %100% means correct if the answer is 23.8 with an accepted error of 0.1, then any number between 23.7 and 23.9 will be accepted as correct. (In the GIFT numerical question one can express an interval like this 13..15 or 14:1 but in Cloze only 14:1 works.) #Feedback for correct answer 23.8 is preceded by # ~%50%23.8:2 ~ is the separator for answer alternatives %50% means this answer would get 50% of the score that the more precise answer had gotten. Because the tolerance here is 2, 21.8 to 25.8 would get this point and feedback.