~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/man/sample.rst

  • Committer: Matt Giuca
  • Date: 2010-02-11 03:17:12 UTC
  • Revision ID: matt.giuca@gmail.com-20100211031712-79c74lgh3mj7507s
docs: Tour of IVLE: Added lecturer tour (complete).

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
Exercises
172
172
---------
173
173
 
174
 
There are two sample exercises, ``hello``, which prompts the user to write
175
 
a simple Hello world program, and ``factorial``, which prompts the user to
 
174
There is currently a single exercise, ``factorial``, which prompts the user to
176
175
write a factorial function and tests its correctness.
177
176
 
178
 
Both exercises have realistic test suites, taking advantage of most of the
179
 
features of the IVLE exercise testing framework. For example, ``hello`` uses a
180
 
regular expression to test whether the user has got it almost right, and gives
181
 
them encouraging feedback.
182
 
 
183
177
Worksheets
184
178
----------
185
179
 
186
180
There is currently a single worksheet in the subject ivle-102 (2009 semester
187
 
2). It embeds the exercises ``hello`` and ``factorial``.
 
181
2). It embeds the exercise ``factorial``.
188
182
 
189
183
Updating the sample data
190
184
========================
199
193
Then check the diff. You may hand-edit the SQL file, but only for the purpose
200
194
of fixing up unsightly data -- it should be possible to reload from the script
201
195
and re-export with no diff.
202
 
 
203
 
If the contents of the Subversion repositories have changed, run this
204
 
command::
205
 
 
206
 
    svnadmin dump /var/lib/ivle/svn/repositories/<repo> > examples/userrepos/<dumpfile>