quiz2_sol - CS 061 Computer Organization Quiz 2 Monday 1/22...

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

View Full Document Right Arrow Icon
CS 061 – Computer Organization Winter - 2012 Quiz 2 – Monday 1/22 solution Each question is worth 1 point. 1. Under what circumstances will the addition of two binary numbers in 2’s complement representation, one of which is negative and one positive, result in an invalid result? a. if the result appears negative. b. if the result appears positive. c. if the result is 0 d. never. e. always. f. none of the above. 2. Which of the following forms are valid examples of the LC-3 ADD instruction? a. ADD R3, R6, #-14 b. ADD R3, #-14, R6 c. ADD R3, R6, label d. all of the above e. a and c f. b and c The next three questions refer to the decimal number 27.625 3. What is the fixed point representation of this number in the “hybrid” binary system using the “binary point”? a. 1101.11 b. 11001.101 c. 10011.11 d. 11101.101 e. 11011.101 4. What is the normalized mantissa or fractional part of this binary number that will be used to build the IEEE-754 floating point representation of the original number? a.
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.

This note was uploaded on 03/15/2012 for the course CS 61 taught by Professor Brianlinard during the Winter '12 term at UC Riverside.

Page1 / 4

quiz2_sol - CS 061 Computer Organization Quiz 2 Monday 1/22...

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