You have three hundred distinct items. How many bits would you need minimum to accommodate these three hundred distinct items?

A: 8
B: 9
C: 10
D: 11
E: 12

Answer: B: 9

It is 9 bits because 2^8=256 it will accomodate only 256 digits .and 2^9=512 means that it will accomdate 512 digits so with 9 bits we can represent these 300 bits .

Computer Science & Information Technology

You might also like to view...

A(n) _________ is a group of related statements that is a subset of a macro

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ________ is a mutual exclusion mechanism in which a process executes in an infinite loop waiting for the value of a lock variable to indicate availability.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology