Question 36
The following pseudocode is executing using the “Scores” table. At the end of the execution,matrix represents the adjacency matrix of the graph generated from the “Scores” table.
Based on the above data, answer the given subquestions.
If matrixPh[i] [j] = 1, then:
i scored at most 10 and at least 20 more marks in Physics than j
i scored at least 10 and at most 20 more marks in Physics than j
j scored at least 10 and at most 20 more marks in Physics than i
j scored at most 10 and at least 20 more marks in Physics than i