Subtracting Hours and Minutes Practice with Validation
Loading the math board and drawing, please wait…
In collections
Euclidean Geometry
This example demonstrates how to practice subtraction of time expressed in hours and minutes, using hints and a step-by-step solution to check whether a learner’s input is correct. The key math ideas are decomposing time into hours/minutes, applying the borrow rule when minutes are insufficient, and mapping the computed result to a correctness validation workflow. Construction and interaction rely on GeoGebra commands such as Shuffle for generating cases, If for conditional logic, Textfield for user inputs, and Element to reference objects. Visual structure is supported with Polygon and Segment, while onboarding and control elements (e.g., showhint, showsolution, and btnValidate) manage guided practice and answer verification. Suitable for middle school learners and anyone needing interactive time arithmetic practice with immediate feedback.
GeoGebra Commands & Parameters
Shuffle({1, 2, 3, 4, 5, 6, 7}) → allCaseNum, {7, 2, 6, 1, 5, 3, 4}Element(allCaseNum, Mod[countQuestion, Length[allCaseNum]] + 1) → caseNumShuffle(Sequence[n, n, 0, 22]) → allStartHr, {1, 20, 14, 0, 3, 15, 5, 6, 13, 8, 16, 11, 22, 2, 21, 18, 4, 12, 10, 9, 19, 7, 17}Element(allStartHr, Mod[countQuestion, Length[allStartHr]] + 1) → startHrShuffle(Sequence[n, n, 0, 59]) → allStartMin, {4, 18, 13, 52, 0, 32, 16, 54, 14, 30, 47, 15, 50, 53, 40, 35, 58, 21, 22, 41, 27, 7, 37, 20, 6, 3, 51, 31, 23, 34, 17, 49, 11, 44, 12, 38, 5, 42, 36, 10, 2, 25, 39, 57, 24, 1, 29, 56, 9, 8, 45, 59, 26, 43, 46, 19, 28, 33, 55, 48}Element(allStartMin, Mod[countQuestion, Length[allStartMin]] + 1) → startMinShuffle(Sequence[n, n, startHr + 1, 23]) → allEndHr, {11, 22, 21, 13, 6, 10, 16, 9, 2, 4, 15, 23, 18, 3, 19, 12, 14, 17, 5, 8, 7, 20}Element(allEndHr, Mod[countQuestion, Length[allEndHr]] + 1) → endHrShuffle(Sequence[n, n, 0, 59]) → allEndMin, {25, 59, 8, 19, 16, 4, 15, 51, 26, 48, 47, 44, 56, 13, 28, 12, 17, 41, 21, 22, 33, 54, 43, 5, 58, 36, 52, 42, 34, 10, 32, 45, 11, 29, 39, 35, 49, 40, 27, 7, 55, 6, 0, 14, 30, 46, 3, 20, 18, 9, 37, 1, 57, 53, 31, 23, 38, 2, 50, 24}Element(allEndMin, Mod[countQuestion, Length[allEndMin]] + 1) → endMinIf(endMin ≥ startMin, endHr - startHr, endHr - startHr - 1) → ansHrIf(endMin - startMin < 0, true, false) → borrowIf(endMin > startMin, endMin - startMin, Mod[60 - startMin + endMin, 60]) → ansMinTextfield(inputB) → InputBoxBCorner(5) → layoutAppSizeonboardingTextOffset(Corner[onboardingText, 1], Corner[onboardingText, 3], onboardingCase, Corner[1], Corner[3], Corner[5]) → OnboardingTextOffsetTextfield(inputA) → InputBoxATextfield(inputC) → InputBoxCPolygon(P1, Mirror[P1, yAxis], Mirror[P1, (0, 0)], Mirror[P1, xAxis]) → peep, p1, f, g, hSegment((-10.8, 0), (10.8, 0)) → fakeXSegment((0, -10.8), (0, 10.8)) → fakeYShuffle({"MathTown", "GeoCity", "AlgeTown", "CalcCity", "TrigoTown", "PhysicsTown"}) → allStartCity, {"AlgeTown", "CalcCity", "GeoCity", "PhysicsTown", "MathTown", "TrigoTown"}Shuffle({"MagicCity", "CyberCity", "LogicTown", "TopoloCity"}) → allEndCity, {"CyberCity", "LogicTown", "TopoloCity", "MagicCity"}Element(allStartCity, Mod[countQuestion, Length[allStartCity]] + 1) → startCityElement(allEndCity, Mod[countQuestion, Length[allEndCity]] + 1) → endCity
AI Drawing Prompt Reference
Create a coordinate-plane exercise background for practicing subtracting hours and minutes. Draw a central polygonal decoration shape, then generate its symmetric counterparts by reflecting it across the horizontal axis, the vertical axis, and the origin to form a four-way symmetric outline. Add two perpendicular reference line segments crossing the origin (one horizontal, one vertical). Place the necessary text and input areas so the exercise layout sits around the central symmetric geometry, including styled title/option elements using city-name text.
The prompt above was compiled from the original drawing commands and is for reference only.