Q9.The following pseudocode is executed using the "Words" dataset.
```
count = 0, flag = False
while(Table 1 has more rows){
Read the first row X in Table 1
Move X to Table 2
if(flag){
if(first letter of X.Word == 'm'){
if(2nd letter of X.Word == 'o'){
count = count + 1
}
}
}
flag = False
if(X.Word ends with full stop){
flag = True
}
}
```
What will `count` represent at the end of the execution? Assume that upper case and lower case are ignored during comparison of letters.
Save
Check
Details
Q9
13 Jul 2025
Q9.The following pseudocode is executed using the "Words" dataset.
```
count = 0, flag = False
while(Table 1 has more rows){
Read the first row X in Table 1
Move X to Table 2
if(flag){
if(first letter of X.Word == 'm'){
if(2nd letter of X.Word == 'o'){
count = count + 1
}
}
}
flag = False
if(X.Word ends with full stop){
flag = True
}
}
```
What will `count` represent at the end of the execution? Assume that upper case and lower case are ignored during comparison of letters.