MAH-CET 2025 — Computer PYQ
MAH-CET | Computer | 2025How to represent -34 in one's complement form?
Choose the correct answer:
- A.
00100010
- B.
11011101
(Correct Answer) - C.
10101010
- D.
11110000
11011101
Explanation
Logic
-
Binary of +34: Representing 34 in 8 bits:
+34=(00100010)2 -
Applying NOT logic (Inversion):
To get the One's Complement, we flip every 0 to 1 and every 1 to 0:
NOT(00100010)2=(11011101)2
Final Solution
Decimal Number=−34
Binary Magnitude (+34)=(00100010)2
1’s Complement (-34)=11011101
Explanation
Logic
-
Binary of +34: Representing 34 in 8 bits:
+34=(00100010)2 -
Applying NOT logic (Inversion):
To get the One's Complement, we flip every 0 to 1 and every 1 to 0:
NOT(00100010)2=(11011101)2
Final Solution
Decimal Number=−34
Binary Magnitude (+34)=(00100010)2
1’s Complement (-34)=11011101

