Obojobo

Obojobo

  • Authors
  • Developers
  • GitHub

› Authors Section Topics

Getting Started

  • Writing Your First Obojobo Document
  • OboXML Guide

Writing Assessments

  • Creating Your First Assessment
  • Assessment Scoring
  • Score Results Text

Assessments How To

  • Adding a Pre-Test
  • Displaying Remaining Attempts
  • Extra Credit & Penalties
  • Limiting Attempts
  • Locking Navigation
  • LTI Score Passback
  • New Questions for each Attempt
  • Post-Attempt Pages
  • Reviews & Question Feedback
  • Threshold Scoring
  • Triggers and Actions
  • Variables

Adding a Pre-Test

Using navigation lock and unlock events and the start property of the Module OboNode students can be directed to the Assessment first, requiring them to attempt the Assessment before they can explore the rest of the document.

Setting Module’s start="my-assessment" attribute tells Obojobo to send students to the "my-assessment" as soon as the document has loaded.

The Assessment’s intro Page onMount trigger fires as soon as that page is displayed, causing the navigation to lock right away.

After the first attempt the landing page is no longer displayed so the onMount trigger doesn’t fire after the first time. This means that on additional visits students are not forced to take an Assessment Attempt.

<ObojoboDraftDoc>
  <Module start="my-assessment">
    <Content> <!-- ... --> </Content>
    <Assessment id="my-assessment">
      <Page> <!-- ... -->
        <triggers>
          <trigger type="onMount">
            <actions>
              <action type="nav:lock" />
            </actions>
          </trigger>
      </Page>
      <QuestionBank> <!-- ... --> </QuestionBank>
      <scoreActions> <!-- ... --> </scoreActions>

      <triggers>
        <trigger type="onStartAttempt">
          <actions>
            <action type="nav:lock" />
          </actions>
        </trigger>
        <trigger type="onEndAttempt">
          <actions>
            <action type="nav:unlock" />
          </actions>
        </trigger>
      </triggers>

    </Assessment>
  </Module>
</ObojoboDraftDoc>
Visit Obojobo on GitHub
Obojobo
Obojobo™ ©2021 University of Central Florida