Q13.Two words are said to be conjugate if they fulfill following conditions:
• They are different words.
• Number of vowels are same in both words.
• Number of consonants are different in both words.
For a row `X` in the "Words" dataset, assume that `VCount(X)` returns the number of vowels in `X.Word`. At the end of the execution, `count` stores the number of conjugate pairs. Choose the correct code fragment(s) to complete the pseudocode. It is a Multiple Select Question (MSQ).
```
count = 0
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
Q13
7 Jul 2024
Q13.Two words are said to be conjugate if they fulfill following conditions:
• They are different words.
• Number of vowels are same in both words.
• Number of consonants are different in both words.
For a row `X` in the "Words" dataset, assume that `VCount(X)` returns the number of vowels in `X.Word`. At the end of the execution, `count` stores the number of conjugate pairs. Choose the correct code fragment(s) to complete the pseudocode. It is a Multiple Select Question (MSQ).
```
count = 0
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
}
```