62.5k views
5 votes
A store uses binary numbers to assign a unique binary sequence to each item in its inventory. What is the minimum number of bits required for each binary sequence if the store has between 75 and 100 items in its inventory?

a. 6
b. 5
c. 7
d. 8

User Erik Ernst
by
4.2k points

2 Answers

4 votes

Final answer:

The minimum number of bits required to represent between 75 and 100 items is 7 bits, as 2^7 = 128 is the smallest power of 2 greater than 75.

Step-by-step explanation:

To determine the minimum number of bits required for a unique binary sequence for each item in a store inventory, we must find the smallest power of 2 that is greater than or equal to the number of items. Since the store has between 75 and 100 items, we are looking for the smallest power of 2 that is greater than 75.

Lets find the right power of 2:

  • 25 = 32
  • 26 = 64
  • 27 = 128

Since 26 (64) is less than 75, it is not sufficient. However, 27 (128) is greater than 75, meaning 7 bits are enough to uniquely identify each item in the inventory.

Therefore, the correct answer is:
c. 7

User Omri Btian
by
3.9k points
4 votes

Answer: C

Step-by-step explanation:

User Jantristanmilan
by
4.0k points