Suppose we want to devise a binary code to represent the fuel levels in a car: a.
Question:
Suppose we want to devise a binary code to represent the fuel levels in a car:
a. If we need to describe only the possible levels (empty, 1/4 full, 1/2 full, 3/4 full, and full), how many bits are needed?
b. Give one possible binary code that describes the levels in (a).
c. If we need to describe the levels (empty, 1/8 full, 1/4 full, 3/8 full, 1/2 full, 5/8 full, 3/4 full, 7/8 full, and full), how many bits would be needed?
d. If we used an 8-bit code, how many levels could we represent?
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Exploring Engineering An Introduction to Engineering and Design
ISBN: 978-0123747235
2nd edition
Authors: Philip Kosky, George Wise, Robert Balmer, William Keat
Question Posted: