Rehearsal. This is a practice run of the Art of Programming exam. It looks and works like the real exam, but nothing you do here is graded or counts toward your course result.

Art of Programming REHEARSAL

A practice exam: the same page, rules and kind of tasks as the real one.

Which level do you want to be examined at?

As on exam day, silver opens once you pass a bronze task, and gold once you pass a silver one.

Already have a rehearsal ID and PIN?

Write these down

You need them to sign in again from another browser or computer. The PIN is not shown again.

Student ID
—
PIN
—

Art of Programming REHEARSAL

Sign in to view your exam

New here?

Art of Programming REHEARSAL

—

On exam day the lab computer does this part for you. At home, set up your repository first — your clock does not start until you press Start at the bottom.

  1. Download your SSH key

    It is what lets you push to your repository. Keep it private.

    Download key
  2. Install it

    In a terminal (macOS, Linux, or WSL on Windows):

    
              
  3. Clone your repository

    
                

    Write each solution in ~/aop-rehearsal/<task>/solution.py — or .pyk, .js, .java, .ml or .c, whichever language you prefer — then commit with the task's tag (e.g. #task1) and git push. The page shows the result a few seconds later.

  4. Start

    You get 3 hours and 3 graded submissions per task. The tasks appear when you start, as they do when the exam begins.

Art of Programming EXAM

Time left —:—:— —

Pass this quiz to unlock the coding part. You can try as many times as you need; after each try you see which questions were wrong. It runs on the same clock as the rest of the exam.

Choose a task below. Write your solution in Pyking, JavaScript, Java, OCaml, C or Python — each task says which file to put it in — then git push. Results appear on this page automatically — you don't need to open GitLab.

  • The task tag is required. The commit message you push must contain the task's tag (e.g. #task1), or your work is not graded and nothing appears here. The tag must be in the last commit of the push.
  • You get 3 graded submissions per task. Every tagged push uses one, whether it passes or fails. Test locally before pushing — the counter on each task shows how many you have left.
← All tasks

Each task allows 3 submissions. Live updates: —