Back to DFS's Workshop Page
Back to Agenda Page


Quinary Money Addition Problem

For this problem, you are to cannibalize any available code and write a pair of scripts to serve as a quiz on quinary (base 5) addition. Your scripts are to do the following.

Pennies, nickels and quarters are used to represent the values of the quinary addends.

  1. The Question Page: quinaddquestion.php
  2. The Adding-Process and Answer Pages: quinaddanswer.php

To see an implementation which you could reverse engineer, view this possible solution. You can also view a solution which includes quinary number circles. As an alternative problem, you could implement an equivalent set of scripts using graphics for binary, octal, or hexadecimal.

Notes


© 2007 DFStermole
Created 16 Nov 07
Last Modified 17 Nov 07