Skip to content

Commit f308a2d

Browse files
committed
Add Barb videos and exercise examples
1 parent 7870103 commit f308a2d

File tree

3 files changed

+191
-14
lines changed

3 files changed

+191
-14
lines changed

pretext/Assignments/assembleAssignment.ptx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
<title>Create an Assignment</title>
44
<subsection xml:id="create_assignment_intro">
55
<title>Introduction</title>
6-
replace:
7-
<video xml:id="h45c7_wIgGA" youtube="h45c7_wIgGA" width="auto" />
6+
7+
<video xml:id="assignment-builder-video" youtube="_1C6pKu4Hxk" width="auto"/>
8+
9+
<!-- old video <video xml:id="h45c7_wIgGA" youtube="h45c7_wIgGA" width="auto" /> -->
810
<p>
911

1012
<ol marker="1">
@@ -56,6 +58,10 @@
5658
</li>
5759
</ol>
5860
</p>
61+
62+
<p>
63+
This <url href="https://drive.google.com/file/d/1f4xvZJyKOh4IE7O6iWbC4M-fg3V1zmZN/view?usp=sharing">Scribe document</url> illustrates how to create, edit and grade assignments in Runestone step by step with screenshots.
64+
</p>
5965
</subsection>
6066

6167
<subsection xml:id="instructor-interface_creating-a-reading-assignment">
@@ -141,7 +147,7 @@
141147
button to let us know. We have volunteer editors that help us clear out or correct these bad
142148
questions. </p>
143149

144-
<p>You can also Search Exercises by name or keyword or author if you are looking for something specific. Click on <em>Add Exarcises</em> button and then select <em>Search Exercises</em> instead of Browse Chapter Exercises. Type in a search word and enter in the search box. You can filter by type. The default is to search for exercises associated with the ebook that you are in, but you can toggle "Book Exercises" to "All Exercises" to search for exercises in other books. You can then click to select or preview exercises from the results and then click on the orange Choose Exercises button to add them to the assignment. You can also Copy Exercises to change them.</p>
150+
<p>You can also Search Exercises by name or keyword or author if you are looking for something specific. Click on <em>Add Exercises</em> button and then select <em>Search Exercises</em> instead of Browse Chapter Exercises. Type in a search word and enter in the search box. You can filter by type. The default is to search for exercises associated with the ebook that you are in, but you can toggle "Book Exercises" to "All Exercises" to search for exercises in other books. You can then click to select or preview exercises from the results and then click on the orange Choose Exercises button to add them to the assignment. You can also Copy Exercises to change them.</p>
145151
<figure align="center" xml:id="search_exercises_fig">
146152
<caption>Search Exercises</caption>
147153
<image source="Figures/AssignmentExercisesSearch.png" width="100%"
@@ -151,7 +157,7 @@
151157
<p>When you are done adding exercises, click on the back arrow by the assignment name or on the Assignment Builder button at the top to return to the main assignment list page. By default, the new assignment will not be visible to students. </p>
152158
<warning>
153159
<title>Make it Visible</title>
154-
<p>Please take note of the visible to students toggle. If you forget to toggle this to visible then the assignment will not show up in the list that your students can see on the assignment page.</p>
160+
<p>Please make sure that you slide the visibility toggle of an assignment in the assignments list to visible when you want your students to see it. If you forget to toggle this to visible, then the assignment will not show up in the list that your students can see on the assignment page.</p>
155161
</warning>
156162
</subsection>
157163

pretext/Assignments/examsAndQuizzes.ptx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<?xml version="1.0"?>
22
<section xml:id="instructor-interface_exams-and-quizzes-in-runestone">
33
<title>Exams and Quizzes in Runestone</title>
4+
45
<subsection xml:id="create_quiz_intro">
56
<title>Creating a Quiz/Exam Assignment</title>
7+
8+
<video xml:id="create-exams-video" youtube="eu6Q6GALKBE" width="auto" />
69

710
<p>In the new Assignment Builder in the Instructor Dashboard, you can choose to make a new assignment a Quiz/Exam like below where you can select whether there is a time limit and whether pauses and feedback are allowed.</p>
811
<figure align="center" xml:id="create_exam_fig">

pretext/WritingExercises/theExerciseBank.ptx

Lines changed: 178 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<subsection xml:id="writing_exer_intro">
55
<title>Create New Exercises</title>
66

7-
Replace: <video xml:id="l84cb4wtM8g" youtube="l84cb4wtM8g" width="auto" />
7+
<video xml:id="create-new-exercises-video" youtube="IPvW9oKg1eA" width="auto" />
88

99
<p>The new Assignment Builder makes it easy to write your own exercises! Although all of the Runestone books have a pretty good selection of exercises, you can never have too many exercises. We hope to crowd source an enormous collection of questions and problems in our Exercise database. You can help by adding custom exercises for your own course to the database! Once your exercise is in the database, it is available for others to find using the search feature on the create assignment page. Community contributed exercises are shown with a person icon instead of a book icon under the source column.</p>
1010

@@ -23,7 +23,7 @@
2323
<p>Here are some examples of these different types of exercises. In the next pages, we will go through the steps to create some of these exercises.</p>
2424

2525
<p>Here is an example Multiple Choice Exercise:</p>
26-
<exercise label="java_mcq_1">
26+
<exercise label="java_mcq_1" xml:id="java_mcq_1">
2727
<statement>
2828
<p>What does the following code print?</p>
2929
<program language="java">
@@ -89,7 +89,8 @@ System.out.println(2 + 3 * 5 - 1);
8989
</exercise>
9090

9191
<p>Parsons (Mixed up Code) Problem:</p>
92-
<exercise label="mixed-hi-paired" numbered="yes" adaptive="yes" indentation="hide" language="java">
92+
93+
<exercise label="mixed-hi-paired" xml:id="mixed-hi-paired" numbered="yes" adaptive="yes" indentation="hide" language="java">
9394
<statement>
9495
<p>
9596
The following has all the correct Java code to print out “Hi there!” when
@@ -143,16 +144,183 @@ System.out.println(2 + 3 * 5 - 1);
143144
</blocks>
144145
</exercise>
145146

146-
<p>Active Code Exercise</p>
147-
<p>Matching:</p>
147+
148+
<p>Here is an example of a simple Active Code exercise in Python:</p>
149+
<exercise label="active_code_example">
150+
<statement>
151+
<p>Write a Python function that takes two numbers as input and returns their sum.</p>
152+
</statement>
153+
<program interactive="activecode" language="python">
154+
<code>
155+
def add(a, b):
156+
# complete this function to add a and b and return the sum
157+
</code>
158+
<tests>
159+
from unittest.gui import TestCaseGui
160+
161+
class myTests(TestCaseGui):
162+
163+
def testOne(self):
164+
self.assertEqual(add(2,2),4,"Call to add(2,2) should return 4")
165+
self.assertAlmostEqual(add(2.0,3.0), 5.0, 1, "Call to add(2.0,3.0) should return 5.0")
166+
167+
myTests().main()
168+
</tests>
169+
</program>
170+
</exercise>
171+
172+
<p>Here is an example of a Drag and Drop matching questions. You can also have Matching questions where
173+
you draw lines to match many to many objects. </p>
174+
<exercise label="java_matching">
175+
<statement>
176+
<p>
177+
Drag the definition from the left and drop it on the correct concept
178+
on the right. Click the "Check Me" button to see if you are correct.
179+
</p>
180+
</statement>
181+
182+
<feedback>
183+
<p>Review the summaries above.</p>
184+
</feedback>
185+
186+
<cardsort>
187+
<match>
188+
<premise order="1">a specific instance of a class with defined attributes</premise>
189+
<response>object</response>
190+
</match>
191+
192+
<match>
193+
<premise order="2">defines a new data type with instance variables and methods</premise>
194+
<response>class</response>
195+
</match>
196+
197+
<match>
198+
<premise order="3">define the behaviors or functions for objects</premise>
199+
<response>methods</response>
200+
</match>
201+
202+
<match>
203+
<premise order="4">
204+
code that is used to create new objects and initialize the object's attributes
205+
</premise>
206+
207+
<response>constructors</response>
208+
</match>
209+
210+
<match>
211+
<premise order="5">the values or data passed to an object's method</premise>
212+
<response>parameters</response>
213+
</match>
214+
</cardsort>
215+
</exercise>
216+
217+
<p>Clickable Area:</p>
218+
<exercise label="date_constructor">
219+
<statement>
220+
<p>Click on the constructor headers (signatures)</p>
221+
</statement>
222+
223+
<feedback>
224+
<p>
225+
Constructors are public and have the same name as the class. Click on
226+
the constructor headers which are the first line of the constructors
227+
showing their name and parameters.
228+
</p>
229+
</feedback>
230+
231+
<areas>
232+
<cline><area correct="no">public class Date {</area></cline>
233+
<cline></cline>
234+
<cline> <area correct="no">private int year;</area></cline>
235+
<cline> <area correct="no">private int month;</area></cline>
236+
<cline> <area correct="no">private int day;</area></cline>
237+
<cline></cline>
238+
<cline> <area correct="yes">public Date() </area></cline>
239+
<cline> <area correct="no">{ /** Implementation not shown */ }</area></cline>
240+
<cline></cline>
241+
<cline> <area correct="yes">public Date(int year, int month, int day) </area></cline>
242+
<cline> <area correct="no">{ /** Implementation not shown */ }</area></cline>
243+
<cline></cline>
244+
<cline> <area correct="no">public void print() </area></cline>
245+
<cline> <area correct="no">{ /** Implementation not shown */ }</area></cline>
246+
<cline></cline>
247+
<cline><area correct="no">}</area></cline>
248+
</areas>
249+
</exercise>
250+
251+
252+
253+
254+
255+
<p>Fill in the Blank:</p>
256+
<exercise label="fillDecVar2">
257+
<statement>
258+
<p>What Java data type should you use for a shoe size like 8.5?</p>
259+
<p>
260+
<fillin answer="double" mode="string" />
261+
</p>
262+
</statement>
263+
264+
<evaluation>
265+
<evaluate>
266+
<test>
267+
<strcmp use-answer="yes" />
268+
<feedback>
269+
Correct. Any variable that needs to values after the decimal point should be declared as a double.
270+
</feedback>
271+
</test>
272+
273+
<test>
274+
<!-- else -->
275+
<feedback>What type allows for a decimal value?</feedback>
276+
</test>
277+
</evaluate>
278+
</evaluation>
279+
</exercise>
148280
<p>Short Answer</p>
149-
<p>Clickable Area</p>
150-
<p>Drag and Drop:</p>
151-
<p>Fill in the Blank</p>
152-
<p>Matching</p>
281+
<exercise label="pbj">
282+
<statement>
283+
<p>
284+
Write an algorithm for someone (maybe a robot) to make a peanut butter and jelly sandwich.
285+
Be sure to include at least 5 precise steps in order.
286+
Have someone (maybe your instructor) act it out. Were your instructions precise enough?
287+
</p>
288+
</statement>
289+
290+
<response />
291+
</exercise>
292+
293+
153294
<p>Poll</p>
154-
<p>Select Question</p>
155295

296+
<query label="qprogramming">
297+
<statement>
298+
<p>I am a</p>
299+
</statement>
300+
301+
<choices>
302+
<choice>
303+
<p>beginner programmer</p>
304+
</choice>
305+
306+
<choice>
307+
<p>intermediate programmer</p>
308+
</choice>
309+
310+
<choice>
311+
<p>expert programmer</p>
312+
</choice>
313+
314+
<choice>
315+
<p>prefer not to answer</p>
316+
</choice>
317+
</choices>
318+
</query>
319+
320+
<p>Select Questions allow the students to choose between already existing questions:</p>
321+
<exercise label="toggle1">
322+
<select grade="first" questions="mixed-hi-paired java_mcq_1"/>
323+
</exercise>
156324

157325
</subsection>
158326
</section>

0 commit comments

Comments
 (0)