You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: runestone/common/project_template/_sources/overview.rst
+31-29Lines changed: 31 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,15 +282,15 @@ next line executed.
282
282
else:
283
283
print('x is even')
284
284
y = y - x
285
-
285
+
286
286
Timed Exam Questions
287
287
---------------------
288
288
289
-
You can add a timed exam of multiple-choice questions that the user can only take once. All the feedback will be shown after the time is up or after the user has clicked the "Submit Answers" button at the end of the timed exam. To start the timed exam click on the "Start" button. This will also start the countdown of the time remaining. You can pause the timer by clicking on the "Pause" button and start it again by clicking on the "Resume" button. When you pause the timed exam the questions will be hidden. There is also a clock icon that will display the time remaining when the reader hovers over it.
289
+
You can add a timed exam of multiple-choice questions that the user can only take once. All the feedback will be shown after the time is up or after the user has clicked the "Submit Answers" button at the end of the timed exam. To start the timed exam click on the "Start" button. This will also start the countdown of the time remaining. You can pause the timer by clicking on the "Pause" button and start it again by clicking on the "Resume" button. When you pause the timed exam the questions will be hidden. There is also a clock icon that will display the time remaining when the reader hovers over it.
290
290
291
291
Please note that you can currently only have one timed exam per html page.
292
292
293
-
It currently needs at least 4 directives to function: starttimer, revealquestions, timedmchoicemf, and finishtimer. You can have as many timedmchoicemf as you want. The time is specified in minutes using the :duration option in starttimer.
293
+
It currently needs at least 4 directives to function: starttimer, revealquestions, timedmchoicemf, and finishtimer. You can have as many timedmchoicemf as you want. The time is specified in minutes using the :duration option in starttimer.
294
294
295
295
.. timed:: timed1
296
296
:timelimit: 10
@@ -311,34 +311,36 @@ It currently needs at least 4 directives to function: starttimer, revealquestion
311
311
312
312
Under which of these conditions will a sequential search be faster than a binary search?
313
313
314
-
.. mchoice:: 152414d
314
+
.. mchoice:: questiontimed2
315
315
:timed:
316
+
:random:
316
317
:multiple_answers:
317
318
:correct: a, c
318
-
:answer_a: Answer a
319
-
:answer_b: Answer b
320
-
:answer_c: Answer c
321
-
:feedback_a: Feedback for a
322
-
:feedback_b: Feedback for b
323
-
:feedback_c: Feedback for c
319
+
:answer_a: Red
320
+
:answer_b: Blue
321
+
:answer_c: Brown
322
+
:answer_d: Indigo
323
+
:feedback_a: Yes, red is definitely one of the colors.
324
+
:feedback_b: Blue is correct!
325
+
:feedback_c: Remember ROY G BIV!
326
+
:feedback_d: Yes, indigo is also in the rainbow!
324
327
325
-
Here is the question...
328
+
Which of these are colors of the rainbow?
326
329
327
330
.. fillintheblank:: fill1412
328
331
:timed:
329
332
330
-
.. blank:: blank21
331
-
:correct:\\b31\\b
332
-
:feedback1: ("\\b25\\b", "Octal is not the same as decimal")
333
-
:feedback2: (".*", "You don't know your octal numbers...")
333
+
.. blank:: blank1345
334
+
:correct:\\bred\\b
335
+
:feedback1: (".*", "Try 'red'")
334
336
335
-
What is the octal of 25? Don't say 25.
337
+
Fill in the blanks to make the following sentence: "The red car drove away" The
336
338
337
-
.. blank:: blank123
338
-
:correct:12
339
-
:feedback1: (".*", "There's no 12 in that string!")
339
+
.. blank:: blank52532
340
+
:correct:\\baway\\b
341
+
:feedback1: (".*", "Try 'away'")
340
342
341
-
Please write down 12.
343
+
car drove
342
344
343
345
344
346
Unit Tests for Code
@@ -424,15 +426,15 @@ Any of the existing question types can be placed in a tabbed exhibit-style quest
0 commit comments