<parsons>

The <parsons> tag creates an interactive Parsons problem, a drag-and- drop coding exercise used in Runestone. It combines a <statement> with a set of code <blocks> that learners arrange into the correct order.

Use <parsons> when you want students to reason about program structure without typing the entire solution.

Syntax

Attributes

Attributes for <parsons>
AttributeRequired?Values
language = "…"optionalstring

Children

This tag must be empty (i.e., no children or text allowed).

Parents

This element may appear as an immediate child of the following elements: <docinfo>

Examples