Data Types  «Prev  Next»

Two's complement representation - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. What range of integers can be represented using 16-bit two's complement representation?
Please select the best answer.
  A. -215 to 215 - 1
  B. -216 to 216 - 1
  C. -162 to 162

2. What is the decimal equivalent of the 8-bit two's complement number 10010111?
Please select the best answer.
  A. -104
  B. -152
  C. -105

3. What is the 8-bit two's complement representation of the decimal number -18?
Please select the best answer.
  A. 11101101
  B. 00010010
  C. 11101101

Correct answers:

Your Score: 0



Structured Approach Computer Science