Digital Electronics - Number Systems and Codes - Discussion
Discussion Forum : Number Systems and Codes - General Questions (Q.No. 14)
14.
Assign the proper odd parity bit to the code 111001.
Discussion:
11 comments Page 1 of 2.
Venkatesh said:
9 years ago
First bit is MSB and last bit is LBS. If MSB = 0 +ve value. If msb=1 -ve value.
(2)
Sarat said:
9 years ago
To make it odd. We have to add one more 1. As the number is a negative number it is not disturbed if we add 1 in MSB.
Michael said:
10 years ago
How do we add one to the front of this 111001?
Robin_poulose said:
1 decade ago
I believe it is not MSB we add parity.
First you need to know what is sent first: LSB or MSB. Second, you append the ODD parity bit at the end of the transmission such that the total number of 1s is odd. So, if you want to send the ASCII 'B' (0x42 -> 1000010) using a communication system that sends LSB first (most common), you would send 0xC2 (11000010), so you would see on the wire 0,1,0,0,0,0,1,1. If you're using a communication system that sends MSB first, the same 'B' would be sent as 0x85. In that case, you would see on the wire 1,0,0,0,0,1,0,1. I hope this helps!
A parity bit, or check bit, is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd. Parity bits are used as the simplest form of error detecting code.
First you need to know what is sent first: LSB or MSB. Second, you append the ODD parity bit at the end of the transmission such that the total number of 1s is odd. So, if you want to send the ASCII 'B' (0x42 -> 1000010) using a communication system that sends LSB first (most common), you would send 0xC2 (11000010), so you would see on the wire 0,1,0,0,0,0,1,1. If you're using a communication system that sends MSB first, the same 'B' would be sent as 0x85. In that case, you would see on the wire 1,0,0,0,0,1,0,1. I hope this helps!
A parity bit, or check bit, is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd. Parity bits are used as the simplest form of error detecting code.
Robin_poulose said:
1 decade ago
Same question :Why should we add 1 at msb position?
In Fundamentals of computer or wiki it just append 1 and don't add to msb. Anyone please clarify whether it add to MSB or just append 1 to make to 1' s count odd.
In Fundamentals of computer or wiki it just append 1 and don't add to msb. Anyone please clarify whether it add to MSB or just append 1 to make to 1' s count odd.
Jyothi said:
1 decade ago
Why should we add 1 at msb position? can anyone.
(1)
Sarath said:
1 decade ago
For the proper odd parity bit, the number of one's in the code should be odd. To add 1 as a MSB parity bit in the code. So answer is 1111001.
(1)
Prasanna said:
1 decade ago
In given code 111001, we have even no.of one's in it.
So to make that code into odd parity add 1 at the MSB position.
i.e 1111001.
So to make that code into odd parity add 1 at the MSB position.
i.e 1111001.
(1)
Reddy said:
1 decade ago
What is meant by parity?
(2)
Rama Krishna said:
1 decade ago
In odd parity bit the no of ones must be odd then the parity bit will be zero or else the parity bit will be one.
(2)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers