Digital Electronics and Binary Representation: difficulty 3

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

A laboratory wants to give each of its 300 distinct reagent vials a unique binary code stored in a fixed-width field.

  1. What is the minimum field width in bits, and how many codes are left unused at that width? Give the unused codes as a percentage of the field's capacity, to one decimal place.
  2. If the field must instead occupy a whole number of bytes, what width is used and how many codes go unused then?
  3. The laboratory expects to double its vial count. Does the minimum width from part 1 have to grow, and by how much?

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Digital Electronics and Binary Representation Questions: