Skip to main content

Portable custom

An interaction built for a purpose, carried with the item as a script module.

For authors

A portable custom interaction (PCI) is an interaction someone has written as a JavaScript module, following the QTI Portable Custom Interaction standard: a slider, a graph to plot, a simulation. The module travels with the item, and AIB runs it in a frame of its own on the page.

Try it

Try itPortable custom interactionAn interaction supplied by a portable module running in its own iframe, with its AMD modules mirrored beside it in webcontent.
Indicate how strongly you agree with the statement below.
 

Answering

Whatever the module draws. The sample is a five-point scale.

Scoring

The module reports a response of the type its response declaration names, and the item’s response processing scores it like any other. An opinion scale like the sample has no right answer and is not scored.

In the editor

One PCI can be made in the editor: the Likert scale. Any other arrives by import. The package carries the module’s files, and AIB keeps them together so the module can find them. The editor shows the interaction and edits its attributes, but not the module itself.

Warning: A PCI’s module runs as script on the candidate’s page. Import PCIs only from sources you trust.