1.

The bitwise complement of 0 is ___________(a) 00000001(b) 10000000(c) 11111111(d) 11111110The question was posed to me by my college director while I was bunking the class.This question is from The Arithmetic & Logic Unit in chapter Basic Computer Organisation of Computer Fundamentals

Answer» CORRECT ANSWER is (c) 11111111

Explanation: Bitwise complement is basically used to CONVERT all the 0 DIGITS to 1 and the 1S to 0s.

So, for 0 = 00000000(in 8-bits) ::: 11111111(1s complement). The bitwise complement is often referred to as the 1s complement.


Discussion

No Comment Found

Related InterviewSolutions