Question 1
The following pseudocode is executed using the "Words" dataset. What will A represent at the end of the execution?
1 A = 0 2 while(Table 1 has more rows){ 3 Read the first row X in Table 1 4 i = 1, B = True 5 while(i <= X.LetterCount){ 6 if(ith letter of X.Word is a vowel){ 7 B = False 8 } 9 i = i + 110 }11 if(B){12 A = A + 113 }14 Move X to Table 215 }Number of words with at most one vowel
Number of words with exactly one vowel
Number of words with only vowels
Number of words without vowels
