Continuous Parity Bit Generator

1 mins read. Continuous Parity Bit Generator

Need to write an Algorithm for the following problem

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.!

Thank you, Bharath Sathuri.