The following HTML text is provided to enhance online
readability. Many aspects of typography translate only awkwardly to HTML.
Please use the page image
as the authoritative form to ensure accuracy.
Measuring Up: Prototypes for Mathematics Assessment
mal strategies in general) without justification, even though he or she may give the "correct answer" that Roberto's strategy is better.
Even an accurate answer to question 8 (such as: "I'm not sure I found the best strategy, because all I did was to guess") would not lift the response out of the low category.
The following is a program written in Applesoft BASIC to simulate the playing of HOG. It calls for the number of number cubes to be put in the cup and for the number of rolls to be made. It then prints out the average score obtained.
INPUT "HOW MANY NUMBER CUBES DO YOU WANT TO PUT IN THE CUP?"; D
INPUT "HOW MANY GAMES DO YOU WANT TO PLAY?"; G
T = 0: REM THIS COUNTS TOTAL SCORE
FOR I = 1 TO G
S = 0: REM THIS IS THE SCORE WITHIN A SINGLE GAME
FOR J = 1 TO D: REM LOOK AT EACH CUBE
R = INT(6 * RND(1))+1: REM THIS IS A RANDOM WHOLE NUMBER BETWEEN 1 AND 6
IF R = 1 THEN GOTO 200: REM THE PROCESS IS SHORT-CIRCUITED AS SOON AS A 1 APPEARS
S = S + R: REM THE CUBE ISN'T 1, SO ADD IT TO THE SCORE
T = T + S
PRINT "THE AVERAGE SCORE, PLAYING ";G;" GAMES, WITH ";D;" NUMBER CUBES, WAS '';T/G;"."