What's new
Sure, here are five examples of truth tables:

1. AND Gate Truth Table:

| Input 1 | Input 2 | Output |
| ------- | ------- | ------ |
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |

2. OR Gate Truth Table:

| Input 1 | Input 2 | Output |
| ------- | ------- | ------ |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |

3. XOR Gate Truth Table:

| Input 1 | Input 2 | Output |
| ------- | ------- | ------ |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |

4. NOT Gate Truth Table:

| Input | Output |
| ----- | ------ |
| 0 | 1 |
| 1 | 0 |

5. Full Adder Truth Table:

| Input A | Input B | Input C | Output S | Output C |
| ------- | ------- | ------- | -------- | -------- |
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
 
Sure, here are five examples of truth tables with statements:

1. Example 1: Conjunction

| Statement 1 | Statement 2 | Statement 1 ∧ Statement 2 |
|-------------|-------------|---------------------------|
| True | True | True |
| True | False | False |
| False | True | False |
| False | False | False |

2. Example 2: Disjunction

| Statement 1 | Statement 2 | Statement 1 ∨ Statement 2 |
|-------------|-------------|---------------------------|
| True | True | True |
| True | False | True |
| False | True | True |
| False | False | False |

3. Example 3: Negation

| Statement | ¬Statement |
|-----------|------------|
| True | False |
| False | True |

4. Example 4: Conditional Statement

| Statement 1 | Statement 2 | Statement 1 → Statement 2 |
|-------------|-------------|----------------------------|
| True | True | True |
| True | False | False |
| False | True | True |
| False | False | True |

5. Example 5: Biconditional Statement

| Statement 1 | Statement 2 | Statement 1 ↔ Statement 2 |
|-------------|-------------|----------------------------|
| True | True | True |
| True | False | False |
| False | True | False |
| False | False | True |

I hope that helps! Let me know if you have any questions.
 
Sure, here are five examples of truth tables:

1. Example 1: AND Gate

In this example, we have two inputs A and B and one output Y. The truth table for the AND gate is as follows:

| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |

2. Example 2: OR Gate

In this example, we have two inputs A and B and one output Y. The truth table for the OR gate is as follows:

| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |

3. Example 3: NOT Gate

In this example, we have one input A and one output Y. The truth table for the NOT gate is as follows:

| A | Y |
|---|---|
| 0 | 1 |
| 1 | 0 |

4. Example 4: XOR Gate

In this example, we have two inputs A and B and one output Y. The truth table for the XOR gate is as follows:

| A | B | Y |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |

5. Example 5: NAND Gate

In this example, we have two inputs A and B and one output Y. The truth table for the NAND gate is as follows:

| A | B | Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
 
Sure, here are five examples of solved problems of truth tables:

Problem 1: Construct a truth table for the following logical expression: (A AND B) OR NOT C

Solution:

| A | B | C | NOT C | A AND B | (A AND B) OR NOT C |
|---|---|---|-------|---------|-------------------|
| 0 | 0 | 0 | 1 | 0 | 1 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 1 |
| 1 | 0 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 | 1 |

Problem 2: Construct a truth table for the logical expression: NOT (A OR B) AND C

Solution:

| A | B | C | A OR B | NOT (A OR B) | NOT (A OR B) AND C |
|---|---|---|-------|-------------|-------------------|
| 0 | 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 |

Problem 3: Construct a truth table for the logical expression: (A AND B) AND NOT C

Solution:

| A | B | C | NOT C | A AND B | (A AND B) AND NOT C |
|---|---|---|-------|---------|---------------------|
| 0 | 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 | 0 |

Problem 4: Construct a truth table for the logical expression: (A OR B) AND (C OR D)

Solution:

| A | B | C | D | A OR B | C OR D | (A OR B) AND (C OR D) |
|---|---|---|---|-------|--------|-----------------------|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 1 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 | 1 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 | 1 | 1 |
| 0 | 1 | 1 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 |

Problem 5: Construct a truth table for the logical expression: (A AND B) XOR (C AND D)

Solution:

| A | B | C | D | A AND B | C AND D | (A AND B) XOR (C AND D) |
|---|---|---|---|---------|---------|-------------------------|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 | 0 |

I hope this helps!
 
Sure, here are five solved problems using construction of truth table:

Problem 1: Construct a truth table for the following logical expression: p OR (q AND r)

Solution:

| p | q | r | q AND r | p OR (q AND r) |
| --- | --- | --- | ------- | -------------- |
| T | T | T | T | T |
| T | T | F | F | T |
| T | F | T | F | T |
| T | F | F | F | T |
| F | T | T | T | T |
| F | T | F | F | F |
| F | F | T | F | F |
| F | F | F | F | F |

Problem 2: Construct a truth table for the following logical expression: (p AND q) OR (NOT p)

Solution:

| p | q | NOT p | p AND q | (p AND q) OR (NOT p) |
| --- | --- | ----- | ------- | -------------------- |
| T | T | F | T | T |
| T | F | F | F | F |
| F | T | T | F | T |
| F | F | T | F | T |

Problem 3: Construct a truth table for the following logical expression: (p OR q) AND (NOT p OR r)

Solution:

| p | q | r | NOT p | p OR q | NOT p OR r | (p OR q) AND (NOT p OR r) |
| --- | --- | --- | ----- | ------ | ----------| ----------------------- |
| T | T | T | F | T | T | T |
| T | T | F | F | T | F | F |
| T | F | T | F | T | T | T |
| T | F | F | F | T | F | F |
| F | T | T | T | T | T | T |
| F | T | F | T | T | T | T |
| F | F | T | T | F | T | T |
| F | F | F | T | F | F | F |

Problem 4: Construct a truth table for the following logical expression: (p AND q) AND r

Solution:

| p | q | r | p AND q | (p AND q) AND r |
| --- | --- | --- | ------- | --------------- |
| T | T | T | T | T |
| T | T | F | T | F |
| T | F | T | F | F |
| T | F | F | F | F |
| F | T | T | F | F |
| F | T | F | F | F |
| F | F | T | F | F |
| F | F | F | F | F |

Problem 5: Construct a truth table for the following logical expression: (p OR q) AND NOT(q AND r)

Solution:

| p | q | r | q AND r | p OR q | NOT(q AND r) | (p OR q) AND NOT(q AND r) |
| --- | --- | --- | ------- | ------ | ------------ | ------------------------ |
| T | T | T | T | T | F | F |
| T | T | F | F | T | T | T |
| T | F | T | F | T | T | T |
| T | F | F | F | T | T | T |
| F | T | T | T | T | F | F |
| F | T | F | F | T | T | T |
| F | F | T | F | F | T | F |
| F | F | F | F | F | T | F |

I hope these examples will help you to understand how to construct truth tables for different logical expressions.
 

Similar threads

Back
Top