Fortune Telling Collection - Fortune-telling birth date - What are the basic logical operations?
What are the basic logical operations?
1, and operation
And operation, also called intersection, means that for two propositions A and B, their conjunction is "AND". If and only if A and B are true at the same time, the whole connection proposition is true.
For example, if A means "Today is Monday" and B means "Today is sunny", then the connection result of A and B is "Today is Monday, today is sunny".
2. Or operation
Or operation, also called union, means that for two propositions A and B, their conjunction is "OR". When one of A or B holds, the whole connection proposition holds.
For example, if A means "there are bananas in this box" and B means "there are apples in this box", then the connection result of A or B means "there are bananas or apples in this box".
3. Non-operation
No operation, also known as inversion, refers to the inversion of the true value of proposition A (that is, A is true and false after inversion; If a is false, it is true after inversion).
For example, a means "today is sunny", then non-A means "today is not sunny".
These three logical operations can be used alone or in combination to form more complex logical expressions. In the field of computer science and electronic engineering, logic operation is widely used in circuit design, computer programming and other fields, and is the basis of realizing digital logic. In daily life, logical operation is often used for judgment, reasoning, proof, etc. It is a way of thinking and a tool.
- Previous article:The old man tells his pulse _ Does the old man tell his pulse accurately?
- Next article:What's the score of the name Rui Lin?
- Related articles
- 2022 dormitory essay (55 sentences)
- What does Guan Yunchang's failure in Maicheng mean?
- Fortune-telling about the enemy.
- Fortune teller says the market is good or bad _ What did fortune teller say?
- How old can a child go to a fortune teller _ How old can a child go to a fortune teller?
- Fortune-telling consulting network
- Definition of stem in linguistics
- Can I change my child's name before registering?
- 197 1 lunar September 15 9: 00 am 10 male Shandong measures the fate of four pillars and eight characters.
- Ganzi flower