• Reference

Text questions

This plugin adds one line text questions (short) or multiple line (long) to a page. As with all plugins, it uses admonitions to indicate where the question should be placed.

  • Writing a single line of code or command
  • Identifying/finding something in an diagram or code snippet.

Tip 1

Examples of these are "Where does X occur?" or "In what section Y is located?". In this case we do not want to direct the students' gaze into specific parts of the code/image/etc. Instead, students should look at the whole and identify where they are supposed to look for what's asked.

Syntax

Try answering the question bellow. Answers persist page refreshes, so students won't loose their progress after the end of a session.

short answer

!!! exercise text short
    Text of the question.

    !!! answer
        Correct answer here. Take into account that students will phrase their answers differently and try to include elements that will let them evaluate their own answers.

Exercise 1

Text of the short (single line) question.

Answer

Correct answer here. Take into account that students will phrase their answers differently and try to include elements that will let them evaluate their own answers.

long answer

!!! exercise text long
    Text of the long (multiple line) answer question.

    !!! answer
        Correct answer here. Take into account that students will phrase their answers differently and try to include elements that will let them evaluate their own answers.

Exercise 2

Text of the long (multiple line) answer question.

Answer

Correct answer here. Take into account that students will phrase their answers differently and try to include elements that will let them evaluate their own answers.