We read your photo as:

Give the range of numbers that can be represented in two's complement given n bits. Using 7 bits, add 63 and -64 in 2's complement.

Computer Science

ScanSolve AI Answer

Step-by-step solution

2 steps

Here are the solutions to your computer science questions.

1.a) i) Give the range of numbers that can be represented in two's complement given n bits.
The range of numbers that can be represented in nn bits using two's complement is from −2n−1-2^{n-1} to 2n−1−12^{n-1} - 1.

1.a) ii) Using 7 bits, add 63 and -64 in 2's complement.

  1. Convert 631063_{10} to 7-bit binary.

    6310=0111111263_{10} = 0111111_2

  2. Convert −6410-64_{10} to 7-bit two'

Was this helpful?

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp