Linear Functions Quiz: Slope, Intercepts, and Graph Recognition

Linear Functions Quiz: Slope, Intercepts, and Graph Recognition
Loading the math board and drawing, please wait…
2020-03-23 13:40
① This interactive GeoGebra example presents a classroom quiz on linear functions, generating random questions with immediate feedback to help students master the relationship between linear equations and their graphs. ② Core math concepts include the general form y=mx+b, slope, y-intercept, x-intercept, and matching equations to graphs. ③ Construction highlights: uses RandomElement and Random to generate random coefficients and questions, If, Max, Min for conditional logic and range control, Textfield for student input, Slope to compute slope, Corner to position screen elements; objects like mlist1st and mlist2nd store slope lists, m1 and m2 are random slopes, studx and studm capture student responses, question and q7ans manage items and answers, ff is the function graph, YMAX1/YMIN1 etc. set axis ranges, screen and screen1txt1 handle the interface. ④ Suitable for middle and high school students learning linear functions, useful for teacher-led quizzes or self-paced practice, with randomized questions and instant checking to reinforce understanding.

GeoGebra Commands & Parameters

  1. RandomElement(mlist2nd) → m2
  2. Random(-20, 30) → bB
  3. RandomElement(mlist1st) → m1
  4. If(1 ≤ question ≤ 4, m1, m2) → mM
  5. Max(ff, -6, 13) → YMAX1
  6. Min(ff, -6, 13) → YMIN1
  7. Max({y(YMAX1), y(YMAX2)}) → yMxVS
  8. Min({y(YMIN1), y(YMIN2)}) → yMnVS
  9. If(question ≟ 1 ∨ question ≟ 5, 1, If[question ≟ 2 ∨ question ≟ 6, 2, If[question ≟ 3 ∨ question ≟ 7, 3, If[question ≟ 4 ∨ question ≟ 8, 4]]]) → qQ
  10. Random(2, 8) → xran
  11. Random(-4, 2) → xone
  12. If(question ≟ 1 ∨ question ≟ 5, qtequation, If[question ≟ 2 ∨ question ≟ 6, qtslope, If[question ≟ 3 ∨ question ≟ 7, qtxint, qtyint]]) → qword
  13. If(y(YMAX1) > (2 * abs(mM)), y(YMAX1) + (0.1 * vertscale), y(YMAX2) + (0.1 * vertscale)) → ymax
  14. If(y(YMIN1) < (-2 * abs(mM)), y(YMIN1) - (0.4 * vertscale), y(YMIN2) - (0.4 * vertscale)) → ymin
  15. Textfield(studm) → InputBox1
  16. Textfield(stud) → InputBox2
  17. Textfield(study) → InputBox4
  18. Textfield(studx) → InputBox3
  19. Slope(ff) → b
  20. Corner(5) → dims