Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Determine the odd parity for each of the following data words?

oslon

New Member
1011101
11110111
1001101

Odd parity=1 if number of 1s=odd
otherwise odd parity=0.

P=1
P=1
P=0

But the answer is P=0,P=0,P=1 (which can be wrong). I am just trying to verify.
 
101 1101 = Already ODD, added bit 0
1111 0111 = Already ODD, added bit 0
100 1101 = EVEN, needs a 1 to make it ODD

The result after adding the parity bit is what should be even or odd, as required.
 

Latest threads

New Articles From Microcontroller Tips

Back
Top