Skip to main content

Add Exercises to an Exam

An exam is built from exercise groups rather than from exercises directly. Each group is one slot on the paper, and each slot can hold several alternatives, so that students do not all receive the same exam.

Exercise Groups

When Artemis generates the individual exams it draws one exercise at random from every group. Three groups holding two exercises each therefore produce a three-exercise exam in eight possible combinations.

A group is either Mandatory or Optional. Every mandatory group appears in every individual exam. Optional groups are only drawn on if there are more groups than the Number of exercises in exam set in the exam configuration — which is how you offer a choice of topics without lengthening the exam. Groups are mandatory by default; Edit group changes it later.

Exercise groups, each holding several exercise variants
Exercise groups with alternative exercises

Each group lists its exercises as rows. Drag a row's handle to move it into another group — exercises have no manual order within a group — and use the row's overflow menu () for the remaining actions, including generating a variant with AI.

Import Exercise Groups

Import Exercise Group copies groups out of an existing exam, in two steps.

First choose the exam to copy from. Select Exercise Groups opens it.

Choosing the exam to import exercise groups from
Step one: choose the source exam

Then choose what comes across. You can deselect individual exercises, and rename both the groups and the exercises — including the short name of a programming exercise, which together with its title has to be unique. Importing into the same course therefore always needs a rename first; Artemis checks uniqueness when you start the import and tells you which ones clash.

Choosing which exercises to import alongside the groups
Step two: choose the exercises

Add Exercises

Add Exercise at the foot of a group opens Manage Exercises. Its Create tab offers the five exercise types — Programming, Quiz, Modeling, Text and File Upload — and takes you to the creation form for the one you pick. Its Import tab offers the same five types and copies an existing exercise into the group; its search covers the courses and exams you hold at least editor rights in, and matches on exercise title, course title or exercise id.

Manage Exercises dialog offering the five exercise types
Adding an exercise to a group

Text and modeling exercises can also carry example submissions with example assessments. Assessors work through those first, which is how a correction team arrives at the real submissions already agreed on what the exercise is worth.

Programming Exercises

Two settings on a programming exercise need attention in an exam.

Enable manual assessment decides whether your assessors can grade the submissions by hand at all. Leave it off and the assessment is whatever the tests produced.

Test visibility decides what a student learns while writing. Configure Grading on the exercise lets you set the Weight, Bonus multiplier and Bonus points of each test case, and its Visibility. In an exam the useful setting is After Release Date of Results: the test still runs and still scores, but the student sees neither its feedback nor its points until results are published. Artemis applies it to every test case of a programming exercise created inside an exam.

Configure Grading page showing test case weights and visibility
Test case configuration for an exam exercise

Hiding every test leaves the student knowing only whether their code compiled, which is often what an exam wants. Controlling when the tests run is a separate question from when their results become visible, and it depends on the setup: with Integrated Code Lifecycle you give the build phase that runs the tests an After due date inclusion condition, described under Configure the Build. With Jenkins the exercise instead offers Rerun tests after due date, which runs the suite once over every submission after the date you set.

Search documentation