PyCharm 2019.1 Help

Working with answer placeholders

Overview

Answer placeholder is a frame that replaces a part of the original exercise code, where the students will have to write their solutions.

When a placeholder already exists, the context menu command Add Answer Placeholder is replaced with the set of commands which enable editing a placeholder, deleting it, or deleting all answer placeholders.

If a student feels that he/she is unable to solve a problem, he/she may ask for help.

The following functionality is intended for the educators!

Creating answer placeholders

To create an answer placeholder

  1. Select a fragment of the exercise code to be replaced with some text.

  2. Right-click selection, and from the context menu, choose Add answer placeholder.

  3. In the Add Answer Placeholder dialog, specify the text that will replace the selected fragment in the student's project.

    Add hints, if necessary.

Editing answer placeholders

To edit an answer placeholder

  1. Place the caret at an answer placeholder to be changed.

  2. From the context menu, choose Edit Answer Placeholder.

  3. Change the task window text and the hints' texts, if necessary.

  4. Click OK when ready.

Deleting answer placeholders

To delete answer placeholders

  1. Place the caret at an answer placeholder to be deleted.

  2. From the context menu, choose Delete Answer Placeholder.

    In the case when all the answer placeholders are not needed any more, choose Delete All Answer Placeholders.

The placeholders are deleted silently.

This action is available for the students only!

Giving up

To obtain an answer

  • On the main menu, choose Help | Fill Answer Placeholders.

All the answer placeholders on the current page are filled in with correct solutions.

Last modified: 17 May 2019

See Also