Складіть таблиці істинності логічних виразів зі змінними логічного типу а і b:
1) a or not a and b;
2) a and (not b or a) and b;
3) a or b and c or not b
Ответы
Ответ:
1)
| a | b |not a and b| a or not a and b |
|--------|--------|-----------|-----------------------|
| True | True | False | True |
| True | False | False | True |
| False | True | True | True |
| False | False | False | False |
2)
| a | b |not b or a | a and (not b or a) and b |
|--------|--------|----------|-------------------------|
| True | True | True | True |
| True | False | True | False |
| False | True | True | False |
| False | False | True | False |
3)
| a | b | c | b and c | a or b and c or not b |
|--------|--------|--------|-----------|------------------------------|
| True | True | True | True | True |
| True | True | False | False | True |
| True | False | True | False | True |
| True | False | False | False | True |
| False | True | True | True | True |
| False | True | False | False | False |
| False | False | True | False | False |
| False | False | False | False | True |
Объяснение: