Question 1
The following pseudocode is executed using the "Scores" dataset. What will count represent at the end of the execution?
1 count = 0 2 while(Table 1 has more rows){ 3 flag1 = False, flag2 = False 4 Read the first row X in Table 1 5 if(X.Gender == 'F'){ 6 flag1 = True 7 } 8 if(X.CityTown == "Chennai"){ 9 flag2 = True10 }11 if(flag1 == flag2){12 count = count + 113 }14 Move X to Table 215 }Number of students who are either female or are from Chennai.
Number of female students from other than Chennai.
Number of female students from Chennai + number of male students from other than Chennai.
Number of all students except female students from other than Chennai.
