0% found this document useful (0 votes)
147 views2 pages

Boo Lean Logic

1. The document defines Boolean operators such as NOT, AND, OR, and XOR and provides their truth tables. 2. It then gives 5 examples of Boolean expressions using these operators and describes when each expression equals 1 based on the values of P and Q. 3. The examples are intended to demonstrate how to use Boolean operators and truth tables to evaluate expressions involving two variables.

Uploaded by

jsjhdu827
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views2 pages

Boo Lean Logic

1. The document defines Boolean operators such as NOT, AND, OR, and XOR and provides their truth tables. 2. It then gives 5 examples of Boolean expressions using these operators and describes when each expression equals 1 based on the values of P and Q. 3. The examples are intended to demonstrate how to use Boolean operators and truth tables to evaluate expressions involving two variables.

Uploaded by

jsjhdu827
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Boolean Operators and Truth Tables 1.

NOT P 0 1 NOT P 1 0

2. AND P 0 0 1 1 Q 0 1 0 1 P AND Q 0 0 0 1

3. OR P 0 0 1 1 Q 0 1 0 1 P OR Q 0 1 1 1

4. XOR P 0 0 1 1 Q 0 1 0 1 P XOR Q 0 1 1 0

Examples 1. S = P AND NOT Q P 0 0 1 1 Q 0 1 0 1 NOT Q 1 0 1 0 P AND NOT Q 0 0 1 0

S is 1 when P = 1 and Q = 0.

2. S = NOT (P OR Q) P 0 0 1 1 Q 0 1 0 1 P OR Q 0 1 1 1 NOT (P OR Q) 1 0 0 0

S is 1 when P = 0 and Q = 0.

3. M = NOT (NOT P AND Q) P 0 0 1 1 Q 0 1 0 1 NOT P 1 1 0 0 NOT P AND Q 0 1 0 0 NOT (NOT P AND Q) 1 0 1 1

M is 1 when P = 0 and Q = 0, P =1 and Q = 0, P=1 and Q = 1.

4. N = P OR NOT (NOT Q) P 0 0 1 1 Q 0 1 0 1 NOT Q 1 0 1 0 NOT (NOT Q) 0 1 0 1 P OR NOT (NOT Q) 0 1 1 1

N is 1 when P = 0 and Q = 1, P = 1 and Q = 0, P = 1 and Q = 1.

5. X = (P XOR Q) AND NOT P P 0 0 1 1 Q 0 1 0 1 P XOR Q 0 1 1 0 NOT P 1 1 0 0 (P XOR Q) AND NOT P 0 1 0 0

X is 1 when P = 0 and Q = 1.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy