This is a demonstration of perceptron model and its application on logic gates which are AND, NAND, NOR, OR, NOT, XOR, XNOR. XOR & XNOR gates fail on training.