Q51.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
if(X.Gender == "M" and X.CityTown == "Chennai"){
A = A + X.Mathematics
}
Move X to Table 2
}
```
Save
Check
Details
Q51
5 Jun 2022
Q51.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
if(X.Gender == "M" and X.CityTown == "Chennai"){
A = A + X.Mathematics
}
Move X to Table 2
}
```