Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a quiz to assess understanding of linear functions
| ResourceFunction["LinearFunctionQuiz"][] returns an interactive assessment on plotting linear functions based on input/output pairs. | 
| 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 | 
Generate a quiz on plotting a linear function by moving points on a graph:
| In[1]:= | ![ResourceFunction["LinearFunctionQuiz"][]](https://www.wolframcloud.com/obj/resourcesystem/images/ea8/ea8aec8e-423f-4d06-9962-7466a16b0328/2562e17a03424d9e.png)  | 
| Out[1]= |   | 
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]:= | ![ResourceFunction["LinearFunctionQuiz"][]](https://www.wolframcloud.com/obj/resourcesystem/images/ea8/ea8aec8e-423f-4d06-9962-7466a16b0328/2f613e486c68ffe3.png)  | 
| Out[2]= |   | 
If an attempt does not meet the specified criteria, it is marked as incorrect with a red x:
| In[3]:= | ![ResourceFunction["LinearFunctionQuiz"][]](https://www.wolframcloud.com/obj/resourcesystem/images/ea8/ea8aec8e-423f-4d06-9962-7466a16b0328/162ebf08c6807e10.png)  | 
| 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]:= | ![ResourceFunction["LinearFunctionQuiz"][]](https://www.wolframcloud.com/obj/resourcesystem/images/ea8/ea8aec8e-423f-4d06-9962-7466a16b0328/2c1125b6592e6abf.png)  | 
| Out[4]= |   | 
 
   This work is licensed under a Creative Commons Attribution 4.0 International License