Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit e8ede02

Browse files
committed
updated overview.rst to have better example questions and fixed some typos that caused rendering errors
1 parent bafb1e7 commit e8ede02

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

runestone/common/project_template/_sources/overview.rst

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,15 @@ next line executed.
282282
else:
283283
print('x is even')
284284
y = y - x
285-
285+
286286
Timed Exam Questions
287287
---------------------
288288

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.
290290

291291
Please note that you can currently only have one timed exam per html page.
292292

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.
294294

295295
.. timed:: timed1
296296
:timelimit: 10
@@ -311,34 +311,36 @@ It currently needs at least 4 directives to function: starttimer, revealquestion
311311

312312
Under which of these conditions will a sequential search be faster than a binary search?
313313

314-
.. mchoice:: 152414d
314+
.. mchoice:: questiontimed2
315315
:timed:
316+
:random:
316317
:multiple_answers:
317318
: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!
324327

325-
Here is the question...
328+
Which of these are colors of the rainbow?
326329

327330
.. fillintheblank:: fill1412
328331
:timed:
329332

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'")
334336

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
336338

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'")
340342

341-
Please write down 12.
343+
car drove
342344

343345

344346
Unit Tests for Code
@@ -424,15 +426,15 @@ Any of the existing question types can be placed in a tabbed exhibit-style quest
424426
.. tabbed:: exercise1
425427

426428
.. tab:: Question 1
427-
429+
428430
Write a program that prints "Hello, world".
429-
431+
430432
.. activecode:: helloworld
431433

432434
print("Hello, world")
433435

434436
.. tab:: Discussion
435-
437+
436438
.. disqus::
437439
:shortname: interactivepython
438440
:identifier: helloworlddiscussion
@@ -559,14 +561,14 @@ Blockly
559561
variables
560562

561563
preload::
562-
<xml>
563-
<block type="variables_set" id="1" inline="true" x="25" y="9">
564-
<field name="VAR">X</field>
565-
<value name="VALUE">
564+
<xml>
565+
<block type="variables_set" id="1" inline="true" x="25" y="9">
566+
<field name="VAR">X</field>
567+
<value name="VALUE">
566568
<block type="math_number" id="2">
567569
<field name="NUM">10</field>
568-
</block>
569-
</value>
570+
</block>
571+
</value>
570572
</block>
571573
</xml>
572574

0 commit comments

Comments
 (0)