What is the highest 8bit number In binary In hex What is th
Solution
Q-3
highest 8 bit number in
a) in binary is : 11111111 (which is 255 in decimal) ( binary is machine language all bit places are filled with 1 which is given as 255 in decimal similar will be highest in hex )
b) in hexa is :FF (255 in decimal)
Q-4
highest 16 bit number
a) in binary : 1111111111111111 (which is 65535 in decimal )
b) in decimal : FFFF (which is 65535 in decimal)
Q-5
decimal-100000 into
a) binary : to convert to deccimal we divide the number (which changes to quotient after each division) step by step by 2(base for binary) keep the remainder for each division the MSB is the last remainder and LSB is first remainder (ie write top to down)
0
1(msb)
so the conversion of decimal 100000 becomes : binary =11000011010100000
b) hex : to convert in hex the only difference is we divide by 16 (its base)
and remember in hex 10=A , 11=B ,12=C ,13=D, 14=E ,15=F
so the conversion of decimal 100000 becomes : hex = 186A0
| number | quotient | remainder |
| 100000 | 50000 | 0 (LSB) |
| 50000 | 25000 | 0 |
| 25000 | 12500 | 0 |
| 12500 | 6250 | 0 |
| 6250 | 3125 | 0 |
| 3125 | 1562 | 1 |
| 1562 | 781 | 0 |
| 781 | 390 | 1 |
| 390 | 195 | 0 |
| 195 | 97 | 1 |
| 97 | 48 | 1 |
| 48 | 24 | 0 |
| 24 | 12 | 0 |
| 12 | 6 | 0 |
| 6 | 3 | 0 |
| 3 | 1 | 1 |
| 1 | 0 | 1(msb) |

