GithubHelp home page GithubHelp logo

even-parity's Introduction

Even-Parity

License: MIT

Even-Parity cover image

With this code you can test the function of both even parity and double even parity. The menu is

Even-Parity cover image

Case 1

Here, the user gives an input and the program returns the same message with even parity applied to it. An example can be seen below.

Even-Parity cover image

Case 2

Here, the user gives an input and the program creates 3 outputs. One without any errors, one with a single error and one with two errors. As we can see from the example below, even parity cannot detect that the message has errors if the number of errors is an even number.

Even-Parity cover image

Case 3

Here, the user gives a 28-bit input and the program creates 4 7-bit numbers so as to apply double even parity and return the output. An example can be seen below.

Even-Parity cover image

Case 4

Here, purposely the program add some errors on the given input in order to check if double even parity can detect them. Altought, double even parity is stronger than even parity (since it can detect the exact location of errors), there are specific occasions that it cannot detect errors. These occasions are:

  1. single error on one of the 4 corners
  2. 4 * k errors that create k rectangles

An example can be seen below.

Even-Parity cover image

even-parity's People

Contributors

nikitasmaragkos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.