Q12Single correct5 Marks13 Apr 2025
The following pseudocode is executed using the "Words" dataset. Let unique(L) return the list of unique elements of L. At the end of the execution, wCount represent dictionary with words as keys mapped to the number of sentences in which the word is present. Choose the correct code fragment to complete the pseudocode.
Note: Ignore the upper and lower case, and punctuation symbols while comparing with other words.
```
wList = []
wCount = {}
while(Table 1 has more rows){
Read the first row X from Table 1
wList = wList ++ [X.Word]
if(X.Word ends with a full stop){
uniqueList = unique(wList)
foreach word in uniqueList{
*****************************
* Fill the code *
*****************************
}
wList = []
}
Move X to Table 2
}
```
―――――――――――――――――――――――――――――――――――――――――――――――――――――――