Question 6
The following pseudocode is executed using the "Scores" dataset. What does List store at the end of execution?
D = { }List = [ ]while (Table 1 has more rows) { Read the first row X from Table 1 if (isKey(D, X.DateOfBirth)) { D[X.DateOfBirth] = D[X.DateOfBirth] ++ [X.SeqNo] } else { D[X.DateOfBirth] = [X.SeqNo] } Move the row X to Table 2}foreach i in keys(D) { if (length(D[i]) == 1) { List = List ++ D[i] }}Sequence number of students who share date of birth with another student
Sequence number of students who do not share date of birth with another student
List of sequence number of students who share date of birth with another student
List of sequence number of students who do not share date of birth with another student