Odd Parity Bit

Reading time ~1 minute

Need to write an Algorithm/Code for the following problem. Its a basic probelm which can help you to build confidence.

1000
0101

need to generate parity bits continuously: initially row-size and then column-size based on the given option of odd parity or even parity.

  • ODD PARITY
10000
01011
10000
01011
00100

and so on.. for the given number of rows and columns

similarly, for even parity too.

  • EVEN PARITY
10001
01010
10001
01010
11011

and so on..

you can discuss in the comment section below.!

Post with a Background Image

Sample post with a background image CSS override. Continue reading

Syntax Highlighting Post

Published on August 16, 2013

Sample Link Post

Published on August 12, 2013