Let X and Y be two rows in the "Scores" table. We call X and Y partially matching if student X and Y either have the same gender or are from the same city, but not both.
Let partialMatch(X, Y) be a procedure to find whether X and Y are partially matching. Choose the correct implementation of the procedure partialMatch.
Q4
28 Apr 2024
Computational Thinking Β· Week 3
Q4.Let X and Y be two rows in the "Scores" table. We call X and Y partially matching if student X and Y either have the same gender or are from the same city, but not both.
Let partialMatch(X, Y) be a procedure to find whether X and Y are partially matching. Choose the correct implementation of the procedure partialMatch.