Back to DFS's Workshop Page
Back to Agenda Page
Binary to Hexadecimal Conversion Proof Problem
For this problem, you are to cannibalize any available code and write a pair of scripts to perform a conversion proof from binary to hexadecimal, using a positive binary value provided by the user. Your scripts are to do the following.
- The HTML Page: binhexproof.html
- Ask the user for a binary number
- Accept input in a form
- Using the Convert button, send the data to a PHP script called binhexproof.php
- The PHP Script: binhexproof.php
- Ensure that the binary value is positive
- State what the binary value is and what its octal equivalent is
- Perform an 9-step proof which shows that the values are indeed equivalent
To see how this could work, view this possible solution.
© 2005 DFStermole
Created 11 Dec 05
Last Modified 11 Dec 05