cs61c_fa05_f

# cs61c_fa05_f - University of California, Berkeley College...

This preview shows pages 1–3. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Name: _______________________________ Login: cs61c-____ 2/9 Midterm Revisited M1) “Doctor, our patient is encoding !” (10 pts, 20 min) a) A Binary Coded Decimal (BCD) uses a dedicated nibble for each decimal digit, so a byte could represent all the numbers from 00-99. We will use our standard MIPS 32-bit word to encode a BCD. What is the ratio (to one significant figure, in decimal) of overall bit patterns to the ones that encode a valid BCD? (E.g., With a single decimal digit, it’d be 16/10 2.) Show your work. Your answer should not be an expression, it should be a decimal number rounded to 1 significant figure. _______________ b)
This is the end of the preview. Sign up to access the rest of the document.

## cs61c_fa05_f - University of California, Berkeley College...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online