Q14.The following pseudocode is executed using the "Words" dataset. What will `count` represent at the end of the execution?
```
count = 0
while(Table 1 has more rows){
flag1 = False, flag2 = False
Read the first row X in Table 1
if(X.PartOfSpeech == "Adverb"){
flag1 = True
}
if(X.LetterCount <= 5){
flag2 = True
}
if(flag1 and flag2){
count = count + 1
}
Move X to Table 2
}
```
Save
Check
Details
Q14
23 Feb 2025
Q14.The following pseudocode is executed using the "Words" dataset. What will `count` represent at the end of the execution?
```
count = 0
while(Table 1 has more rows){
flag1 = False, flag2 = False
Read the first row X in Table 1
if(X.PartOfSpeech == "Adverb"){
flag1 = True
}
if(X.LetterCount <= 5){
flag2 = True
}
if(flag1 and flag2){
count = count + 1
}
Move X to Table 2
}
```