This section practices the basics of converting between binary and decimal.
How to use an exercise:
1. Generate a random binary number: | ||
2. Please convert it to decimal: | - | |
3. Now check your answer: | - |
|
4. Show the solution: | - |
1. Generate a random decimal number: | ||
2. Please convert it to binary: | - | |
3. Now check your answer: | - |
|
4. Show the solution: | - |
1. Generate a random decimal fraction: | ||
2. Please convert it to binary (At most 6 bits after the binary point. Drop additional bits. Do not round up.): |
- | (write it as 0.xxxx) |
3. Now check your answer: | - |
|
4. Show the solution: | - |
© 2022
Bin Peng
Bug reports and comments are welcome: crystal dot peng at park dot edu
Last Update:
Created: January 17, 2018