@Shivam, I find the examples written on wikipedia useful, but you are claiming that nothing helped ... so I suggest: try auto-evaluation using this WolframAlpha calculator. It is free, online: http://www.wolframalpha.com/widget/widgetPopup.jsp?p=v&id=4c86f3bbcab249f879058d1825887571&title=Boolean%20Algebra%20Calculator&theme=green