Question 4
Statement The following pseudocode is executed using the "Words" dataset. At the end of the execution, count stores the number of pairs of verbs such that both verbs have either different letter counts or both end with a full stop. Choose the correct code fragment to complete the pseudocode.
Statement 1: X.PartOfSpeech == "Verb" Statement 2: X.PartOfSpeech == Y.PartOfSpeech Statement 3: X.Word and Y.Word end with a full stop
Statement 1: X.PartOfSpeech == Y.PartOfSpeech Statement 2: X.PartOfSpeech == "Verb" Statement 3: X.Word and Y.Word end with a full stop
Statement 1: X.PartOfSpeech == "Verb" Statement 2: X.Word and Y.Word end with a full stop Statement 3: X.PartOfSpeech == Y.PartOfSpeech
Statement 1: X.Word and Y.Word end with a full stop Statement 2: X.PartOfSpeech == Y.PartOfSpeech Statement 3: X.PartOfSpeech == "Verb"