Let X and Y be two rows in the “Library” table. We call X and Y compatible if books in rows X and Y are either published in the same year or under the same genre but not both. Let Compatible(X, Y) be a procedure to find whether X and Y are compatible. Choose the correct implementation of the procedure Compatible.
Let **X** and **Y** be two rows in the “Library” table. We call **X** and **Y** compatible if books in rows **X** and **Y** are either published in the same year or under the same genre but not both. Let **Compatible(X, Y)** be a procedure to find whether **X** and **Y** are compatible. Choose the correct implementation of the procedure **Compatible**. The following pseudocode is executed using the “Scores” dataset. Two students form a study pair if the difference of their Mathematics marks is at most 10. Figure from the passage in the original paper Based on the above data, answer the given subquestions. What will **count1** represent at the end of execution? The following pseudocode is executed using the “Scores” dataset. Two students form a study pair if the difference of their Mathematics marks is at most 10. Figure from the passage in the original paper Based on the above data, answer the given subquestions. What will **count2** represent at the end of execution?