A quiz attempt options
Arguments
- n
The number of allowed attempts. Set to
-1orInffor unlimited. Defaults to1.- time
Time limit for each attempt in minutes. Set to
NULLfor no limit (default).- due
POSIXct. Due date and time for the quiz.
- lock
POSIXct. Lock date and time for the quiz.
- unlock
POSIXct. Unlock date and time for the quiz.
- results
A list of options controlling when quiz results are visible to students. See
opt_show()andopt_hide().- answer
A list of options controlling when correct answers are visible to students. See
opt_show(),opt_hide()andopt_shuffle().- score
Scoring policy for multiple attempts. Allowed values: "
highest" (default), "latest".- access_code
Password required to access the quiz. Set to
NULLfor no restriction (default).- ip_filter
Restrict access to computers in a specified IP range. Filters can be a comma-separated list of addresses, or address/mask. Examples:
"192.168.1.1,192.168.1.2"or"192.168.1.0/24". Set toNULLfor no restriction (default).
Value
A list of options to be passed to create_quiz().