Hi Sir,
I think the answer provided as correct for below question 3 is wrong.
3) What will the value of A represent at the end of execution of the given procedure on the “Paragraph Words” dataset?
Provided answer is "Length of the shortest sentence based on the number of characters" whereas i think that answer should be "None"
Reason - In Step 7. If the word ends with a full stop and B > A then store B in A, we are just storing the current value of B and not the summing up the current value of B in the previous available value of A. So A will have only the last value of B stored in the end it will not tell the length of the sentence based on characters.
Pls look into this and guide.
Regards
Rajat