Question 1
Table 1 holds the "Scores" dataset.
| Name | City | Maths | Physics |
|---|---|---|---|
| Nikhil | Jaipur | 96 | 91 |
| Dev | Kochi | 95 | 48 |
| Farid | Chennai | 81 | 32 |
| Asha | Kochi | 39 | 65 |
| Omkar | Kochi | 30 | 91 |
| Meena | Pune | 98 | 90 |
| Kavya | Kochi | 98 | 86 |
The following pseudocode is executed.
max = 0while (Table 1 has more rows) { Read the first row X in Table 1 if (X.Maths > max) { max = X.Maths } Move X to Table 2}count = 0while (Table 2 has more rows) { Read the first row Y in Table 2 if (Y.Maths == max) { count = count + 1 } Move Y to Table 3}Print countWhat is printed?