Arithmetic Quiz Generator with Virtual Number Pad

Arithmetic Quiz Generator with Virtual Number Pad
Loading the math board and drawing, please wait…
2020-12-31 10:52
This GeoGebra applet is an interactive arithmetic practice tool that automatically generates and evaluates addition, subtraction, multiplication, and division problems. It features a built-in virtual number pad and input boxes, making it highly suitable for students using touchscreen devices. Utilizing conditional statements and list processing commands, it dynamically creates questions and verifies answers in real time. The applet supports four basic operations, allowing teachers and students to practice any combination of arithmetic skills. After each answer is submitted, the tool provides immediate feedback so learners can self-assess their performance and correct mistakes on the spot. The virtual number pad eliminates the need for a physical keyboard and ensures a smooth答题 experience on tablets and smartphones. This design makes the applet ideal for classroom warm-ups, homework assignments, and independent drill sessions. Teachers can also adapt the tool for timed quizzes or adaptive practice depending on student ability levels. Overall, it serves as a versatile resource for reinforcing foundational arithmetic fluency in an engaging, technology-driven format.

GeoGebra Commands & Parameters

  1. LaTeX(If[s ≟ 1, "加", s ≟ 2, "减", s ≟ 3, "乘", "等"] + "号\textcolor{red}{前面}的数的范围:") → text7
  2. LaTeX(If[s ≟ 1, "加", s ≟ 2, "减", s ≟ 3, "乘", "等"] + "号\textcolor{red}{后面}的数的范围:") → text8
  3. Textfield(a1) → InputBox1
  4. Textfield(a2) → InputBox2
  5. Textfield(b1) → InputBox3
  6. Textfield(b2) → InputBox4
  7. Textfield(n1) → InputBox5
  8. If(Y, Flatten[Sequence[KeepIf[b1 ≤ Div[k, k'] ≤ b2 ∧ Mod[k, k'] ≠ 0, k, Sequence[(a1 * b1), (a2 * b2)]], k', a1, a2]], Flatten[Sequence[Sequence[(u * v), u, a1, a2], v, b1, b2]]) → d1
  9. If(s ≟ 4, RandomElement[d1], Random[a1, a2]) → a
  10. KeepIf(If[Y, Mod[a, k] ≠ 0, Mod[a, k] ≟ 0] ∧ b1 ≤ Div[a, k] ≤ b2, k, Sequence[a1, a2]) → d2
  11. If(s ≟ 4, RandomElement[d2], Random[b1, If[big, a, b2]]) → b
  12. LaTeX(a + If[s ≟ 1, "+", s ≟ 2, "-", s ≟ 3, "×", "÷"] + (If[b < 0, "(" + b + ")", "" + b + ""]) + "=") → text9
  13. Textfield(c) → InputBox6
  14. Textfield(c1) → InputBox7
  15. If(Y ∧ c ≟ T ∧ c1 ≟ T1, "回答正确!", (¬Y) ∧ c ≟ T, "回答正确!", Y ∧ (c ≠ T ∨ c1 ≠ T1), "正确答案:" + T + "……" + T1, (¬Y) ∧ c ≠ T, "正确答案:" + T) → text10
  16. LaTeX("共\textcolor{red}{" + n + "}道题,答错\textcolor{red}{" + m + "}道,正确率:\ \textcolor{red}{" + (((n - m) / n * 100)) + "%}") → text11
  17. LaTeX("已完成" + n1 + "道题,正确率:\ \textcolor{red}{" + (((n - 1 - m) / (n - 1) * 100)) + "%}") → text12
  18. Flatten(Sequence[Sequence[Polygon[A_{1} + (CLIPBOARDmagicSTRINGp, CLIPBOARDmagicSTRINGq), A_{1} + (CLIPBOARDmagicSTRINGp, CLIPBOARDmagicSTRINGq) + (1, 0), 4], CLIPBOARDmagicSTRINGp, 0, 3.6, 1.2], CLIPBOARDmagicSTRINGq, 0, 3.6, 1.2]) → l1_{1}
  19. Element(l1_{1}, A1_{1}) → B1_{1}
  20. Element(l1_{1}, A2_{1}) → B2_{1}
  21. Element(l1_{1}, A3_{1}) → B3_{1}
  22. Element(l1_{1}, A4_{1}) → B4_{1}
  23. Element(l1_{1}, A5_{1}) → B5_{1}
  24. Element(l1_{1}, A6_{1}) → B6_{1}
  25. Element(l1_{1}, A7_{1}) → B7_{1}
  26. Element(l1_{1}, A8_{1}) → B8_{1}
  27. Element(l1_{1}, A9_{1}) → B9_{1}
  28. Element(l1_{1}, A10_{1}) → B10_{1}
  29. Element(l1_{1}, A11_{1}) → B11_{1}
  30. Element(l1_{1}, A12_{1}) → B12_{1}
  31. Element(l1_{1}, A13_{1}) → B13_{1}
  32. Element(l1_{1}, A14_{1}) → B14_{1}
  33. Element(l1_{1}, A15_{1}) → B15_{1}
  34. Element(l1_{1}, A16_{1}) → B16_{1}
  35. Zip(Text[CLIPBOARDmagicSTRINGp, (-0.38, -0.16) + Centroid[CLIPBOARDmagicSTRINGq]], CLIPBOARDmagicSTRINGp, {"确定", "清空", "删减", " _¯"}, CLIPBOARDmagicSTRINGq, {B4_{1}, B8_{1}, B12_{1}, B16_{1}}) → l4_{1}
  36. Zip(Text[CLIPBOARDmagicSTRINGp, (-0.15, -0.22) + Centroid[CLIPBOARDmagicSTRINGq]], CLIPBOARDmagicSTRINGp, 0…9, CLIPBOARDmagicSTRINGq, {B1_{1}, B5_{1}, B6_{1}, B7_{1}, B9_{1}, B10_{1}, B11_{1}, B13_{1}, B14_{1}, B15_{1}}) → l2_{1}
  37. Zip(Text[CLIPBOARDmagicSTRINGp, (-0.28, -0.22) + Centroid[CLIPBOARDmagicSTRINGq]], CLIPBOARDmagicSTRINGp, {"00", "•"}, CLIPBOARDmagicSTRINGq, {B2_{1}, B3_{1}}) → l3_{1}

AI Drawing Prompt Reference

Draw an interactive arithmetic practice interface with a randomly generated arithmetic problem in the center, such as addition, subtraction, multiplication, or division, consisting of two numbers and an operator. The number ranges can be set via four input boxes. Below the problem, place a virtual number pad with digits 0-9, confirm, clear, delete, decimal point, and double-zero keys arranged in a grid. Above the pad, include an answer input box, and after submission show feedback indicating correct or wrong, along with statistics for total questions, wrong count, and accuracy. At the top, include operation type selection and question count settings. The layout should be clean and touch-friendly.
The prompt above was compiled from the original drawing commands and is for reference only.