Electronics and Communication Engineering - Digital Electronics - Discussion
Discussion Forum : Digital Electronics - Section 2 (Q.No. 4)
4.
4 bit 2's complement representation of a decimal number is 1000. The number is
Answer: Option
Explanation:
(a) and (d) both are option, But there is meaning to represent a positive number in 2's complement form, we take complement representation for negative number only. Therefore most appropriate number is "-8".
Discussion:
7 comments Page 1 of 1.
Hagamuchi said:
4 years ago
@Murai.
Do the 2's complement you will get 8.
Do the 2's complement you will get 8.
Murali said:
5 years ago
The answer is -7.
Because they ask the number -7 is equal to 0111 and 2's complement of 0111 is 1000.
So answer is -7.
Because they ask the number -7 is equal to 0111 and 2's complement of 0111 is 1000.
So answer is -7.
(1)
Bhagyashree said:
7 years ago
In the unsigned binary number MSB bit does not indicate any sign, but in signed binary number MSB indicates the sign.
In sign binary number, If MSB is '1' it indicates the -ve number and '0' indicate the +ve number.
Eg:10001---->-1.
00001---->1.
But in 2's complement, MSB has indicated both signs as well as value.
Eg:1000---->-8 (MSB bit is '1'so it is indicated -ve number, '1000'indicates 8 in decimal).
In sign binary number, If MSB is '1' it indicates the -ve number and '0' indicate the +ve number.
Eg:10001---->-1.
00001---->1.
But in 2's complement, MSB has indicated both signs as well as value.
Eg:1000---->-8 (MSB bit is '1'so it is indicated -ve number, '1000'indicates 8 in decimal).
(1)
Badhshah said:
8 years ago
The "-" sign depends on the MSB position.
So, the MSB is 1, the answer of 1000 is '-8'.
So, the MSB is 1, the answer of 1000 is '-8'.
Dharwendra Pandit said:
8 years ago
1000= 1st term is 1 so negative sign and 2^3 = 8 so -8.
Tharun said:
8 years ago
Negative number representation in 2' s complement is
-8 = 1000.
Then apply 1's complement i.e 0111.
Then add 1to the result i.e 1000.
-8 = 1000.
Then apply 1's complement i.e 0111.
Then add 1to the result i.e 1000.
Veeresh said:
9 years ago
How it is? Please explain the solutions.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers