Computational Thinking, Qualifier
The following pseudocode is executed using the "Words" dataset. What will A represent at the end of execution?
A = 0while (Table 1 has more rows) { Read the first row X in Table 1 if (X.PartOfSpeech == “Noun” and X.LetterCount > 6) { A = A + 1 } Move X to Table 2}The following pseudocode is executed using the "Words" dataset. What will **A** represent at the end of execution? A = 0 while (Table 1 has more rows) { Read the first row X in Table 1 if (X.PartOfSpeech == “Noun” and X.LetterCount > 6) { A = A + 1 } Move X to Table 2 } The following pseudocode is executed using the "Olympics" dataset. Assume that no player won more than one medal. What will **A** represent at the end of execution? A = 0 while (Pile 1 has more cards) { Read the first row X in Table 1 Move X to Pile 2 while (Pile 1 has more cards) { Read the first row Y in Table 1 Move Y to Pile 3 if (X.Nationality == Y.Nationality and X.Gender ≠ Y.Gender) { A = A + 1 } } Move all cards from Pile 3 to Pile 1 } The following pseudocode is executed using the "Scores" dataset. What will **Count** represent at the end of execution? It is a Multiple Select Question (MSQ). Count = 0 while (Table 1 has more rows) { Read the first row X in Table 1 Move X to Table 2 if (X.Mathematics == X.Physics or X.Gender ==‘M’) { Count = Count + 1 } }