52.6k views
2 votes
Convert each of the following bit patterns into whole numbers. Assume the values are stored

using the twos complement bit model.

00101101

01011010

10010001

11100011

User Motumbo
by
8.3k points

1 Answer

4 votes

Answer:

1. 45

2. 90

3. 161

4. 227

Step-by-step explanation:

Binary starts off with the first bit equaling 1 and then each subsequent bit being double the previous bit from right to left, so.

128, 64, 32, 16, 8, 4, 2, 1 In this example. If you imagine each 1 or 0 being and on or off for the value it's related to, you just add the numbers together that are on (with a 1 on them)

User Piero Alberto
by
8.2k points