Solve cups logic puzzle with one true statement
BitkernelSoftware Engineer · Online AssessmentLast updated
This question evaluates logical reasoning and propositional-logic skills, assessing the ability to analyze mutually dependent statements and derive consistent conclusions within a constraint-satisfaction context.
There are 4 cups on a table. Each cup has a statement written on it:
- Cup 1 says: All cups contain fruit candy.
- Cup 2 says: This cup contains apples.
- Cup 3 says: This cup does not contain chocolate.
- Cup 4 says: Some cups do not contain fruit candy.
Exactly one of these four statements is true.
Which of the following must be true?
Options:
- A. All cups contain fruit candy.
- B. No cup contains fruit candy (all cups lack fruit candy).
- C. No cup contains apples.
- D. The third cup contains chocolate.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.