Missing Number Exercise: Order of Operations & Arithmetic Laws

Missing Number Exercise: Order of Operations & Arithmetic Laws
Loading the math board and drawing, please wait…
2022-08-08 07:08
① This example demonstrates a “missing number” fill‑in exercise that randomly generates arithmetic expressions and asks students to supply the missing operand or result. ② Core mathematical concepts include the order of operations and the fundamental arithmetic laws: associative, commutative, and distributive properties. ③ Construction highlights: Shuffle randomizes question order; Textfield and InputBox create answer fields; Element and If control conditional display; Polygon draws hint areas; Defined checks object existence; objects such as permittedSymbols, randomNosForX/Y, validate, showanswer implement automatic grading and hints. ④ Suitable for grades 5‑6 arithmetic reinforcement, classroom interaction, or self‑practice.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[20, 98], i, 1, 100]) → randomNosForY, {27, 76, 91, 98, 54, 97, 34, 80, 81, 53, 34, 76, 88, 49, 95, 47, 37, 53, 23, 41, 20, 22, 44, 29, 87, 73, 41, 73, 81, 32, 85, 48, 24, 39, 54, 72, 97, 50, 22, 72, 65, 60, 92, 24, 74, 27, 32, 24, 41, 52, 77, 94, 54, 21, 27, 20, 24, 77, 21, 57, 50, 53, 97, 20, 24, 29, 25, 37, 68, 47, 30, 69, 84, 68, 90, 30, 54, 26, 72, 41, 90, 70, 89, 80, 35, 50, 67, 88, 54, 44, 36, 26, 91, 70, 29, 29, 46, 60, 53, 80}
  2. Shuffle(Sequence[Random[20, 98], i, 1, 100]) → randomNosForX, {67, 58, 29, 43, 94, 56, 36, 48, 83, 74, 95, 20, 69, 35, 27, 43, 86, 72, 56, 44, 70, 84, 35, 34, 40, 81, 90, 59, 80, 67, 40, 89, 96, 79, 90, 40, 46, 81, 61, 69, 97, 75, 43, 77, 80, 84, 81, 65, 53, 42, 31, 78, 38, 90, 94, 35, 85, 33, 78, 41, 26, 49, 60, 95, 45, 28, 72, 38, 58, 61, 62, 63, 87, 97, 49, 62, 97, 66, 84, 94, 47, 39, 61, 60, 38, 90, 85, 76, 20, 73, 27, 90, 79, 59, 60, 55, 81, 76, 45, 33}
  3. Textfield(aInput) → InputBox1
  4. Element(randomNosForY, Mod[questionCount, 100] + 1) → numTry
  5. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  6. If(numX ≟ numTry, numTry + 1, numTry) → numY
  7. Shuffle(Sequence[Random[1, 3], i, 1, 100]) → randomNosForPos, {2, 2, 3, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 3, 2, 2, 1, 2, 2, 2, 1, 3, 1, 3, 1, 1, 2, 1, 2, 2, 3, 2, 1, 1, 1, 2, 1, 2, 3, 2, 3, 2, 1, 2, 2, 2, 2, 3, 1, 1, 3, 1, 2, 2, 3, 2, 2, 1, 3, 1, 1, 3, 2, 3, 2, 3, 2, 1, 1, 3, 2, 3, 1, 3, 3, 1, 2, 1, 1, 1, 3, 1, 1, 2, 1, 1, 3, 3, 2, 1, 1, 2, 3, 3, 1, 2, 3}
  8. If(Mod[questionCount, 3] ≟ 1, 1, If[Mod[questionCount, 3] ≟ 2, 2, 3]) → posInputbox
  9. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  10. Shuffle(Sequence[Random[20, 98], i, 1, 100]) → randomNosForZ, {72, 25, 82, 37, 49, 80, 98, 49, 52, 42, 59, 74, 98, 44, 62, 81, 47, 89, 51, 49, 67, 79, 97, 22, 26, 86, 31, 37, 22, 36, 96, 64, 45, 65, 56, 65, 36, 20, 74, 23, 98, 80, 74, 56, 86, 78, 51, 77, 30, 78, 48, 43, 37, 80, 94, 31, 56, 42, 20, 58, 39, 28, 27, 75, 42, 60, 77, 53, 28, 56, 63, 51, 22, 63, 59, 65, 41, 52, 52, 61, 95, 83, 77, 44, 48, 50, 56, 66, 49, 93, 92, 93, 97, 93, 34, 96, 77, 62, 61, 56}
  11. Element(randomNosForZ, Mod[questionCount, 100] + 1) → numTry2
  12. If(numX ≟ numTry2 ∨ numY ≟ numTry2, numTry2 - 2, numTry2) → numZ
  13. Defined(aInput) → fixed

AI Drawing Prompt Reference

Draw a figure containing a rectangle and a text box. The rectangle is used to display the correct answer, and the text box is for input. The construction order is to draw the rectangle first, then create the text box.
The prompt above was compiled from the original drawing commands and is for reference only.