$\bold\textsf{a}$

$\bold\textsf{b}$

$\bold\textsf{c}$

$\text{Überprüfen}$

$\text{Neuer Versuch}$

$\text{Neue Aufgabe}$

\colorbox{235, 231, 248}{\textsf{Gibt es einen Anfangspunkt und\
einen Endpunkte?}}

No selection allowed for all input boxes

Selection allowed for all input boxes

\textsf{Wähle für a, b und c den richtigen Begriff aus!}

Fix position and allow selection for all text objects

Empty all input boxes

#EDEDED

\text{Text for just the correct answer.}

\underline\text{Helper scripts for template}

\underline\text{Helper scripts for authors}

$a=$

$b=$

\colorbox{235, 231, 248}{\text{This hint is for typical misconceptions of\students. It is shown after any wrong answer\that shows the typical error.}}

\bold\textsf{a}

\bold\textsf{b}

\bold\textsf{c}

answers1: {"$\textsf{Wähle aus \dots }$", "$\textsf{Strecke }$", "$\textsf{Strahl }$", "$\textsf{Gerade }$"}
types: {Random[1, 3], Random[1, 3], Random[1, 3]}
ans1: SelectedIndex[answers1] - 1
c1: ans1 ≟ types(1)
answers2: {"$\textsf{Wähle aus \dots }$", "$\textsf{Strecke }$", "$\textsf{Strahl }$", "$\textsf{Gerade }$"}
ans2: SelectedIndex[answers2] - 1
c2: ans2 ≟ types(2)
answers3: {"$\textsf{Wähle aus \dots }$", "$\textsf{Strecke }$", "$\textsf{Strahl }$", "$\textsf{Gerade }$"}
ans3: SelectedIndex[answers3] - 1
c3: ans3 ≟ types(3)
Blue = (-5.32, 4.5)
Green = (-5.28, 3.68)
Orange = (-5.2, 2.86)
Red = (-5.32, 2.04)
Purple = (-5.34, 1.12)
Gray = (-5.34, 0.32)
GrayDark = (-5.36, -0.7)
validate = false
showanswer = false
showsolution = false
attemptCount = 1
correctCount = 0
textCountCorrect: "\text{Richtig gelöste Aufgaben: " + (LaTeX[correctCount]) + " }"
showButtonNew = false
showButtonTryAgain = false
showButtonValidate = true
showhint = false
aInput: NaN
InputBox1 = Textfield(aInput)
bInput = NaN
InputBox2 = Textfield(bInput)
correct: c1 ∧ c2 ∧ c3
showcorrecttext = false
questionCount = 1
PtopLeftCornerFeedback = (2.2907305129396436, 2.045365256469821)
PbottomRightCornerFeedback = (3.9476032180526563, 1.5427830416630508)
PtopRightCornerFeedback: (x(PbottomRightCornerFeedback), y(PtopLeftCornerFeedback))
PbottomLeftCornerFeedback: (x(PtopLeftCornerFeedback), y(PbottomRightCornerFeedback))
rectangleCorrect1, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback = Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback)
showhinttypicalerror = false
isTypicalError: bInput ≟ aInput + 1
allowCountIncrement = true
A = (-2, 2)
B = (2, 2)
C = (2, -2)
D = (-2, -2)
E = (0.5, 1.5)
F = (1.5, 1.5)
G = (1.5, 0.5)
H = (0.5, 0.5)
q1, e, f, g, h = Polygon(E, F, G, H)
I = (-1.5, 1.5)
J = (-0.5, 1.5)
K = (-0.5, 0.5)
L = (-1.5, 0.5)
q2, i, j, k, l = Polygon(I, J, K, L)
M = (-1.5, -0.5)
N = (-0.5, -0.5)
O = (-0.5, -1.5)
P = (-1.5, -1.5)
q3, m, n, o, p = Polygon(M, N, O, P)
Q = (0.5, -0.5)
R = (1.5, -0.5)
S = (1.5, -1.5)
T = (0.5, -1.5)
q4, q, r, s, t = Polygon(Q, R, S, T)
Pq1 = RandomPointIn(q1)
Pq2 = RandomPointIn(q2)
Pq3 = RandomPointIn(q3)
Pq4 = RandomPointIn(q4)
q5, a, b, c, d = Polygon(A, B, C, D)
P12 = RandomElement({Pq2, Pq3, Pq4})
P22 = RandomElement({Pq3, Pq4})
els1 = Shuffle({Segment[Pq1, P12], If[Random[1, 2] ≟ 1, Ray[Pq1, P12], Ray[P12, Pq1]], Line[Pq1, P12]})
els2 = Shuffle({Segment[Pq2, P22], If[Random[1, 2] ≟ 1, Ray[Pq2, P22], Ray[P22, Pq2]], Line[Pq2, P22]})
els3 = Shuffle({Segment[Pq3, Pq4], If[Random[1, 2] ≟ 1, Ray[Pq3, Pq4], Ray[Pq4, Pq3]], Line[Pq3, Pq4]})
el12 = If(Random[1, 2] ≟ 1, Ray[Pq1, P12], Ray[P12, Pq1])
el13 = Line(Pq1, P12)
el11 = Segment(Pq1, P12)
el21 = Segment(Pq2, P22)
el22 = If(Random[1, 2] ≟ 1, Ray[Pq2, P22], Ray[P22, Pq2])
el23 = Line(Pq2, P22)
el31 = Segment(Pq3, Pq4)
el32 = If(Random[1, 2] ≟ 1, Ray[Pq3, Pq4], Ray[Pq4, Pq3])
el33 = Line(Pq3, Pq4)
rectW = Length(PtopLeftCornerFeedback - PtopRightCornerFeedback)
rectH = Length(PtopRightCornerFeedback - PbottomRightCornerFeedback)
U = (2.285724835903275, 1.0166320421276562)
rectangleCorrect2, u, f_1, g_1, h_1 = Polygon(U, U + (rectW, 0), U + (rectW, rectH), U + (0, rectH))
V = (2.285724835903276, 0.4921385042379398)
rectangleCorrect3, v, i_1, j_1, k_1 = Polygon(V, V + (rectW, 0), V + (rectW, rectH), V + (0, rectH))
answersType: {"Strecke", "Strahl", "Gerade"}
solutionText: "\text{Lösung:\\
\bold{a}: " + (LaTeX[answersType(types(1))]) + "\\
\bold{b}: " + (LaTeX[answersType(types(2))]) + "\\
\bold{c}: " + (LaTeX[answersType(types(3))]) + "}"
correctText: "\text{" + (LaTeX[If[(¬correct) ∧ (c1 ∨ c2 ∨ c3), "✘ Teilweise richtig", If[correct, "✓ Richtig", "✘ Falsch"]]]) + "}"