Q29.The following pseudocode is executed using the "Words" dataset. At the end of execution, `A` is set to `True` if there exist a pair of words with same part of speech and same letter count. Choose the correct code fragment to complete the pseudocode.
```
A = False
while(Table 1 has more rows){
Read the first row X in Table 1
Move X to Table 2
while(Table 1 has more rows){
Read the first row Y in Table 1
***************
* Fill the code *
***************
Move Y to Table 3
}
Move all rows from Table 3 to Table 1
}
```
Save
Check
Details
Q29
10 Jul 2022
Q29.The following pseudocode is executed using the "Words" dataset. At the end of execution, `A` is set to `True` if there exist a pair of words with same part of speech and same letter count. Choose the correct code fragment to complete the pseudocode.
```
A = False
while(Table 1 has more rows){
Read the first row X in Table 1
Move X to Table 2
while(Table 1 has more rows){
Read the first row Y in Table 1
***************
* Fill the code *
***************
Move Y to Table 3
}
Move all rows from Table 3 to Table 1
}
```