Ask Question
30 September, 03:14

A computer has a word length of 8 bits (including sign). if 2's complement is used to represent negative numbers, what range of integers can be stored in the computer? if 1's complement is used? (express your answers in decimal.)

+3
Answers (1)
  1. 30 September, 03:28
    0
    Two's-complement notation can represent all integers from - 2^ (N-1) to 2^ (N-1) - 1, where N is the word length of the computer. So, in your example, the computer could store all integers from - 128 to 127 inclusive.

    One's-complement notation can represent all integers from - 2^ (N-1) - 1 to 2^ (N-1) - 1, where N is the word length of the computer. So, in your example, the computer could store all integers from - 127 to 127 inclusive
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A computer has a word length of 8 bits (including sign). if 2's complement is used to represent negative numbers, what range of integers ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers