Q5.The following pseudocode is executed using the "Scores" dataset. What will `A` represent at the end of the execution?
```
A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
B = True
if(X.Physics < X.Mathematics){
B = False
}
if(X.Mathematics < X.Chemistry){
B = False
}
if(X.Chemistry < X.Physics){
B = False
}
if(B == True){
A = A + 1
}
Move X to Table 2
}
```
Save
Check
Details
Q5
26 Oct 2025
Q5.The following pseudocode is executed using the "Scores" dataset. What will `A` represent at the end of the execution?
```
A = 0
while(Table 1 has more rows){
Read the first row X in Table 1
B = True
if(X.Physics < X.Mathematics){
B = False
}
if(X.Mathematics < X.Chemistry){
B = False
}
if(X.Chemistry < X.Physics){
B = False
}
if(B == True){
A = A + 1
}
Move X to Table 2
}
```