Computer Science 150 - Spring 1998 - Newton - Midterm 2

Computer Science 150 - Spring 1998 - Newton - Midterm 2 -...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS150 Midterm 2, Spring 1998 CS150 Spring 1998 Midterm 2 Professor A. R. Newton, Professor K. Pister Problem #1 (a) A digital system is required to amplify a binary-encoded audio signal. The user should be able to control the signal amplitude from minimum to maximum in 100 increments . What is the minimum number of binary bits required to encode the user-specified amplitude? (b) Excess-3 code (Katz page 499) is a variation of binary-coded decimal (BCD) code. Each decimal digit is represented by a 4-bit code that is three more than the associated BCD code . For example, 0 is encoded in excess-3 as 0011b, 1 is encoded in excess-3 as 0100b, etc. Design a single-output combinational logic circuit that outputs a 1 when the input to the circuit in 4-bit excess-3 code is a prime number . For all other (non-prime) legal 4-bit excess-3 numbers applied to the inputs, the output is a 0. Assume complement inputs are available and implement the circuit using: (i) One 16-input, four control-line multiplexer only
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Computer Science 150 - Spring 1998 - Newton - Midterm 2 -...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online