Q17Multiple correct5 Marks28 Apr 2024
Consider the following pseudocode is executed using the "Words" dataset.
```
A = 0, flag = True
outList = [], intList = []
while(Table 1 has more rows){
Read the first row X in Table 1
if(flag){
intList = [X.Word]
flag = False
}
if(X.Word ends with a full stop){
outList = outList ++ [intList ++ [X.Word]]
A = A + 1
intList = []
flag = True
}
Move X to Table 2
}
```
At the end of the execution of above pseudocode, which of the following statements will be true?