From Progzoo
Revision as of 12:16, 4 December 2007 by Andr3w (Talk | contribs)

Jump to: navigation, search

The progzoo Wiki permits normal wiki text but it also allows interactive components. See for help on "normal" Wiki text.

The progzoo XML Elements

To support progzoo's unique capabilities the interactive components are described in <question> tags. Each such tag will be translated into a textbox with the submit button.

<question className="Demo">
This program includes a simple <code>for</code> loop.
it prints the numbers from 0 to 9
<p class='imper'>Print out numbers 0 to 4</p>.
<prog lang='java'>
static void doIt(){
  for (int i=0;i&lt;10;i++)
<answer lang='java'>
static void doIt(){
  for (int i=0;i&lt;5;i++)


is required for Java and C#. This should match the class name in the program.
question text
The question text may include html markup. Currently wiki markup is not processed properly (this is a bug that will be fixed).
this tag contains the program fragment that appears in the text box by default. Students edit this text to produce the answer. Most questions include a program fragment that is "nearly" right. Notice that the < characters is written &lt;, we need to do this because the question tag must be well formed XML.
this tag contains the program fragment answer. The users' output is compared with this model answers' output to judge is it is correct. The answer is "hidden" from the the user but can be discovered by enterprising students.

Translating Existing Material

Translate contains text that can be copied and pasted into this editor.

To Do list

TODO Some jobs that need to be done on the web site.