The sequence of operations performed by hardware or software. It is the computer's "intelligence." Hardware logic is contained in the electronic circuits and follows the rules of Boolean logic. Software logic (program logic) is contained in the placement of instructions written by the programmer. Software logic is called "business logic" when it refers to the transactions of the business rather than underlying infrastructure such as the operating system, database management system (DBMS) or network.
Logic Is Not Logical
The term "logic" is not the same as "logical." Logic refers to algorithms and operational sequences; whereas, "logical" refers to a higher-level view of hardware, software or data that is not tied to physical structures (see logical vs. physical
). See also logical expression