1
Let be that it is below freezing. Let be that it is snowing.
(a)
- (one implies the other)
(b)
- It is not below freezing.
- If it is below freezing then it is snowing.
- It is below freezing or it is snowing or both.
- It is below freezing and it is snowing.
- If it is not below freezing then it is not snowing.
- It is below freezing if and only if it is snowing.
- It is not below freezing and it is not snowing.
- It is not below freezing or it is below freezing and snowing
or both. (both would be a contradictory statement)
title:
Correct answers.2
Let be that the system software is being upgraded. Let be that users can access the file system. Let be that users can save new files.
Hence:
title:
Correct answer.3
Construct syntactic decomposition tree of:
*Done on paper.
4
Consider .
- Construct a truth table.
| interpretation | ||||||||
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | |
| 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | |
| 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | |
| 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 |
It is a contingency as it is neither:
- a tautology as not all values are true
- a contradiction as some values are true
title:
Correct answer.5
- If there are winds from the south, then there is a spring thaw.
- If you bought the computer less than a year ago, then the warranty is good.
- If Lenny cheats then Lenny gets caught.
If you pay a subscription fee then you can access the website.If you can access the website, then you have paid a subscription fee.If you have a valid password then you can log on to the server.If you can log on to the server then you must have a valid password.- If the water is not too cold then Jan will go swimming.
- If you learn discrete mathematics then you will find a good job.
6
title:
Should be using $\lor$ not $\oplus$.
$$
\begin{aligned}
\neg P_4 \rightarrow \neg P_2 \lor P_3 \lor P_1
&= \neg F \rightarrow \neg T \lor F \lor T \\
&= T \rightarrow (F \lor F) \lor T \\
&= T \rightarrow T \\
&= T
\end{aligned}
$$
Find error above, not sure.7
| interpretation | |||
|---|---|---|---|
| 0 | 0 | 1 | |
| 0 | 1 | 1 | |
| 1 | 0 | 1 | |
| 1 | 1 | 0 |
| interpretation | ||||
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | |
| 0 | 1 | 0 | 1 | |
| 1 | 0 | 0 | 1 | |
| 1 | 1 | 1 | 0 |
Hence they are logically equivalent.