Question 16
The given pseudocode is executed using the "Words" dataset. At the end of execution A captures the frequency count of the most frequent consonant in the dataset. But the pseudocode may have mistakes. Identify all such mistakes (if any). Assume that all statements not listed in the options below are free of errors.
Line 1: Incorrect initialization of D
Line 8: Incorrect conditional expression
Line 9: A updated with wrong value
Line 13: Incorrect initialization of i
Line 16: Conditional expression should not use "not" operator
Line 22: i updated at wrong place