Ask Question
19 July, 15:53

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.)

+4
Answers (1)
  1. 19 July, 17:39
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers