Q15.The following pseudocode is executed using the "Scores" dataset. What will `count` represent at the end of the execution?
```
count = 0, A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
if(X.Gender == 'F' or X.Mathematics > X.Physics){
A = A + 1
}
else{
count = count + 1
}
Move X to Table 2
}
```
Save
Check
Details
Q15
27 Oct 2024
Q15.The following pseudocode is executed using the "Scores" dataset. What will `count` represent at the end of the execution?
```
count = 0, A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
if(X.Gender == 'F' or X.Mathematics > X.Physics){
A = A + 1
}
else{
count = count + 1
}
Move X to Table 2
}
```