Prasnya
Prasnya
Prasnya
Continue with Google
Question 11 - Week 5 Practice | Prasnya
Q11
00:00
16 Mar 2025
Q11.
Which of the following statements is/are correct?
@passage
A
In Pseudocode 1 if we replace lines 6 to 11 with ``` if (X.PartOfSpeech == "Noun" and length(L) >= 4) { count = count + 1 L = [] } ``` then `count` represents the number of nouns having at least 4 distinct consonants in the dataset.
B
In Pseudocode 1 if we replace lines 6 to 11 with ``` if (X.PartOfSpeech == "Noun" and length(L) >= 4) { count = count + 1 } L = [] ``` then `count` represents the number of nouns having at least 4 distinct letters in the dataset.
C
In Pseudocode 2 if we replace lines 5 to 9 with ``` if (X.PartOfSpeech == "Noun" and length(L) >= 4) { count = count + 1 } L = [] ``` then `count` represents the number of nouns having at least 4 distinct consonants in the dataset.
D
In Pseudocode 1 if we replace lines 7 to 10 with ``` if (length(L) >= 4) { count = count + 1 } L = [] ``` then `count` represents the number of words having at least 10 distinct letters in the dataset.
Save
Read
Check
Details
Q11
00:00
16 Mar 2025
Q11.
Which of the following statements is/are correct?
@passage
A
In Pseudocode 1 if we replace lines 6 to 11 with ``` if (X.PartOfSpeech == "Noun" and length(L) >= 4) { count = count + 1 L = [] } ``` then `count` represents the number of nouns having at least 4 distinct consonants in the dataset.
B
In Pseudocode 1 if we replace lines 6 to 11 with ``` if (X.PartOfSpeech == "Noun" and length(L) >= 4) { count = count + 1 } L = [] ``` then `count` represents the number of nouns having at least 4 distinct letters in the dataset.
C
In Pseudocode 2 if we replace lines 5 to 9 with ``` if (X.PartOfSpeech == "Noun" and length(L) >= 4) { count = count + 1 } L = [] ``` then `count` represents the number of nouns having at least 4 distinct consonants in the dataset.
D
In Pseudocode 1 if we replace lines 7 to 10 with ``` if (length(L) >= 4) { count = count + 1 } L = [] ``` then `count` represents the number of words having at least 10 distinct letters in the dataset.
Save
Read
Check
Details