Question 9
The following pseudocode is executed using the "Olympics" dataset. When will count2 be greater than count1?
D = { }count1 = 0count2 = 0while (Table 1 has more rows) { Read the first row X from Table 1 if (isKey(D, X.Name)) { D[X.Name] = D[X.Name] + 1 } else { D[X.Name] = 1 } Move the row X to Table 2}foreach k in keys(D) { if (D[k] < 6) { count1 = count1+ 1 } else { count2 = count2+ 1 }}If the number of players who have won at most 6 medals is greater than the number of players who have won at least 6 medals.
If the number of players who have won less than 6 medals is greater than the number of players who have won at least 6 medals.
If the number of players who have won at most 6 medals is lesser than the number of players who have won at least 6 medals.
If the number of players who have won at least 6 medals is greater than the number of players who have won less than 6 medals.