{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Unit23-FinalReview-EE357-Nazarian-Fall09

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

Info icon This 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
Image of page 1

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

View Full Document Right 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
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
Image of page 3

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

View Full Document Right 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
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
Image of page 5

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

View Full Document Right 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
Image of page 6
7 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?
Image of page 7

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern