Q4Multiple correct6 Marks6 May 2026
Consider the following pseudocode is executed using the "Words" dataset.
```
A = 0, flag = True
inList = [], outList = []
while (Table 1 has more rows){
Read the first row X in Table 1
if(flag){
inList = [X.Word]
flag = False
}
if(X.Word ends with a full stop){
outList = outList ++ [inList ++ [X.Word]]
if(X.PartOfSpeech == "Noun"){
A = A + 1
}
inList = []
flag = True
}
Move X to Table 2
}
```
Which of the following statements is/are true?
────────────────────────────────────────