Getting started

Courses, challenges and exercises

Everything in cocco happens inside a course. A course has a title, a short description, and a list of people, each with a role on it. Anyone signed in can see that a course exists, but only the people enrolled on it see what is inside.

A course holds two kinds of work:

The home page lists the courses you are on under Your courses, and every other course under Other courses.

Roles

A role belongs to one course: the same person can teach one course and be a student on another.

Administrators are not a course role. An administrator is appointed for the whole site and counts as a teacher on every course, without being enrolled. Only an administrator can create a course, archive or delete one, and use the Administration page to appoint other administrators and block accounts.

Your first course

  1. Create the course. Only an administrator can do this, with New course on the home page. Whoever creates it becomes its teacher. If you are not an administrator, ask one to create the course and add you as a teacher on its People page.
  2. Describe it. In the course editor (Edit course on the course page), write the description students read at the top of the course page. If only your class should get in, set an enrollment key.
  3. Add your colleagues. On the People page, enroll them by address as teachers or collaborators. They don't need to have signed in before.
  4. Write a challenge. New challenge opens the form, and Create challenge takes you to its editor, where you add test cases. A new challenge is hidden from students. Try it with View as student, submitting a reference solution, then make it visible (see Visibility).
  5. Bring the students in. They can join themselves with Enroll! (with the key, if you set one), or you can enroll them by address.
  6. Follow along. Students submit from the challenge page, and their results appear as soon as the judge has run the program. You follow the whole class in the Class standings.

For a lesson with exercises, import an exercise set from the course page and open a session for your group when class begins.