You can use the WebAssign randnum() function in your questions to generate randomized integer values within a specified range. If needed, you can use the randomized integer values to compute decimal or fractional values.
Best Practice Assign each randomized value to a
variable. Then use the variable to perform additional computation or to
display the value in the question, answer key, or solution.
Example Numerical Question With Randomized Values
The following table summarizes an actual question.
QID 
1870653 

Name 

Mode 

Question 

Answer 

Solution 

Display to Students 