Function Repository Resource:

LinearFunctionQuiz

Generate a quiz to assess understanding of linear functions

Contributed by: Jordan Hasler, Wolfram|Alpha Math Team
 ResourceFunction["LinearFunctionQuiz"][] returns an interactive assessment on plotting linear functions based on input/output pairs.

Details and Options

ResourceFunction["LinearFunctionQuiz"] picks a linear function used to transform user inputs to outputs, which are then recorded in a table. The user is then required to plot the corresponding points by moving the locators. After five points have been adjusted, the user selects the corresponding linear function from the drop-down menu.
The interface returned by ResourceFunction["LinearFunctionQuiz"] includes the following buttons:
 Check answer automatically grades input with feedback Reset problem resets the problem by clearing the accumulated data table and moving locators back to their starting positions 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 (3)

When Check answer is clicked, attempts are marked as correct based on whether or not the chosen points lie along the line in question. Correct answers receive a green check mark:

 In[2]:=
 Out[2]=

If an attempt does not meet the specified criteria, it is marked as incorrect with a red x:

 In[3]:=
 Out[3]=

Clicking the Print report button returns a description of the problem, all guesses made and if the most recent was correct:

 In[4]:=
 Out[4]=

Publisher

Wolfram|Alpha Math Team

Version History

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

Author Notes

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

 In[1]:=