Friday, February 14, 2014

How many bits are in 1 byte?

Q-01) How many bits are in 1 byte?
In most of the cases, 1 byte refers to 8 bits.

Q-10) - How many possible numbers can be represented with 1 bit? 
Each 1 bit can hold 2 (= 2^1) possible values: 0 or 1.

Q-11) How many possible numbers can be represented with 1 byte? 
Each 1 byte (=8 bits) can hold 256 (= 2^8) possible values: 0, 1, 10, 11, 100, 101, 110, 111, 1000, ... , 11111111 .



Binary
Decimal
00000000
0
00000001
1
00000010
2
00000011
3
00000100
4
...
...
11111101
253
11111110
254
11111111
255

No comments:

Post a Comment

Please, before starting to comment, evaluate if what you want to write is useful, respectful and positive. A kid may read this also.

Give a good example!