The result of of adding (+5) and (-5) when both are represented in Signed Magnitude (SM) is:

Group of answer choices
Zero
1
(-5)SM
Invalid

Invalid

To add (+5) and (-5) in Signed Magnitude (SM), you need to follow these steps:

Step 1: Convert the numbers to their signed magnitude representation.
(+5)SM = 0101
(-5)SM = 1101

Step 2: Determine the sign of the result.
Since one number is positive (+) and the other is negative (-), the result will be negative (-).

Step 3: Perform the binary addition while discarding any overflow.
0101 (+5)
+1101 (-5)
____
10010

Step 4: Convert the result back to its Signed Magnitude representation.
The result, 10010, in Signed Magnitude is (-2)SM.

Therefore, the correct answer is (-2)SM.