Skip to content

Fill in the Code Assessments

Description/Purpose

A Fill in the Code assessment contains a question stem and a partially completed code block, along with a variety of correct and incorrect code snippets that the learner must select to complete the code block correctly.

These assessments are aligned to a learning standard and test a learners understanding of that learning standard.

Fields in Author

  • Prompt (required): This is the question or instruction to which learners will respond.
  • Code Fill-In (required): This is the block of code in which you will determine the number and location of blanks. Use __~ and ~__ to indicate the start and end of a blank, respectively. You also have the option to select a language for syntax highlighting.
  • Responses (automatically generated): Responses are automatically generated when you indicate blanks in the Code Fill-In section. Think of these as your "correct answers". Each response has an optional hint field. This hint will be displayed to learners if they incorrectly fill in the blank associated with that response.
  • Extras (optional): Extras are your "wrong answers". Extras will appear in the bank of words that learners could use to fill in the blanks of the assessment.
  • Learning Standard List (optional): Curriculum developers use this field to associate an assessment with learning standards. You can ignore this field.

Additional Resources

Here's a tutorial on creating a Fill in the Code Assessment.

Here's a live example.