Subject

    Govt.Jobs

    Topic

    তথ্য ও যোগাযোগ প্রযুক্তি অধিদপপ্তের (সহকারী প্রোগ্রামার)-২০২০ (২৬.১২-২০২০)

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

    খ)
    128
    গ)
    -128
    ঘ)
    256

    Explanation

    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.

    Find Tutors

    View all Tutors