NIMCET 2019
In an 8-bit representation of a computer system, the decimal number 47 has to be subtracted from 38. The result in binary 2's complement is _________
Answer (Detailed Solution Below)View answer ▾Hide ▴
Answer: Option A — 11110111
Detailed Solution
.
; invert the bits: 11110110; add 1: 11110111.
✓ Check
.⚠ Common trap
(B) 10001001 is the sign-magnitude form of −9, not 2's complement.Quick tip
💬 Discussions on this question
Ask a doubt ›Still stuck on this question? Ask our faculty and fellow students — answers appear here.
Ask a doubtMore Computer Number System Questions
View all ›- Q1.Consider the following statements about the range of numbers in a 9-bit 1's complement and 2's complement system.
- Q2.The multiplication of the two binary numbers and in binary notation is:
- Q3.An embedded computer uses 8-bit 2's complement representation for signed integers. What is the minimum negative integer value that can be represented in this computer?
- Q4.Which one of the following is the decimal equivalent of the 8-bit two's complement number ?
- Q5.What is the binary equivalent of the decimal number 13?
More Computer Awareness Questions
- Q1.Which of the following is hardware, not software?Organization, CPU, I/O Devices
- Q2.What is stored in an email address?Internet
- Q3.To take any text from its original place to another place without deleting it is calledMicrosoft Office
- Q4.________ are attempts by individuals to obtain confidential information from you by falsifying their identity.Computer Security
- Q5.Which of the following is used to move a document (or selected text)?Microsoft Office
Computer Number System — Preparation
This question tests your understanding of Computer Number System, a key topic in the Computer Awareness section. The detailed solution above uses a step-by-step approach to show the reasoning, and where available, a shortcut that helps you solve similar questions in under 90 seconds during the actual exam.
Computers store and process all data in binary, using only the digits 0 and 1. This topic covers the four number systems used in computing: binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16, using digits 0 to 9 and letters A to F). It covers converting numbers between these systems, binary arithmetic (addition, subtraction, multiplication and division), and complements (1's and 2's complement) used to represent negative numbers. The fastest conversions go through binary. Each octal digit equals a group of three binary digits, and each hexadecimal digit equals a group of four. To convert decimal to binary, divide by 2 repeatedly and read the remainders from bottom to top. Character encoding schemes such as ASCII and Unicode are also covered at a basic level. Practise the computer number system questions below, each with a step-by-step conversion.