Q5Comprehension4 Marks28 Apr 2024
Passage
Based on the above data, answer the given subquestions.
The following pseudocode is executed using the "Scores" dataset.
```
A = 0, B = 0
while(Table 1 has more rows){
Read the first row X in Table 1
flag = False
if(X.gender == 'M' or X.Physics <= 90){
flag = True
}
if(not flag){
A = A + 1
if(X.Chemistry > 85){
B = B + 1
}
}
Move X to Table 2
}
```
What will B represent at the end of the execution?