Percent Question Generator with Feedback by Tim Brzezinski

Percent Question Generator with Feedback by Tim Brzezinski
Loading the math board and drawing, please wait…
2021-05-20 17:42
This example demonstrates a tool for generating percentage questions and provides student feedback. Core math concepts include percentage calculation. Construction highlights include using random numbers to generate questions, text fields to display questions and answers, and buttons to control question generation. Suitable for middle school and above students.

GeoGebra Commands & Parameters

  1. Random(1, 3) → rand
  2. Sequence(i, i, 1, 100, 1) → alist
  3. Random(1, 100) → arand
  4. Element(alist, arand) → a
  5. Sequence(i, i, 1, 100, 1) → blist
  6. Random(1, 100) → brand
  7. Element(blist, brand) → b
  8. Sequence(i, i, 1, 100, 1) → clist
  9. Random(1, 100) → crand
  10. Element(clist, crand) → c
  11. Max(b, c) → d
  12. Min(b, c) → e
  13. Textfield(g) → InputBox1
  14. If(rand ≟ 1, h, rand ≟ 2, i, j) → k
  15. If(g > k, "No. Too high.", "No. Too low.") → text8
  16. If(abs(g - k) < 1, "Very close! Did you round correctly?", "") → text10

AI Drawing Prompt Reference

Design a “percent question generator with feedback” interface. Use random choice from 1 to 3 to pick the question type, then randomly select two integers between 1 and 100 and designate the larger and smaller as the upper and lower reference values. Create a text input box where a student enters their answer. Based on the chosen random type, determine a target comparison value and compare it with the entered answer: if the entered value is too high, display “No. Too high.”; if too low, display “No. Too low.”; and if the absolute difference is less than 1, additionally show “Very close! Did you round correctly?” while otherwise leaving that extra message blank.
The prompt above was compiled from the original drawing commands and is for reference only.