Example Text Subset

Last modified by Anna Paul-Hasenfuss on 19.08.2024

This page helps you to create a question of the type text entry interaction where learner answers are checked with a shared solution set. Here is an example in which two cities have to be named - one city name should be entered in each gap. The correct order of the answers shall be ignored, but it shall be ensured that the full score is not awarded if the same answer is entered in both gaps.

Player - Beispiel Kreisfreie Städte Sachsens_de.png

Examples

Player - Lösungsbeispiele Kreisfreie Städte Sachsens_de.png

To create this example, proceed as follows:

 

1. Create a new question

Create a new question of the type text entry interaction. Entitle your question and enter your instructions in the field below. Add the required number of gaps.

Editor  - Aufgabenstellung Kreisfreie Städte Sachsens_de.png

2. Edit gap

Adjust the individual gaps as follows:

  • change the type of gap in the formula
  • clear the solution field
  • switch to expert mode

Editor - Lücke für Beispiel bearbeiten_de.png

3. Customise the rating in expert mode

Adjust the content in the Rating(MAXIMA) field as follows:

For the first gap:

is(elementp(sdowncase("LEARNERRESPONSE"), {"leipzig", "dresden", "chemnitz"}));

Add the solution set to your list. The specification "sdowncase" removes capital letters, "elementp" checks whether the answer belongs to the solution set.

For the second gap:

is(elementp(sdowncase("LEARNERRESPONSE"), {"leipzig", "dresden", "chemnitz"}) and not(equal(sdowncase("LEARNERRESPONSE_GAP_1"), sdowncase("LEARNERRESPONSE"))));

In this case, the system also checks whether the second answer differs from the first.

Editor - Eingabe im Expertenmodus erste Lücke_de.png Editor - Eingabe im Expertenmodus zweite Lücke_de.png

4. Save

Save your question and check its functionality in the preview.