Q5Comprehension3 Marks20 Nov 2022
Passage
The following pseudocode is executed using the Scores dataset. At the end of execution, `medalList` should store the sequence numbers of students who have total marks at least 200 and have scored more than 80 marks in at least two subjects. Answer the subquestions.
```
medalList = [], A = 0, scount = False
while(Table 1 has more rows) {
Read the first row X in Table 1
A = X.Total
scount = nSub(X.SeqNo)
if((A >= 200) and scount) {
medalList = medalList ++ [X.SeqNo]
}
Move X to Table 2
}
```
Which statement(s) are true about `nSub` based on the parent pseudocode?