If we use seven-bit two's complement binary representation for integers, what is The number of integers (things) that can be represented in this way? The smallest (most) negative integer that can be represented in this way? The largest positive integer that can be represented in this way?
- This is a CS homework question that I am having trouble answering and explaining. Any help would be appreciated.
So its really easy
Counting in binary usually goes like
In 7 bit the last bit is what decides if its a negative or positive
1 being negative and 0 being positive
So lowest you can go is -128
Highest you can go is 127