What will be the 2’s complement of the given numbers which are in signedbinary representation? 00010010 01001010
Question
What will be the 2’s complement of the given numbers which are in signedbinary representation? 00010010 01001010
Solution
To find the 2's complement of a binary number, follow these steps:
-
Find the 1's complement of the binary number. This is done by flipping all the bits in the binary number. A '1' becomes a '0' and a '0' becomes a '1'.
-
Add 1 to the 1's complement.
Let's apply these steps to the given binary numbers:
- 00010010
- 01001010
Step 1: Find the 1's complement
- 00010010 -> 11101101
- 01001010 -> 10110101
Step 2: Add 1 to the 1's complement
- 11101101 + 1 -> 11101110
- 10110101 + 1 -> 10110110
So, the 2's complement of 00010010 is 11101110 and the 2's complement of 01001010 is 10110110.
Similar Questions
The 2’s complement of the binary number 01010110 is
Which of the following represents the two's complement of the binary number 1101?001100101011111
2. How to convert the binary number 111011101102 into a decimal number system?3. Find the equivalent decimal system for the binary number 1100110012.4. Give the 8-bit 2's complement signed representation of following values.a. -79b. 1275. Convert the following decimal values to a 12-bit 2's complement representation.a. 1024b. -1286. Convert the following decimal values to a 16-bit 2's complement representation.a. -16384b. 81927. In the binary system, every number and its sign are represented using only two digits, 0 and 1.To represent negative and positive numbers, the 2’s complement method is often used, as itallows for easy binary arithmetic operations on signed or unsigned numbers. Compute thefollowing binary arithmetic operations using the 2’s complement method.a. Sum of -9 and 25b. Sum of -20 and -15c. Multiplication of -3 by -8d. Multiplication of -12 by -5e. Division of -40 by -4
Convert the following decimal values to 8-bit 2's complement representation(1*2 Marks)i. -92ii. -36c) Perform the following conversions. (1*2 Marks)i. 11000112 converts into a decimal number systemii. 10111112. converts into a decimal number systemd) Convert the following decimal values to a 12-bit 2's complement representation.(1*2 Marks)i. -189ii. -74
n binary system each and every number and its sign are represented by using only thesetwo digits 0 and 1. As the negative and positive signs cannot be written directly in binarysystem. The alternative method to represent negative and positive numbers is the 2’scomplement method. It has an interesting property that the binary arithmetic operationcan be performed easily on signed or unsigned numbers. Compute the following binaryarithmetic operations using 2’s complement method. Show all the steps clearly. (LO 01)(2*5 = 10 Marks)a) Sum of -30 and 17b) Sum of -42 and -15c) Sum of -13 and -16d) Multiplication of -8 by 6e) Multiplication of -11 by -9
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.