Function Repository Resource:

LinearDescriptionPlotQuiz

Source Notebook

Generate an interactive graphical quiz on the plotting of linear functions

Contributed by: Jeremy Stratton-Smith, Wolfram|Alpha Math Team

ResourceFunction["LinearDescriptionPlotQuiz"][]

returns an interactive assessment on plotting linear functions.

Details

ResourceFunction["LinearDescriptionPlotQuiz"] will choose an arbitrary linear function, described either in terms of a functional equation y=f(x), a point and a slope or in terms of y-intercepts and zeros. The user is then tested on their ability to graph the given line by moving the locator points to make the curve match the description.
For the specified linear function f(x), a locator point should be within 0.5 of f(x) for its x value to be marked as correct.
The interface returned by ResourceFunction["LinearDescriptionPlotQuiz"] includes the following buttons:
Check answerautomatically grades input with feedback
Next problemrandomly generates a new problem and internally saves the previous problem history
Print reportprints a description of the problems that have been attempted so far, all guesses made and whether the last guess on each problem was correct
Styling and interface controls may be found under the "Display options" opener.

Examples

Basic Examples (1) 

Generate a quiz on plotting a linear function by moving points on a graph:

In[1]:=
ResourceFunction["LinearDescriptionPlotQuiz"][]
Out[1]=

Scope (4) 

Clicking Check answer marks attempts as correct based on whether or not the conditions of the description are met:

In[2]:=
ResourceFunction["LinearDescriptionPlotQuiz"][]
Out[2]=

If an attempt does not approximately meet the specified criteria, clicking Check answer marks the attempt as incorrect with a red x:

In[3]:=
ResourceFunction["LinearDescriptionPlotQuiz"][]
Out[3]=

For some problems, it may help to turn "Snap to grid" on under the "Display options" menu to more easily get integer-value points:

In[4]:=
ResourceFunction["LinearDescriptionPlotQuiz"][]
Out[4]=

Clicking the Print report button returns a description of the problems that have been attempted so far, all guesses made and whether the last guess on each problem was correct:

In[5]:=
ResourceFunction["LinearDescriptionPlotQuiz"][]
Out[6]=

Publisher

Wolfram|Alpha Math Team

Version History

  • 2.0.0 – 23 March 2023
  • 1.0.0 – 23 March 2021

Related Resources

Author Notes

To view the full source code for LinearDescriptionPlotQuiz, evaluate the following:

In[1]:=
SystemOpen[
 FileNameJoin[{DirectoryName[FindFile["ResourceFunctionHelpers`"]], "DescriptionPlotQuiz.wl"}]]

License Information