Question 19
The following pseudocode is executed using the “Words” dataset. Study the given pseudocode and answer the given subquestions.
A = 0, flag = TrueinList = [ ], outList = [ ]while (Table 1 has more rows) { Read the first row X in Table 1 if (flag) { inList = [X.Word] flag = False } if (X.Word ends with a full stop) { outList = outList ++ [[X.Word] ++ inList] A = A + 1 inList = [ ] flag = True } Move X to Table 2}The values of length(outList) and A will be same at the end of execution.
TRUE
FALSE