
Practice: Data representation
1. Convert the following decimal numbers to binary numbers
73 = 1001001
8 = 1000
127 = 1111111
2. Convert the following binary numbers to decimal
100 = 4
1011 = 11
1111 = 15
3. Convert the following decimal numbers to the bases indicated
263 to binary, binary to octal. 263 100000111=> 407
126 to hexadecimal, hexadecimal to binary, binary to octal: 126 7E1111110176
4.
a. Convert the binary into decimal:
1001010 = 74
1001111 = 79
1001000 = 72
1001110 = 78
b. Add the following binary numbers:
Add 1001010 to 1001111 = 10011001
Add 1001000 to 1001110 = 10010110
c. Convert the results of b into decimal number:
10011001 153
10010110150