Question
1.
2.
3.
4.
Answer (Detailed Solution Below)
Option 3 : 11010011
Advertisement
Detailed Solution
सही उत्तर 11010011 है।
Key Points
Helpful?
Question:
In an 8-bit system, what is the 2's complement representation of −45? / 8-बिट प्रणाली में −45 का 2's complement निरूपण क्या है?
1.
10110011
2.
11010010
3.
11010011
4.
00101101
Correct Answer: 11010011
45 = 00101101; its 1's complement is 11010010 and adding 1 gives 11010011. Option (b) is the 1's complement — the classic trap. / 45 = 00101101; इसका 1's complement 11010010 है और 1 जोड़ने पर 11010011 मिलता है। विकल्प (b) 1's complement है — यही सामान्य भ्रम है।
Downloaded from PrepSnap (prepsnap.in)