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]:= |
|
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]:= |
|
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]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License