Q34.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 == 'M' or X.Mathematics > X.Physics){
A = 1
}
else{
count = count + 1
}
Move X to Table 2
}
```
Save
Check
Details
Q34
16 Oct 2022
Q34.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 == 'M' or X.Mathematics > X.Physics){
A = 1
}
else{
count = count + 1
}
Move X to Table 2
}
```