CS 3843 Computer Organization Midterm Exam 1 Review: Fall 2011
This will be a closed book exam.
You may use a calculator, but you need to show the steps in solving the
problems, not just write down the answer.
The calculator can be used only for add, subtract, multiply, and divide,
plus to check your answers.
Any other operations must be shown.
You are responsible for understanding all of assignments and material
from the textbook.
The exam will cover Chapter 2.
Many of the problems on the exam will be similar to
recitation problems
and the daily questions.
The exam will probably have about 20 short answer questions worth 3 points each
and some longer questions for a total of 100 points.
For the short answer questsions there will not be any partial credit
and only the answer will be graded.
For the other questions you must show your work and partial credit may be given.
- Know your powers of 2.
- Base conversions
- Little endian and big endian
- Bitwise boolean operators
- Logical operators
- Shift operators: understand the difference between arithmetic
and logical shifts
- Representation of integers: 2's complement, 1s' complement, sign-magnitude
- Casting between signed and unsigned
- Casting between integers of different sizes and sign extension
- unsigned addition and subtraction
- signed addition and subtraction (2's complement only)
- unsigned multiplication
- 2's complement multiplication
- Multiplying by constants using shift, add, and subtract
- Dividing by powers of 2
- Fractional binary numbers - converting between bases
- IEEE floating point format with given number of exp and frac bits
For given number of exp and frac bits:
- find smallest denormalized greater than 0
- find largest denormalized
- find smallest normalized greater than 0
- find largest normalized
- Given the binary:
- find the sign, exp, and frac bits
- determine whether it is nan, inf, denormalized, or normalized
- find the value
- Given a value:
- determine whether it will be represented as denormalized, normalized,
or infinity.
- find the representation
- Understand the four rounding methods.