The exercise type for spreadsheets courses is defined in the meta sheet, using the type field. If no type is defined, the default type will be used.  

Other than default, there are three other exercise types:

  • Video exercises
  • Multiple Choice exercises
  • Multiple Choice with Workbook exercises

The default is the type of exercise where there are instructions and a hint on the left-hand side, and a workbook and 'Submit Answer' button on the right-hand side.

Video exercises

For the video exercise, add a meta sheet and add the field type with value VideoExercise.

Only a meta sheet is required for a video exercise. The following fields can be defined:

  • type: needs to be set to VideoExercise
  • title: the title of the exercise
  • projector_key: the projector key of the video. This can be found on GitHub, at the top of the slide markdown file you created using the Teach Editor. Watch out: this key needs to be prepended by course_{course_id}_{projector_key}. 

You can then create videos using the usual video creation process, using the Teach Editor.

Remember, there is no sample, solution, or SCT sheet for video exercises.

Multiple Choice exercises

For Multiple Choice exercises, add a meta sheet and add the field type with value PureMultipleChoiceExercise.

Only a meta sheet is required for a pure multiple choice exercise. The following fields can be defined:

  • type: needs to be set to PureMultipleChoiceExercise
  • title: the title of the exercise
  • assignment: the context of the exercise
  • hint: optional hint you want to give the user (if requested)
  • possible_answers: a markdown list of choices that the user will have to choose from. The correct option is between square brackets ([ ] ).
  • feedback: a markdown list of the same length with feedback messages for each of the option.

An example for possible_answers would be:

  - The answer is this
  - No, the answer is this
  - [No, but really... this is the answer]

The corresponding feedback could be:

  - That's not quite right
  - Not really
  - Correct!

Remember, there is no sample, solution or SCT sheet for Multiple Choice exercises.

Multiple Choice with Workbook exercises

For the Multiple Choice with Console exercises, add a meta sheet and add the field type with value MultipleChoiceExercise.

A Multiple Choice with Console exercise works exactly the same as a Multiple Choice exercise, except for the fact that the user will also get a workbook to experiment in. The meta sheet is exactly the same as for a Multiple Choice exercise. However, for this exercise type, you can also add a sample sheet. You can not define an SCT or solution sheet for this exercise type.

Did this answer your question?