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