Q30.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){
flag = False
Read the first row X in Table 1
if(X.PartOfSpeech == "Adjective"){
flag = True
}
if(X.LetterCount <= 2){
flag = True
}
if(flag){
count = count + 1
}
Move X to Table 2
}
```
Save
Check
Details
Q30
16 Jul 2023
Q30.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){
flag = False
Read the first row X in Table 1
if(X.PartOfSpeech == "Adjective"){
flag = True
}
if(X.LetterCount <= 2){
flag = True
}
if(flag){
count = count + 1
}
Move X to Table 2
}
```