Drop links or images here to add them to the editor.

Welcome to Dodona! In Dodona you always work inside a course. A teacher fills the course with activities, grouped into series. There are two kinds of activity: reading activities and programming exercises.

Where you are

A series looks like this:

A series containing a reading activity and an exercise, with status icons A series containing a reading activity and an exercise, with status icons

A series has a title, a short description, sometimes a deadline, and then the list of activities. In front of each activity there is a check mark once you have finished it, next to that an icon for the kind of activity, and on the right your status in words.

This page is a reading activity

A reading activity is text: an explanation, an example, a piece of theory. There is no code editor and there is nothing to hand in. Once you have read it, press the button at the bottom of the page:

The Mark as read button The Mark as read button

The button is then replaced by the moment you did it, and the activity gets a check mark in the series:

The text: Marked as read on a date The text: Marked as read on a date

Marking a page as read only records your progress, for you and for the teacher. You can come back and reread the page as often as you want.

With an exercise you write code

A programming exercise is the second kind of activity. Under the assignment you get a code editor, and that is where you write your solution.

The editor with a Submit button underneath The editor with a Submit button underneath
  1. The editor sometimes already holds some starting code. You can change it, add to it, or clear it out.
  2. For Python exercises you can try your code in your browser first, with To sandbox. Nothing is handed in yet, so experiment freely.
  3. When you are happy with it, press Submit. Dodona runs your code against a series of tests and shows you the result within seconds.

Reading the feedback

If your code passes every test, you get a green Correct:

Feedback of a correct submission: a green Correct and one passing test Feedback of a correct submission: a green Correct and one passing test

If it does not, you get a red Wrong, and Dodona shows you which test failed and how your output differs from what was expected:

Feedback of a wrong submission, with your output next to the expected output Feedback of a wrong submission, with your output next to the expected output

Three habits make that feedback easier to interpret:

The verdict at the top of the feedback is one of these:

Verdict What it means
Correct Every test passed.
Wrong Your code ran, but at least one test did not produce the expected result.
Runtime error Your code crashed while it was running. The error message is in the feedback.
Compilation error Your code could not be read at all, usually a typo or a syntax error.
Timeout Your code took too long, often because of a loop that never ends.

Comments from the teacher

The tests are automatic, but the teacher can also read your code and leave comments on specific lines. Those show up with your submission, under the Code tab:

A comment from the teacher attached to a line of code A comment from the teacher attached to a line of code

You can reply right underneath, so a comment is the start of a conversation rather than a final word.

Submitting again is free

You may submit as often as you like. Every attempt is kept and you can open the old ones from the submission history, so nothing you tried is ever lost:

The submission history, with a wrong and a correct submission The submission history, with a wrong and a correct submission

Only your latest submission counts, so a wrong attempt costs you nothing.

Your turn

That is all you need to know. If the teacher put the exercise Your first submission next in this series, open it now: the solution is already written for you, so all you have to do is press Submit and watch the feedback appear.

And when you are done reading, press Mark as read below.