Code gaps are a multipurpose task. You can upload a snippet of code with a gaps in it where the candidate must fill in the blanks to make it complete.

In order to create such a task, navigate to the Tasks library, click on the button 'Create new task' and in the drop-down list pick 'Code gaps'.

Fill in all of the necessary information like task title, question, tags, difficulty level and so on. Once done, you can now start creating a Code snippet: Paste the piece of code/text >> Select a code/text fragment and click the "Create gap" button to create a gap which is to be filled by the candidate. 

NOTE: Please, remember that if there are more than 1 correct answer possible, add them all as a possible correct answer. Do not make the question sound ambiguous. 

Did this answer your question?