Q9Single correct5 Marks30 Apr 2023
The following pseudocode is executed using the "Olympics" dataset. What will N and count represent at the end of the execution?
```
A = 1, N = 0, count = 0
while(Table 1 has more rows){
Read the first row X in Table 1
Move X to Table 2
while(Table 1 has more rows){
Read the first row Y in Table 1
if(X.Name == Y.Name){
A = A + 1
Move Y to Table 2
}
else{
Move Y to Table 3
}
}
if(A > N){
N = A
}
A = 1
count = count + 1
Move all rows from Table 3 to Table 1
}
```