OLI Dynamic Questions

OLI Dynamic Questions

  • Docs
  • API
  • Examples
  • Help

›Getting Started

Getting Started

  • Overview
  • Requirements

Creating Questions

  • Workflow
  • Referencing Variables

Writing Scripts

  • Script Basics
  • Built-In Functions
  • Third-Party Libraries

Requirements

Course Author Account

To get started writing dynamic questions one needs to have an account on the OLI course authoring platform. To create an account, visit the OLI Course Author.

Use Question Pools

Dynamic questions are only available for questions defined in question pools that are referenced from summative (graded) assessments.

Understand (some) JavaScript

The variable definitions that power dynamic questions are authored using the JavaScript programming language. JavaScript programming expertise is not necessary to be able to author dynamic questions. This guide will step through the basics of dynamic question authoring and show how an understanding of few simple JavaScript constructs can be used and applied to define a wide variety of dynamic OLI questions.

← OverviewWorkflow →
  • Course Author Account
  • Use Question Pools
  • Understand (some) JavaScript
OLI Dynamic Questions
Docs
Getting StartedWriting Scripts
Community
Course Showcase (Coming soon)OLI Slack
More
OLIOLI Course EditorGitHubStar
Copyright © 2025 Carnegie Mellon University