Paul Bodily About Courses Research Outreach Tips for Communicating Teaching Philosophy Vitae

Rough Midterm Study Guide

The midterm will be similar to the homeworks in terms of both content and format. Here is a list of some of the types of questions you might encounter on the midterm.

Good luck on this midterm! Here are the topics to prepare for:

Conversion to binary
Conversion from binary to decimal
Little Endianness
Shifting
Binary operations
Bit masking
Arithmetic shifting
Binary-to-unsigned conversion
Calculating UMax and UMin, TMax and Tmin
Unsigned-to-two's-complement conversion
Two's-complement-to-unsigned conversion
What values are unchanged between unsigned and two's complement conversion for a given # of bits
Truncation
Addition unsigned
Overflow types and causes
Additive inverses
Unsigned mult
Two's complement multiplication
Multiplication as combination of shifts and adds
Convert a fractional value into binary
Convert a binary value into a fraction
Floating-point (how to interpret from binary)