Number Bases Project
Number Bases Project
Example:
243560.02 2 * 105 4 * 10 4 3 * 10 3 5 * 10 2 6 * 101 0 * 10 0 0 * 10 1 2 * 10 2
Task
1. Write the numbers 61, 73, 212 and 1000 in binary.
2. What can you say about a number that ends in 1 when you write it in
binary? What about a number that ends in a 0?
3. What can you say about a number whose binary representation
contains a 1, followed by all zeros?
The Hexadecimal System
The hexadecimal system is a base 16 system that is often used in computer
science in order to help deal with binary strings that are of length 8 (bytes).
The reason this is done is that a binary number with eight digits has a term
that is equal to 28=256. Since 162 =256, bytes can be represented using two
digits in the hexadecimal system, making it easier to work with algebraically.
The hexadecimal system contains the numbers 0-9 and a,b,c,d,e and f for
the numbers 10,11,12,13,14,15.
Example: 240678 = 3 * 16 4 10 * 16 3 12 * 16 2 2 * 16 6
=3bd26
Task
By using appropriate resources, write a paragraph about the hexadecimal
system, outlining its development and use in computer science. Convert the
number 254367839 into hexadecimal. How would you convert the number
11111111111 from hexadecimal into base 10?
The goal of this task is to find out how to calculate a ‘k’ digit number in base
‘b’ consisting entirely of 1’s.