Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the range of values an 8-bit signed integer can represent?
Consider that one bit is used for the sign.
What does two's complement represent?
Think of it as converting a positive number to its negative equivalent.
What is the range for an 8-bit unsigned integer?
Recall how unsigned integers are defined.
If you add two positive signed integers and get a negative result, is there an overflow?
Think about the conditions that define overflow.
Illustrate adding 127 + 1 in an 8-bit signed integer system. Show if overflow occurs and explain why.
Visualize the maximum signed limit.
Create an 8-bit representation for the number -128 using two's complement. Demonstrate how this number interacts in operations leading to overflow.
Consider how two's complement handles negative values.
4 more questions in this section. Enroll free to practise them all.
Enroll free