Why are magnetic devices considered as effective means of repre- senting the binary values?
How many bits are required to uniquely represent each of the following?
a. 4 items
b. 16 items
c. 32 items
d. 128 items
e. 512 items
f. 2048 items
Assuming there are 366 days in a year, how many bits would be needed to store each day of the year? Why?
We need bits(where the operation represents the least integer greater than x) to represent any range of numbers where n is the maximum value Because with each bit the values that can be expressed increase by a factor of 2 i.e with 1 bit we can represent 2 values with 2 bits we can represent 4 values and 3 bits = 8 values we need.
So for 366, we need
For the others similarly the answers will be
a) we need 2 bits
b) 4 bits
c) 5 bits
d) 7 bits
e) 9 bits
f) 11 bits
Do give a thumbs up and in case there are doubts leave a comment.
Get Answers For Free
Most questions answered within 1 hours.