Unit23-FinalReview-EE357-Nazarian-Fall09

Unit23-FinalReview-EE357-Nazarian-Fall09 - University of...

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

View Full Document Right Arrow Icon
EE357 Basic Organization of Computer Systems Final Review University of Southern California University of Southern California Viterbi School of Engineering Viterbi School of Engineering Shahin Nazarian Fall 2009 References: 1) Textbook 2) Mark Redekopp’s slide series 3) ColdFire Documents
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Shahin Nazarian/EE357/Fall 2009 Number Systems - Binary Given the binary string “10001101”, what would its decimal equivalent be assuming a 2’s complement representation? ANSWER: -128+8+4+1 = -115
Background image of page 2
3 Shahin Nazarian/EE357/Fall 2009 Number Theory - Floating Point Assuming the 12-bit IEEE shortened FP format, what is the decimal equivalent of the following number? ANSWER: -1.100010*2 3 = -1100.010 = -12.25 1 10010 100010
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Shahin Nazarian/EE357/Fall 2009 Number Theory - Overflow Under what conditions does overflow occur in signed signed arithmetic (addition/subtraction)? ANSWER: when p+p=n or n+n=p Under what conditions does overflow occur in unsigned unsigned arithmetic (addition/subtraction)? ANSWER: If adding, when Cout=1, if subtracting, when Cout=0
Background image of page 4
5 Shahin Nazarian/EE357/Fall 2009 Number Theory - Rounding Given the following normalized FP number, what would the result be after using the round-to-nearest method? +1.011011 100 * 2 5 ANSWER: Round to 0 in the LSB, so round up to +1.011100*2 5
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 Shahin Nazarian/EE357/Fall 2009 Performance - Components What is the best metric for performance measurement (i.e. not subject to manipulation or misleading results)? ANSWER: Time (not rates like MIPS, CPI, etc.) What are the three basic components of the performance equation learned in class? ANSWER: Instruction Count, Average CPI, Clock cycle time/period
Background image of page 6
Shahin Nazarian/EE357/Fall 2009 Performance - Compiler Effect Which of the three components of the performance equation would be affected by the choice of compiler? ANSWER: Instruction Count and probably CPI
Background image of page 7

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

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

Page1 / 20

Unit23-FinalReview-EE357-Nazarian-Fall09 - University of...

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

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