Changes between Version 10 and Version 11 of BoltTutorialExercises
- Timestamp:
- Feb 8, 2008, 8:03:00 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BoltTutorialExercises
v10 v11 6 6 <?php 7 7 echo "Conifers are so named because:"; 8 bolt_exclusive_choice(8 exclusive_choice( 9 9 array( 10 10 'They carry their seeds in cones', … … 15 15 ?> 16 16 }}} 17 '''exclusive_choice()''' defines a multiple-choice question. 17 18 18 andedit conifer.php:19 Then edit conifer.php: 19 20 {{{ 20 21 <?php … … 59 60 60 61 Some notes: 61 * The correct answer is always the first choice listed. Bolt automaticallyrandomly 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. 62 63 * The exercise page is used to generate both the exercise and the answer page. 63 64 * 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. … … 75 76 "; 76 77 77 bolt_inclusive_choice(array(78 inclusive_choice(array( 78 79 array("Conifers drop their leaves in autumn", 0), 79 80 array("All conifers have needle-like leaves", 0),