Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. What is the two's complement of -44?
  2. A.
    1011011
    B.
    11010100
    C.
    11101011
    D.
    10110011

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The binary form of -44 is 00101100. The one's complement of this value is 11010011. On adding one to this we get: 11010100 (two's complement).


Be The First To Comment