Question 38
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.
Choose the correct statement based on the main data pseudocode.
For all i, j with i ≠ j, + = 1
For all i, j with i ≠ j, if = 1 then = 0
For all i, j with i ≠ j, if = 0 then = 1
For all i, j with i ≠ j, if = 1 then = 1
For all i, j with i ≠ j, if = 0 then = 0