Skip to content
GK24
Computer AwarenessMediumAsked in: RRB JE · CBT-2 (ECE), 22 Apr 2025, Shift 2

What is the 2's complement of the binary number 101110?

  1. A.010011
  2. B.010010
  3. C.110001
  4. D.010001

Correct answer

B. 010010

Explanation

The correct answer is B, 010010. The 2's complement of a binary number is found in two steps: flip every bit to get the 1's complement, then add 1. Flipping 101110 gives 010001, and 010001 + 1 = 010010. A quick check confirms it: 101110 is 46 and 010010 is 18, and 46 + 18 = 64, which is 2⁶ for a six-bit number, exactly as it should be. Computers use the 2's complement to store negative numbers and to do subtraction by addition, which keeps their circuits simple. A shortcut also works: copy the bits from the right up to and including the first 1, then flip all the rest. A is wrong because 010011 adds 2 instead of 1 to the 1's complement. C is wrong because 110001 leaves the leftmost bit unflipped. D is wrong because 010001 is only the 1's complement; the final +1 is missing. Exam tip: 2's complement = flip all bits, then add 1; a number plus its 2's complement equals 2ⁿ.

View all
Q2.Computer AwarenessAsked in: CDS · CDS-I 2025, GKEasy

Which one of the following is the characteristic of Artificial Intelligence ?

  1. A.Replicates human decision making
  2. B.Stores relevant information
  3. C.Stores similar kind of data for a specific purpose
  4. D.Allows user to interact with media
Show answer
Correct answer: A. Replicates human decision making

Artificial Intelligence is the ability of a machine to perform tasks that normally need human intelligence, such as reasoning, learning and taking decisions.