Subject
Computer Science
Topic
Computer Fundamental
How is the two's complement of a binary number obtained?
How is the two's complement of a binary number obtained?
a)
Invert all bits and add 1b)
Reverse all bits onlyc)
Add 1 without inversiond)
Shift left onceExplanation
Two's complement negation is obtained by bitwise inversion followed by adding 1.Related questions
Which is the smallest unit of digital information?How many bits are contained in one byte?A group of four bits is called a:How many distinct values can one bit represent?How many distinct unsigned values can be represented by 8 bits?What is the largest unsigned decimal value representable with 8 bits?Which symbol convention is normally correct?One kibibyte (KiB) is equal to:
