A function given by a logical expression write in the truth table.

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
vokan12
Messages
1
Reaction score
0
Hi I need help I'm lost

Assignment:
A function given by a logical expression Y = A.B.D + A.not (C) .D + A.not (B) .C.D + A.D write in the truth table.
 
Physics news on Phys.org
A B C D Y0 0 0 0 00 0 0 1 00 0 1 0 00 0 1 1 00 1 0 0 00 1 0 1 00 1 1 0 00 1 1 1 01 0 0 0 01 0 0 1 01 0 1 0 01 0 1 1 11 1 0 0 01 1 0 1 11 1 1 0 01 1 1 1 1
 


| A | B | C | D | Y |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 |
| 1 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |

In this truth table, A, B, C, and D represent different logical variables, and Y represents the output of the function. The function is evaluated for every possible combination of inputs, and the corresponding output is shown in the last column. Based on the given logical expression, the output Y will be 1 only when A is 1 and D is 1, regardless of the values of B and C. Therefore, the truth table shows that the function Y = A.D.