Hacker News new | ask | show | jobs
by mcphage 1596 days ago
I think the question is phrased pretty explicitly to be of the form "If A then B". Are you saying that they're being misleading? Or are you saying that the normal english meaning of "If A then B" is "A therefore B and B therefore A"?

The later might be the case—"or" is another case where the logical connective and normal interpretation differ; the logical "or" is inclusive, but the standard english meaning is exclusive. Then the fact that people are more likely to get question 3 correct is due to the fact that we're more familiar with the situation, and so already know that "If A then B" really is the logical connective.

2 comments

It's not asking you to test the card alone. It's asking to test the rule as it applies to the card. You have to check ABBA or you're not actually applying the rule to the card. This seems like QA done by an engineer vs QA done by someone who cares about QA. The "right" answer here is wrong.
> The "right" answer here is wrong.

I assume by "right", you mean the answer given? What do you think the correct answer is?

For example, the site argues that for the first test, you don't need to flip the yellow card.

Your goal, is to test the application of the rule, not, the card itself. This is specified at:

"You have to ensure that cards have been produced in accordance with the following rule"

The rule is "If a card has a circle on one side, then it has the colour yellow on the other side."

Given a card that is yellow on the other side, you must flip it to confirm that the first half of the statement is true. Why? Because the challenge isn't to test the card, it's to test application of the rule. You can't simply assume that the rule has always worked, otherwise there is no need to test.

A square on one side, with a yellow flip side would violate the rule and thus show a defect.

I get that it's going to be a linguistics argument all the way down> For me, this is a perfect example of "works for me" engineer response vs QA doing actual testing.

How would you phrase a rule that adheres to the logical if-then connective?
I don't think they are intentional misleading. It's just that most people don't read correctly stated logical statements often and might interpret more meaning into the sentence than was intended.