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.
A series looks like this:
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.
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 button is then replaced by the moment you did it, and the activity gets a check mark in the series:
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.
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.
If your code passes every test, you get a green Correct:
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:
Three habits make that feedback easier to interpret:
0/1 correct) only tells you how many tests passed, not what to change.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. |
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:
You can reply right underneath, so a comment is the start of a conversation rather than a final word.
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:
Only your latest submission counts, so a wrong attempt costs you nothing.
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.