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
+35-6Lines changed: 35 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,17 +286,17 @@ next line executed.
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/fill-in-the-blank 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
+
All you need is the timed directive--you can specify the time limit (in minutes), and there are options for no feedback, no results, and no time limit (in which case it will keep track of the amount of time taken to complete the exam).
294
+
A timed exam can hold any number of multiple choice or fill in the blank questions.
294
295
295
296
.. timed:: timed1
296
297
:timelimit: 10
297
298
298
299
.. mchoice:: questiontimed1_1
299
-
:timed:
300
300
:answer_a: The value you are searching for is the first element in the array.
301
301
:answer_b: The value you are searching for is the last element in the array
302
302
:answer_c: The value you are searching for is in the middle of the array.
@@ -312,7 +312,6 @@ It currently needs at least 4 directives to function: starttimer, revealquestion
312
312
Under which of these conditions will a sequential search be faster than a binary search?
313
313
314
314
.. mchoice:: questiontimed2
315
-
:timed:
316
315
:random:
317
316
:multiple_answers:
318
317
:correct: a,b,d
@@ -328,7 +327,6 @@ It currently needs at least 4 directives to function: starttimer, revealquestion
328
327
Which of these are colors of the rainbow?
329
328
330
329
.. fillintheblank:: fill1412
331
-
:timed:
332
330
333
331
.. blank:: blank1345
334
332
:correct:\\bred\\b
@@ -406,6 +404,37 @@ Fix the following code so that it always correctly adds two numbers.
406
404
myTests().main()
407
405
408
406
407
+
Drag N Drop
408
+
------------------
409
+
410
+
You can add a Drag n drop matching question to your page simply by defining the pairs of matchable elements within a dragndrop directive.
411
+
The order of draggable elements and their respective dropzones will be randomized so the pairs aren't always side-by-side.
412
+
413
+
.. dragndrop:: dnd1
414
+
:feedback: This is feedback.
415
+
:match_1: Drag me to 1|||I am 1
416
+
:match_2: Drag me to 2|||I am 2
417
+
:match_3: Drag me to 3|||I am 3
418
+
419
+
This is a drag n drop question.
420
+
421
+
Clickable Area
422
+
------------------
423
+
424
+
Clickable area is another type of assess question you can use. All you need to do is write the code you wish to be in the question, and wrap the parts that you
425
+
would like to be clickable in either a click-correct tag or a click-incorrect tag. The students can click on all elements you defined as being clickable, and
426
+
will be evaluated once they click the 'Check Me' button.
427
+
428
+
.. clickablearea:: click1
429
+
:question: Click on all assignment statements.
430
+
:feedback: Remember, the operator '=' is used for assignment.
431
+
432
+
:click-incorrect:def main()::endclick:
433
+
:click-correct:x = 4:endclick:
434
+
for i in range(5):
435
+
:click-correct:y = i:endclick:
436
+
:click-incorrect:if y > 2::endclick:
437
+
print(y)
409
438
410
439
411
440
Disqus Comment Box
@@ -421,7 +450,7 @@ A comment box allowing users to add comments and start discussions can be added.
421
450
Tabbed Question
422
451
---------------
423
452
424
-
Any of the existing question types can be placed in a tabbed exhibit-style question. This may be used to provide an possible answer or a Disqus discussion box specifically related to a certain question.
453
+
Any of the existing components can be placed in a tabbed exhibit-style question. This may be used to provide an possible answer or a Disqus discussion box specifically related to a certain question.
0 commit comments