10000000 এই বাইনারি নম্বরটির 2's complement ফরম্যাটের মান কত (৮ বিট) ?

B 128

C -128

D 256

Solution

Correct Answer: Option C

10000000 এর 1's কমপ্লিমেন্ট করলে হয় 01111111 এবং এর 2's কমপ্লিমেন্ট হয় 01111111 +1=10000000 যার ডেসিমাল মান -128 ।
Since a positive value of 128 can't be presented with an 8-bit signed binary number, the two's complement of -128 in an 8-bit system results in the same binary number.

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions