2009 Final - CEG2136/Final Exam CEG2136 COMPUTER...

  • University of Ottawa
  • CEG 2536
  • Test Prep
  • chloe.ditomasso
  • 6
  • 93% (14) 13 out of 14 people found this document helpful

This preview shows page 1 - 2 out of 6 pages.

CEG2136/FinalExamCEG2136: COMPUTER ARCHITECTURE I CEG2536: ARCHITECTURE DES ORDINATEURS I FINAL EXAM Length of Examination: 3 hrs Problem 1. (22 points) Short questions. 1. Which of the following choice(s) is/are correct? A penalty will be applied for every wrong answer. (a) (4 pts) All sequential circuits can be implemented using only JK flip-flops and NOT gates only T flip-flops and NAND gates only D flip-flops and AND gates only D flip-flops and NAND gates (b) (4 pts) An overflow can occur after the subtraction of two signed numbers the addition of two unsigned numbers a logic shift left an arithmetic shift right 2. Perform the following conversions. (a) (2 pts) (AB.2AD)16= ( 171.1672 )10(b) (2 pts) (10010.0)2= ( 20 ) 93. A digital computer represents its floating point numbers using a signed 6-bit exponent and a signed normalized 10-bit mantissa. Negative exponent and mantissa values are expressed in 2's complement. Show the binary values of the exponent and mantissa to represent (21.1)8. 10-bit mantissa= - ---'0100010010-----6-bit exponent= _..00101___4. Using Table 6, translate the following machine codes to their equivalent assembly instructions.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture