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

« back to all changes in this revision

Viewing changes to subjects/sample/ws1.xml

  • Committer: mattgiuca
  • Date: 2008-01-25 06:20:32 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:313
test/test_framework: Updated examples, a bit of better descriptions, sample
    partial solutions, etc.

Added all sample subject material.
This has been copied from test/test_framework and modified slightly.
There is now a subject "sample" with 2 worksheets. The 1st worksheet has 3
exercises. These work in IVLE by default.

setup.py: Added code to install subjects into the designated directory. This
means that installing IVLE will result in the sample subjects being
immediately available.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<worksheet name="Worksheet 1">
 
2
    <p>This is a sample worksheet, to demonstrate the authoring of worksheets
 
3
        in IVLE.</p>
 
4
    <p>You can use <b>any HTML markup</b> that you like.</p>
 
5
    <ul>
 
6
      <li>Such</li>
 
7
      <li>as</li>
 
8
      <li>lists.</li>
 
9
    </ul>
 
10
    <hr />
 
11
    <p>Welcome to your first worksheet.</p>
 
12
    <p><small>You can give students lessons in between problems.</small></p>
 
13
    <p>The Python <code>print</code> statement can be used to write text
 
14
    to the screen. Try it in this exercise.</p>
 
15
    <problem src="sample/hello.xml" />
 
16
    <p>The next problem is a bit harder. It requires you to manipulate
 
17
    several files.</p>
 
18
    <problem src="sample/all_input.xml" />
 
19
    <p>Now functions can be used to compute values.</p>
 
20
    <problem src="sample/fib.xml" />
 
21
</worksheet>