Question 2
The following pseudocode is executed using the "Words" dataset. What does count represent at the end of execution?
A = False, B = False, count = 0while (Table 1 has more rows) { Read the first row X from Table 1 if (X.PartOfSpeech == "Pronoun") { A = True } if (X.PartOfSpeech == "Noun") { B = True } if (X.PartOfSpeech == "Adjective") { if (A and B) { count = count + 1 } } Move the row X to Table 2}Total number of adjectives
Number of adjectives before a noun and after a pronoun
Number of adjectives before a noun and a pronoun
Number of adjectives after both a noun and a pronoun have been seen