Q62.The following pseudocode is executed using the Words dataset. Rows are arranged in increasing sequence number. At the end of execution, `L` should store the list of nouns that appear immediately after an adjective. Choose the correct code fragment to complete the pseudocode.
```
L = []
A = "None"
Read the first row X in Table 1
A = X.PartOfSpeech
Move X to Table 2
while(Table 1 has more rows) {
Read the first row Y in Table 1
********************
*** Fill the code ***
********************
A = Y.PartOfSpeech
Move Y to Table 2
}
```
Save
Check
Details
Q62
20 Nov 2022
Q62.The following pseudocode is executed using the Words dataset. Rows are arranged in increasing sequence number. At the end of execution, `L` should store the list of nouns that appear immediately after an adjective. Choose the correct code fragment to complete the pseudocode.
```
L = []
A = "None"
Read the first row X in Table 1
A = X.PartOfSpeech
Move X to Table 2
while(Table 1 has more rows) {
Read the first row Y in Table 1
********************
*** Fill the code ***
********************
A = Y.PartOfSpeech
Move Y to Table 2
}
```