Q10Single correct3 Marks30 Apr 2023
The following pseudocode is executed using the "Scores" dataset. What will count represent at the end of the execution?
```
count = 0
while(Table 1 has more rows){
Read the first row X in Table 1
flag1 = False, flag2 = False
if(X.Gender == 'M'){
flag1 = True
}
if(X.CityTown == 'Chennai'){
flag2 = True
}
if(flag1 == flag2){
count = count + 1
}
Move X to Table 2
}
```
Consider the following variables which stores the following data:
= Number of male students from Chennai
= Number of female students from Chennai
= Number of male students not from Chennai
= Number of female students not from Chennai
Based on the above statements what will count represent at the end of the execution of the above pseudocode?