Computer AwarenessHardIBPS PO · SBI PO · IBPS Clerk
The 4-bit two’s complement of the binary number 0101 is:
- A. 1101
- B. 1010
- C. 0110
- D. 1011
Correct answer: D. 1011
Two’s complement = one’s complement + 1: invert 0101 to 1010 and add 1 to get 1011, which represents −5. Stopping at 1010 gives only the one’s complement.
हिंदी में
बाइनरी संख्या 0101 का 4-बिट टू’ज़ कॉम्प्लिमेंट है:
- A. 1101
- B. 1010
- C. 0110
- D. 1011
उत्तर: D. टू’ज़ कॉम्प्लिमेंट = वन’ज़ कॉम्प्लिमेंट + 1: 0101 को उलटकर 1010 बनाएँ और 1 जोड़ें तो 1011 मिलता है, जो −5 को दर्शाता है। 1010 पर रुकने से केवल वन’ज़ कॉम्प्लिमेंट मिलता है।
More Computer Awareness questions
- Which MS Excel function looks for a value in the first column of a table and returns a value from another column in the same row?
- Which of the following is an example of Software as a Service (SaaS)?
- In a CPU, the program counter holds:
- PARAM 8000, India’s first supercomputer, was built in 1991 by:
- Restarting a computer that is already switched on, for example with the Restart option or Ctrl + Alt + Del, is called:
- Which of the following is a private IPv4 address that cannot be routed on the public internet?