Abstract
In most programming languages, there are logical operators "logical NOT", "logical AND", "logical OR". There are also logical bitwise operators "bitwise NOT", "bitwise AND", "bitwise OR", "bitwise XOR". This article discusses the possibility of using other non-logical operators (comparison, arithmetic, shift, identification) to replace and conveniently shorthand other logical functions or logical operators in binary logic in a programming language and, on the other hand, code obfuscation capabilities. The considered examples cover the basic operations of the Python programming language and can be used in other programming languages. The problems of using other operations as logical ones are covered. The article also provides truth tables for all unary and binary Boolean functions and corresponding non-logical functions, as well as the generally accepted names of unary and binary Boolean functions and operations put together.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.