Answer :

Answer

Let's perform the binary subtraction for **101101 - 001110**:

1. Align the numbers by adding leading zeros to the shorter number:

```

101101

- 001110

```

2. Subtract each column, starting from the rightmost bit:

- In the rightmost column (1s place), we have **1 - 0**, which is **1**.

- In the next column (2s place), we have **0 - 1**. We can't subtract 1 from 0, so we need to borrow from the next column. This changes the 0 to 2 (binary 10), and the subtraction becomes **10 - 1 = 1**.

- In the third column (4s place), we have **1 - 1** (after borrowing), which is **0**.

- In the fourth column (8s place), we have **1 - 1**, which is **0**.

- In the fifth column (16s place), we have **0 - 0**, which is **0**.

- In the sixth column (32s place), we have **1 - 0**, which is **1**.

3. Write down the result for each column:

```

101101

- 001110

---------

011111

```

Therefore, the result of the binary subtraction **101101 - 001110** is **011111**. In decimal, this is equivalent to **31**.

Other Questions