Home  >  Article  >  What are the three basic logical operators?

What are the three basic logical operators?

hzc
hzcOriginal
2020-06-22 15:39:5726327browse

What are the three basic logical operators?

Logical algebra has three basic logical operations: AND, OR, and NOT. It is algebra that operates according to certain logical relationships, and is a mathematical tool used to analyze and design digital circuits. In addition, the logical AND operation of logical variables is called the AND term, and the logical OR operation of the AND term constitutes the AND or expression of the logical function, which is also called the sum of products expression.

There are three most basic logical operations:

1) Logical AND - represented by AB: when A and B are both 1, its value is 1, otherwise it is zero;

2) Logical OR - use A B to express: when A and B are both 0, its value is 0, otherwise it is 1;

3) Logical NOT - use '¯' on A Indicates that when A=0, the non-value of A is 1, and when A=1, the non-value of A is 0.

What are the three basic logical operators?

Extended information:

Using the basic formulas and rules of logical algebra, the logical function can be transformed to obtain the expression of Simplest form. The so-called simplest form here refers to the simplest AND-OR formula or the simplest OR-AND formula. There are two criteria for judging them: the least number of terms; under the condition of the least number of terms, the least words in the terms.

The Karnaugh map is formed according to certain rules. Due to these laws, many characteristics of logical algebra are vividly and intuitively reflected in graphics, making it a powerful tool for formula proof and function simplification.

The above is the detailed content of What are the three basic logical operators?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn