سوال ۹۷ کنکور ارشد علوم کامپیوتر ۱۴۰۰
موارد زیر مفروض است:
- p= هوا سرد است.
- q= باران میبارد.
- r= نیاز به پوشیدن کلاه است.
- s= نیاز به پوشیدن بارانی است.
کدام گزینه بیانگر گزاره زیر است؟
«اگر نه هوا سرد باشد نه باران ببارد، نه نیاز به پوشیدن بارانی است نه نیاز به پوشیدن کلاه»
پاسخ صحیح: گزینهٔ C —
Translate the English sentence piece by piece into propositional logic.
Atomic propositions.
| symbol | meaning |
|---|---|
| the weather is cold | |
| it is raining | |
| a hat needs to be worn | |
| a raincoat needs to be worn |
The hypothesis (the "if" part).
"Neither the weather is cold nor it is raining" uses the construction neither A nor B, which means not A and not B:
The conclusion (the "then" part).
"Neither a raincoat needs to be worn nor a hat needs to be worn" is again neither/nor. The raincoat is and the hat is , so:
Assemble the conditional.
"If (hypothesis) then (conclusion)" is the implication
which is exactly option 3.
Why the others fail.
- Option 1 keeps the conclusion as (positive) — it forgets to negate, saying both items are needed. Wrong.
- Option 2 uses (positive) for the hypothesis instead of . Wrong.
- Option 4 has (only negated, not ) and a weaker consequent , which by De Morgan is — "not both", not "neither". Wrong.
Pitfall: "neither A nor B" is , not . The latter only says they are not both true. Distinguishing from is precisely what separates the correct option from option 4.