Q33Single correct5 Marks3 Sep 2023
The given pseudocode is executed using the "Words" dataset. What will represent at the end of execution?
```
D = {}, A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
D = updateDictionary(D, X)
Move X to Table 2
}
foreach C in keys(D){
if(C is a vowel and D[C] > A){
A = D[C]
}
}
Procedure updateDictionary(D, Y)
i = 1
while(i <= Y.LetterCount){
B = ith letter in Y.Word
if(isKey(D, B)){
D[B] = D[B] + 1
}
else{
D[B] = 1
}
i = i + 1
}
return(D)
End updateDictionary
```