Changes between Version 10 and Version 11 of BoltTutorialExercises


Ignore:
Timestamp:
Feb 8, 2008, 8:03:00 AM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BoltTutorialExercises

    v10 v11  
    66<?php
    77echo "Conifers are so named because:";
    8 bolt_exclusive_choice(
     8exclusive_choice(
    99    array(
    1010        'They carry their seeds in cones',
     
    1515?>
    1616}}}
     17'''exclusive_choice()''' defines a multiple-choice question.
    1718
    18 and edit conifer.php:
     19Then edit conifer.php:
    1920{{{
    2021<?php
     
    5960
    6061Some notes:
    61  * The correct answer is always the first choice listed.  Bolt automatically randomly reorders the choices to remove any ordering effects.
     62 * In '''exclusive_choice()''', the correct answer is always the first choice listed.  Bolt randomly reorders the choices to remove any ordering effects.
    6263 * The exercise page is used to generate both the exercise and the answer page.
    6364 * If you look at your course history, you'll see that Bolt has stored your answers to the exercise, and your score, in its database.
     
    7576";
    7677
    77 bolt_inclusive_choice(array(
     78inclusive_choice(array(
    7879    array("Conifers drop their leaves in autumn", 0),
    7980    array("All conifers have needle-like leaves", 0),