Q7Numerical5 Marks31 Aug 2025
The given pseudocode is executed using a dataset having the same fields as the "Words" dataset, and contains the following words:
"The website interface is clean and easy to navigate. However, my order arrived late and the packaging was damaged. The customer care executive listened patiently and resolved the issue promptly. Unfortunately, the replacement product was defective and poorly built."
What will the value of posSen be at the end of the execution of the above pseudocode?
```
positiveList = ["clean", "patiently", "resolved", "promptly", "arrived", "packaging"]
posSen = 0, L = []
while(Table 1 has more rows){
Read the first row X in Table 1
L = L ++ [X.Word]
if(X.Word ends with full stop){
L = unique(L)
posCount = common(positiveList, L)
if(posCount >= 3){
posSen = posSen + 1
}
L = []
}
Move X to Table 2
}
```
Press Enter to check.