NLP Sample QB
NLP Sample QB
2. Study of the meaning of words that are associated with grammatical structure is known as ---
-
a. Morphology
b. Phonology
c. Semantics
d. Reasoning
3. Consider the sentence “Horse ran up the hill. It was very steep. It soon got tired “. Identify
the type of ambiguity.
a. Syntactic ambiguity
b. Lexical ambiguity
c. Discourse ambiguity
d. Pragmatic ambiguity
9. The words „there‟ and „their‟ causes which of the following type of ambiguity?
a. Syntactic
b. Semantic
c. Phonological
d. Pragmatic
10. What is full form of NLG?
11. 28. Identify the ambiguity of statement “By books for children “
a. Lexical ambiguity
b. Syntactic ambiguity
c. Semantic ambiguity
d. Discourse ambiguity
12. The process of removing words like “and”, “is”, “a”, “an”, “the” from a sentence is called as
a. Stemming
b. Lemmatization
c. Stop word Removal
d. POS
13. The process of converting a sentence or paragraph into tokens is referred----
a. Stemming
b. Lemmatization
c. Tokenization
d. POS
14. Identify the odd one out from following
a. nltk
b. scikit learn
c. SpaCy
d. BERT
15. Which one of the following is not a pre-processing technique in NLP (R )
a. Stemming and Lemmatization
c. removing punctuations
d. removal of stop words
e. Sentiment analysis
16. Which of the following is an advantage of Porter stemmer over a full morphological parser?
20. Finite state transducer is ---- automation which recognizes or generate the pair of strings
a. One tape
b. Two tape
c. Zero tapes
d. Infinitetapes
21. Which is not the basic Regular expression pattern
a. abc+
b. a(a |b)
c. abc?
d. -abc-
22. Identify incorrect statement from following with respect Finite state automata (FSA) and
Regular expression( RE)
a. Regular expression is one way of describing FSA
b. Both FSA and RE can be used to describe regular language
c. Any FSA can be described with regular expression
d. Any FSA regular expression cannot be implemented as FSA
23. Identify incorrect statement with respect to stochastic tagging
a. It requires vast amount of stored data
b. It is more popular than other tagging
c. In Rule based tagging is less accurate
d. Relatively complex
24. Which one is not aspect of pragmatics?
a. Deixis
b.Implicature
c. Reference Resolution
d. Presupposition
30. Which of the following instances the regular expression “\b(one|two|three)\b” can recognize?
a. one
b. onetwo
c. TWO
d. Three
31. Which of the following is an NLP task that involves determining all referring expressions
that point to the same real-world entity?
a. Co reference resolution
b. Named entity recognition
c. Information extraction
d. Information Retrieval
a. Anaphora Resolution
b. Given a sentence or larger chunk of text, determine which words refer t o the same
objects
c. Resolving Reference
d. Ambiguity in Words
a. Rooting
b. b. Stemming
c. Text-Proofing
d. Lemmatization
39. "He lifted the beetle with red cap." contain which type of ambiguity?
a. Lexical ambiguity
b. Syntax Level ambiguity
c. Referential ambiguity
d. Syntactical ambiguity
40.. Variation of word without changing its form is known as ----
a. Zero morphemes
b. One morphemes
c. Two morphemes
d. Three morphemes
41.Which of the following can be used to implement orthographic rules (Spelling Rules)?
a. Finite State Automata (FSA)
b. Finite State Transducer (FST)
c. Hidden Markov Model (HMM)
d. Turing Machine (TM )
42. What do we put after a character to match strings where that character appears two to four
times in sequence?
a. {2,4}
b. {2-4}
c. [2,4]
d. <2-4>
43. The regular expression \d{4} will match what?
a. Any four character sequence?
b. Any four digit sequence?
c. The letter d four times?
d. Four time d?
44. In an HMM, observation likelihoods measure
a. The likelihood of a POS tag given a word
b. The likelihood of a POS tag given the preceding tag
c. The likelihood of a word given a POS tag
d. The likelihood of a POS tag given two preceding tags
45. “He was running quickly into the stadium”. What type of phrase is this?
a. Noun phrase
b. Verb phrase
c. Prepositional phrase
d. Adjectival phrase
46. Which of the following is NOT the set of regular expression R = (ab + abb)* bbab
a.ababbbbab
b.abbbab
c.ababbabbbab
d.abababab
47. The study of the sound patterns in natural language and the rules that govern them is:
a. Phonetics
b. Morphology
c. Phonology
d. Syntax
48. Which of the following is not a part of speech?
a. Noun phrase
b. Verb
c. Interjection
d. Determiner
49. What is one advantage of a Porter stemmer over a full morphological analyzer?
a. The stemmer is better justified from a theoretical point of view.
b. The stemmer does not require a detailed lexicon to implement.
c. The output of the stemmer results in better performance in most downstream tasks, compared
to the output of the morphological analyzer.
d. The output of the stemmer is always a valid word, unlike the output of the morphological
analyzer.
50. A Hidden Markov Model is a (1), which means that the model is specified by (2). (Select the
response that correctly completes both missing pieces.)
a. (1) discriminative model (2) P(X, Y )
b. (1) discriminative model (2) P(Y |X)
c. (1) generative model (2) P(X, Y )
d. (1) generative model (2) P(Y |X)
51. The words room and house are in a lexical semantic relation, in which room is the (1) and
house is the (2).
a. (1) hypernym (2) hyponym
b. (1) hyponym (2) hypernym
c. (1) holonym (2) meronym
d. (1) meronym (2) holonym
52. Given a NFA with N states, the maximum number of states in an equivalent minimized DFA
is at least
a. N^2
b.2^N
c. 2N
d. N!
53. The language accepted by this DFA is
a.b*ab*ab*ab*
b.(a+b)*
c.b*a(a+b)*
d.b*ab*ab*
54. Which of the following is the instance of stemming as per the porter stemming algorithm?
a. are-> be
b.Plays->play
c.saw->s
d. university->universe