Q25Single correct5 Marks7 Aug 2022
The following pseudocode is executed using the "Words" dataset. What will wordCount represent at the end of the execution?
```
wordCount = 0
while(Table 1 has more rows){
Read the first row X in Table 1
if(checkSomething(X) == 0){
wordCount = wordCount + 1
}
Move X to Table 2
}
Procedure checkSomething(Y)
i = 1, C = 0
A = False, B = False
while(i <= Y.LetterCount){
if(ith letter of Y.Word is vowel){
if(A and not B){
C = 1
}
A = True, B = False
}
else{
if(not A and B){
C = 1
}
A = False, B = True
}
i = i + 1
}
return(C)
End checkSomething
```