Function Repository Resource:

# LinearDescriptionPlotQuiz

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 answer automatically grades input with feedback Next problem randomly generates a new problem and internally saves the previous problem history Print report prints 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]:=
 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]:=
 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]:=
 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]:=
 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]:=
 Out[6]=

## Publisher

Wolfram|Alpha Math Team

## Version History

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

## Author Notes

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

 In[1]:=