uiz Space

January 2025 term · Introduction to Natural Language Processing · BSDA5005

Introduction to Natural Language Processing Quiz 1: 23 February 2025 (January 2025 term)

The IIT Madras BS Introduction to Natural Language Processing (Intro to NLP) Quiz 1 paper sat on 23 Feb 2025, in the January 2025 term: 30 questions for 50 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
30
Marks
50
Duration
120 min
MCQ
23
MSQ
6
Numerical
1

Updated

Official paper: IIT M DEGREE AN EXAM QDB2 23 Feb 2025 · No negative marking.

Question 1

+2 marksOne correct option

Consider the following conversation:
User: “It’s quite cold in here.”
Bot: “Yes, the temperature is 20^(o)C.”
User: “Could you help?”
Bot: “What would you like help with?”
Which level of language processing is the chatbot failing to implement effectively?

  1. A

    Lexical

  2. B

    Discourse

  3. C

    Pragmatic

  4. D

    Syntactic

Show answer

Correct answer

  • C

    Pragmatic

Question 2

+2 marksOne correct option

Statement: “Lexical ambiguity occurs when an individual word has multiple dictionary meanings.”

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • A

    Yes

Question 3

+2 marksOne correct option

What makes the example “Time flies like an arrow” particularly challenging for POS tagging?

  1. A

    The presence of words with ambiguous lexical categories that can lead to multiple syntactic structures.

  2. B

    Difficulty in identifying compound nouns within the sentence.

  3. C

    The sentence contains idiomatic expressions that require semantic understanding.

  4. D

    The use of archaic word forms.

Show answer

Correct answer

  • A

    The presence of words with ambiguous lexical categories that can lead to multiple syntactic structures.

Question 4

+2 marksOne correct option

Anaphora resolution can be fully solved using only syntactic parsing techniques.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • B

    No

Question 5

+2 marksOne correct option

Which of the following statements correctly describes the relationship between Finite State Automata (FSA) and Finite State Transducers (FST)?

  1. A

    FSAs are designed solely for recognizing patterns in input strings, while FSTs can recognize patterns and produce corresponding outputs.

  2. B

    Both FSAs and FSTs utilize a single tape for processing input, but FSAs have a fixed number of states while FSTs can dynamically change the number of states during execution.

  3. C

    FSTs can be used to perform computations involving multiple input tapes, whereas FSAs are limited to a single input tape.

  4. D

    FSA can produce outputs based on their input states, while FSTs are only capable of recognizing inputs without generating outputs.

Show answer

Correct answer

  • A

    FSAs are designed solely for recognizing patterns in input strings, while FSTs can recognize patterns and produce corresponding outputs.

Question 6

+2 marksOne correct option

Which of the following sequences represents a valid order of calculations in the Forward algorithm of HMM?

  1. A

    Calculate state probabilities → Update observation probabilities → Compute final sequence probability

  2. B

    Initialize state probabilities → Calculate joint probabilities → Sum over all possible paths

  3. C

    Calculate emission probabilities → Sum transition probabilities → Normalize final states

  4. D

    Initialize α1(i) → Calculate αt(i) recursively → Sum over final states

Show answer

Correct answer

  • D

    Initialize α1(i) → Calculate αt(i) recursively → Sum over final states

Question 7

+2 marksOne correct option

Which feature combination would be most effectively handled by CRF but not by HMM for POS tagging?

  1. A

    Current word and its immediate next word

  2. B

    Word length and first character capitalization

  3. C

    Previous tag and current word ending

  4. D

    Current word’s morphological features combined with a window of ±2 words and their POS tags

Show answer

Correct answer

  • D

    Current word’s morphological features combined with a window of ±2 words and their POS tags

Question 8

+2 marksOne correct option
  1. A

    1-B, 2-C, 3-A, 4-D

  2. B

    1-A, 2-B, 3-C, 4-D

  3. C

    1-B, 2-A, 3-D, 4-C

  4. D

    1-D, 2-C, 3-B, 4-A

Show answer

Correct answer

  • A

    1-B, 2-C, 3-A, 4-D

Question 9

+2 marksOne correct option
  1. A

    1.5

  2. B

    1.6

  3. C

    1.7

  4. D

    1.8

Show answer

Correct answer

  • B

    1.6

Question 10

+2 marksOne correct option

In evaluating a dependency parser, the following results were obtained on a test set of 500 words: • 450 words have the correct head
• 425 words have both the correct head and correct label
• 475 words have the correct label
What are the Unlabeled Attachment Score (UAS) and Label Accuracy Score (LS)?

  1. A

    UAS: 90%, LS: 95%

  2. B

    UAS: 90%, LS: 85%

  3. C

    UAS: 85%, LS: 95%

  4. D

    UAS: 85%, LS: 90%

Show answer

Correct answer

  • B

    UAS: 90%, LS: 85%

Question 11

+1 markOne correct option

The phonological level of NLP processing is crucial for improving the performance of text-based sentiment analysis systems.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • B

    No

Question 12

+1 markOne correct option

In the sentence “I saw her duck,” morphological analysis alone is sufficient to determine whether “duck” is being used as a noun or a verb.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • B

    No

Question 13

+1 markOne correct option

Which would be the most appropriate approach for processing millions of search queries in real- time?

  1. A

    Lemmatization

  2. B

    Stemming

  3. C

    Full morphological analysis

  4. D

    Manual word reduction

Show answer

Correct answer

  • B

    Stemming

Question 14

+1 markOne correct option

Which approach would be most appropriate for building a dictionary lookup system?

  1. A

    Stemming

  2. B

    Lemmatization

  3. C

    Simple suffix removal

  4. D

    No word reduction

Show answer

Correct answer

  • B

    Lemmatization

Question 15

+1 markOne correct option

Rule-based POS tagging always results in accurate tagging because it relies on linguistic rules rather than probabilities.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • B

    No

Question 16

+1 markOne correct option

Which of the following demonstrates an “overlapping entity” scenario in NER?

  1. A

    Albert Einstein and Theory of Relativity

  2. B

    Amazon and Amazon River

  3. C

    Tesla and Model S

  4. D

    Shakespeare and Hamlet

Show answer

Correct answer

  • B

    Amazon and Amazon River

Question 17

+1 markOne correct option

Consider the following phrase structure rule: NP → (Det) (Adj)* N (PP)*
Which of the following statements about this rule is FALSE?

  1. A

    It allows for multiple consecutive adjectives before the noun.

  2. B

    It requires exactly one determiner before any adjectives.

  3. C

    It permits zero or more prepositional phrases after the noun.

  4. D

    The noun is the only mandatory element in this noun phrase.

Show answer

Correct answer

  • B

    It requires exactly one determiner before any adjectives.

Question 18

+1 markOne correct option

Given the sentence “The chef cooked a meal for the guests using fresh ingredients,” identify the Semantic Roles of the sentence.

  1. A

    Agent: Chef, Theme: Meal, Beneficiary: Guests, Instrument: Ingredients

  2. B

    Agent: Meal, Theme: Guests, Beneficiary: Chef, Instrument: Cooking

  3. C

    Agent: Chef, Theme: Ingredients, Beneficiary: Meal, Instrument: Guests

  4. D

    Agent: Ingredients, Theme: Chef, Beneficiary: Meal, Instrument: Cooking

Show answer

Correct answer

  • A

    Agent: Chef, Theme: Meal, Beneficiary: Guests, Instrument: Ingredients

Question 19

+1 markOne correct option

Context-Free Grammar (CFG) rules can only generate sentences with a fixed word order.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • B

    No

Question 20

+1 markOne correct option

The CKY parsing algorithm requires the grammar to be in Chomsky Normal Form (CNF).

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • A

    Yes

Question 21

+1 markOne correct option

In the sentence “He gave her a book,” the dependency relationship between “gave” and “book” is labeled as nsubj.

  1. A

    Yes

  2. B

    No

Show answer

Correct answer

  • B

    No

Question 22

+1 markOne correct option

Which evaluation metric would you use to measure the proportion of correct dependency relations retrieved by a parser from the total number of correct relations?

  1. A

    Precision

  2. B

    Recall

  3. C

    F1 Score

  4. D

    Accuracy

Show answer

Correct answer

  • B

    Recall

Question 23

+3 marksOne correct option

Given tables are emission and transition probability tables for a POS tagger.

Emission probability:

WordsNounVerbAdj
book0.40.30.1
red0.10.00.5
jumps0.00.60.0

Transition probabilities:

POSNounVerbAdj
Noun0.20.50.3
Verb0.40.10.5
Adj0.60.30.1

What is the probability of the sequence: Adj →\rightarrow Noun →\rightarrow Verb for the words “red book jumps”?

  1. A

    0.0090

  2. B

    0.036

  3. C

    0.0045

  4. D

    0.0036

Show answer

Correct answer

  • B

    0.036

Question 24

+1 markOne or more correct options

Which of the following are applications of clustering in NLP tasks? (Select all that apply)

Select all that apply.

  1. A

    Grouping similar entities in NER

  2. B

    Unsupervised POS tagging

  3. C

    Sentiment analysis

  4. D

    Word clustering into syntactic categories

  5. E

    Machine translation

Show answer

Correct answers

  • A

    Grouping similar entities in NER

  • B

    Unsupervised POS tagging

  • D

    Word clustering into syntactic categories

Question 25

+2 marksOne or more correct options

Which characteristics distinguish Morphological Analysis (MA)from POS tagging? (Select all that apply)

Select all that apply.

  1. A

    MA is independent of syntactic rules, while POS tagging often depends on them

  2. B

    MA may produce multiple analyses for a word while POS tagging produces one

  3. C

    MA requires fewer categories compared to POS tagging

  4. D

    MA assigns functional roles in a sentence, while POS tagging deals with form and structure.

Show answer

Correct answers

  • A

    MA is independent of syntactic rules, while POS tagging often depends on them

  • B

    MA may produce multiple analyses for a word while POS tagging produces one

  • C

    MA requires fewer categories compared to POS tagging

Question 26

+2 marksOne or more correct options

What are potential issues when implementing stemming? (Select all that apply)

Select all that apply.

  1. A

    Over-stemming

  2. B

    Under-stemming

  3. C

    Requiring a large dictionary

  4. D

    Creating non-words

Show answer

Correct answers

  • A

    Over-stemming

  • B

    Under-stemming

  • D

    Creating non-words

Question 27

+2 marksOne or more correct options

Which of the following are true about the relationship between POS tagging, NER, and classification models? (Select all that apply)

Select all that apply.

  1. A

    Both POS tagging and NER can be framed as classification problems

  2. B

    Naive Bayes and logistic regression can be applied to both tasks

  3. C

    Clustering can be used as a preprocessing step for both tasks

  4. D

    POS tagging always precedes NER in NLP pipelines

  5. E

    Both tasks benefit from considering contextual information

Show answer

Correct answers

  • A

    Both POS tagging and NER can be framed as classification problems

  • B

    Naive Bayes and logistic regression can be applied to both tasks

  • C

    Clustering can be used as a preprocessing step for both tasks

  • E

    Both tasks benefit from considering contextual information

Question 28

+3 marksOne or more correct options

Which of the following NLP tasks would benefit from processing at the discourse level? (Select all that apply)

Select all that apply.

  1. A

    Generating a coherent multi-paragraph story

  2. B

    Summarizing a long document

  3. C

    Resolving pronouns in a conversation

  4. D

    Determining the sentiment of a single word

  5. E

    Identifying the topic shifts

Show answer

Correct answers

  • A

    Generating a coherent multi-paragraph story

  • B

    Summarizing a long document

  • C

    Resolving pronouns in a conversation

  • E

    Identifying the topic shifts

Question 29

+3 marksOne or more correct options

Which of the following statements about stemming and lemmatization are true?

Select all that apply.

  1. A

    Stemming can result in non-linguistic root forms, while lemmatization always produces valid words.

  2. B

    Lemmatization requires a vocabulary or lexicon, whereas stemming does not.

  3. C

    Stemming is computationally more expensive than lemmatization because it involves morphological analysis.

  4. D

    Both stemming and lemmatization aim to reduce words to their root forms but differ in their approaches and accuracy.

Show answer

Correct answers

  • A

    Stemming can result in non-linguistic root forms, while lemmatization always produces valid words.

  • B

    Lemmatization requires a vocabulary or lexicon, whereas stemming does not.

  • D

    Both stemming and lemmatization aim to reduce words to their root forms but differ in their approaches and accuracy.

Question 30

+2 marksNumerical answer

In a semantic role labeling evaluation, a model has identified 100 correct semantic roles out of 120 total semantic roles it predicted. What is the precision of the model as a decimal (rounded to two decimal places)?

Show answer

Correct answer: 0.83