Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 1 MCQsIntroduction to NLP and Text Processing
What is the primary goal of Natural Language Processing (NLP)?
Not quite. Try another option.
Answer: To enable computers to understand, interpret, and generate human language
NLP focuses on the interaction between computers and humans using natural language, aiming to read, decipher, understand, and make sense of human languages in a valuable way.
Question 2 of 50
Which of the following is considered one of the earliest successes in the history of NLP, specifically in Machine Translation?
Not quite. Try another option.
Answer: The Georgetown Experiment
The Georgetown experiment in 1954 involved the automatic translation of more than sixty Russian sentences into English and is considered a landmark early event in NLP.
Question 3 of 50
Which component of NLP is responsible for understanding the structure and formation of words?
Not quite. Try another option.
Answer: Morphology
Morphology is the study of the structure of words and how they are formed from morphemes (the smallest grammatical units).
Question 4 of 50
In the context of NLP, what is 'Ambiguity'?
Not quite. Try another option.
Answer: The phenomenon where a sentence or word has more than one possible interpretation
Ambiguity refers to uncertainty of meaning, where a word, phrase, or sentence can be understood in multiple ways.
Question 5 of 50
Which level of linguistic analysis deals with the arrangement of words to form grammatical sentences?
Not quite. Try another option.
Answer: Syntax
Syntax concerns the rules and principles that govern the sentence structure of any individual language.
Question 6 of 50
What is the difference between Syntax and Semantics?
Not quite. Try another option.
Answer: Syntax is about structure; Semantics is about meaning
Syntax ensures the grammatical correctness of the sentence structure, while semantics ensures the sentence makes logical sense or conveys the intended meaning.
Question 7 of 50
Which type of knowledge involves understanding how sentences are used in different situations and how context affects meaning?
Not quite. Try another option.
Answer: Pragmatic knowledge
Pragmatics studies how context contributes to meaning, looking beyond the literal meaning to the intended meaning in a specific situation.
Question 8 of 50
The sentence 'I saw the man with the telescope' is an example of what type of ambiguity?
Not quite. Try another option.
Answer: Syntactic Ambiguity
This is syntactic (structural) ambiguity because it is unclear whether 'I' had the telescope or 'the man' had the telescope based on the sentence structure.
Question 9 of 50
What is the smallest unit of meaning in a language?
Not quite. Try another option.
Answer: Morpheme
A morpheme is the smallest meaningful unit in a language (e.g., 'un-', 'happy', '-ness').
Question 10 of 50
Which NLP application involves automatically classifying an email as 'Spam' or 'Not Spam'?
Not quite. Try another option.
Answer: Text Classification
Spam filtering is a classic example of text classification, where a document is assigned to one or more categories.
Question 11 of 50
What is the process of breaking a stream of text into words, phrases, symbols, or other meaningful elements called?
Not quite. Try another option.
Answer: Tokenization
Tokenization is the process of segmenting text into smaller units called tokens (words, punctuation, etc.).
Question 12 of 50
Which of the following is an example of a 'Stop Word'?
Not quite. Try another option.
Answer: The
Stop words are high-frequency words (like 'the', 'is', 'at', 'which') that usually contribute little unique meaning to the text and are often removed during processing.
Question 13 of 50
What is the main objective of Stemming?
Not quite. Try another option.
Answer: To reduce words to their root or base form, often by chopping off the ends
Stemming uses heuristic processes (like chopping off suffixes) to reduce words to a base form (stem), which may not be a valid word.
Question 14 of 50
How does Lemmatization differ from Stemming?
Not quite. Try another option.
Answer: Lemmatization considers the context and converts the word to its meaningful dictionary form (lemma)
Unlike stemming, lemmatization uses vocabulary and morphological analysis to return the dictionary form of a word (e.g., 'better' to 'good').
Question 15 of 50
If you stem the word 'ponies', the result might be 'poni'. If you lemmatize 'ponies', the result is likely:
Not quite. Try another option.
Answer: pony
Lemmatization returns the valid base form (lemma), which is 'pony', whereas stemming might just remove the 'es' or 's' resulting in a non-word.
Question 16 of 50
What does TF-IDF stand for?
Not quite. Try another option.
Answer: Term Frequency - Inverse Document Frequency
TF-IDF stands for Term Frequency-Inverse Document Frequency, a statistical measure used to evaluate the importance of a word in a document.
Question 17 of 50
In TF-IDF, what does 'Term Frequency' (TF) measure?
Not quite. Try another option.
Answer: How frequently a word appears in a specific document
TF measures the frequency of a word (term) within a single document being analyzed.
Question 18 of 50
In TF-IDF, what is the purpose of the 'Inverse Document Frequency' (IDF) component?
Not quite. Try another option.
Answer: To diminish the weight of terms that occur very frequently in the document set and increase the weight of terms that occur rarely
IDF helps to down-weight words that appear in many documents (like stop words) and up-weight words that are rare and distinct to specific documents.
Question 19 of 50
What is 'Lexical Ambiguity'?
Not quite. Try another option.
Answer: Confusion caused by a single word having multiple meanings
Lexical ambiguity occurs when a single word has more than one meaning (polysemy). E.g., 'Bank' (river bank vs. financial bank).
Question 20 of 50
Which of the following is a challenge in Tokenization?
Not quite. Try another option.
Answer: Identifying abbreviations and acronyms (e.g., U.S.A.)
Tokenizers must decide if the period in 'U.S.A.' ends a sentence or is part of the token. This makes punctuation handling a challenge.
Question 21 of 50
What is a 'Corpus' in NLP?
Not quite. Try another option.
Answer: A large, structured set of texts used for statistical analysis
A corpus (plural: corpora) is a large collection of text or speech data used to train and test NLP models.
Question 22 of 50
Which of the following describes 'Sentiment Analysis'?
Not quite. Try another option.
Answer: Determining the emotional tone or opinion expressed in a text
Sentiment analysis aims to determine the attitude (positive, negative, neutral) of a speaker or writer with respect to a topic.
Question 23 of 50
In the phrase 'unhappiness', what is the root morpheme?
Not quite. Try another option.
Answer: happy
'Happy' is the root (free morpheme), while 'un-' and '-ness' are bound morphemes (affixes).
Question 24 of 50
Which step usually comes FIRST in a standard NLP pipeline?
Not quite. Try another option.
Answer: Tokenization
Text must be broken down into individual units (tokens) before tasks like tagging, stemming, or calculating frequencies can occur.
Question 25 of 50
Why is 'World Knowledge' a challenge in NLP?
Not quite. Try another option.
Answer: Language often relies on common sense and facts about the world that are not explicitly stated in the text
Humans use vast amounts of background knowledge to interpret text (e.g., knowing that water is wet). Encoding this 'common sense' into machines is difficult.
Question 26 of 50
What is the Porter Stemmer?
Not quite. Try another option.
Answer: A widely used algorithm for suffix stripping (stemming)
The Porter Stemming algorithm is one of the most popular algorithms for reducing English words to their stems.
Question 27 of 50
When might you choose NOT to remove stop words?
Not quite. Try another option.
Answer: When searching for specific phrases like 'to be or not to be'
In phrase search or tasks where grammatical structure is crucial (like 'to be'), removing stop words destroys the phrase.
Question 28 of 50
What is 'Referential Ambiguity' usually associated with?
Not quite. Try another option.
Answer: Anaphora resolution (pronouns)
Referential ambiguity arises when it is unclear which noun a pronoun (like 'he', 'she', 'it') refers to.
Question 29 of 50
Which of the following is a 'Bound Morpheme'?
Not quite. Try another option.
Answer: -ing
Bound morphemes (like '-ing', '-ed', 'pre-') cannot stand alone as words; they must be attached to other morphemes.
Question 30 of 50
What is the result of applying a tokenizer to the string 'Hello, world!'?
Not quite. Try another option.
Answer: ['Hello', ',', 'world', '!']
A standard tokenizer separates words and punctuation marks into distinct tokens.
Question 31 of 50
A high TF-IDF score for a word in a specific document indicates:
Not quite. Try another option.
Answer: The word is frequent in that specific document but rare in the overall corpus
High TF means it appears often in the doc; High IDF means it is rare elsewhere. Together, they signify a keyword unique/important to that document.
Question 32 of 50
Which area of NLP deals with the sound units of language?
Not quite. Try another option.
Answer: Phonology
Phonology is the study of the system of sounds in a language.
Question 33 of 50
Which of the following best describes 'Compositional Semantics'?
Not quite. Try another option.
Answer: The meaning of the whole is determined by the meanings of the parts and how they are assembled
Compositional semantics assumes that the meaning of a complex expression is a function of the meanings of its constituent parts.
Question 34 of 50
In the context of text processing, what does 'Case Folding' refer to?
Not quite. Try another option.
Answer: Converting all characters to the same case (usually lowercase)
Case folding (lowercasing) is a common preprocessing step to ensure 'Apple' and 'apple' are treated as the same token.
Question 35 of 50
Which of the following is NOT a typical application of NLP?
Not quite. Try another option.
Answer: Image Compression
Image compression deals with visual data (pixels), not natural language text or speech.
Question 36 of 50
What is a 'Bag of Words' (BoW) model?
Not quite. Try another option.
Answer: A representation of text that describes the occurrence of words but ignores order and grammar
BoW represents text as a collection (bag) of its words, disregarding grammar and word order but keeping multiplicity.
Question 37 of 50
Why is 'Slang' a challenge for NLP?
Not quite. Try another option.
Answer: It changes rapidly and may not appear in standard dictionaries
Slang creates lexical ambiguity and out-of-vocabulary issues because it evolves faster than static language models or dictionaries can be updated.
Question 38 of 50
In the sentence 'Time flies like an arrow', the word 'flies' could be a verb or a noun. This is:
Not quite. Try another option.
Answer: Part-of-Speech (POS) Ambiguity
The word functions as different parts of speech (verb vs noun) in different interpretations, creating ambiguity.
Question 39 of 50
If a corpus has 1000 documents and the word 'biology' appears in 1000 of them, what is likely true about its IDF value?
Not quite. Try another option.
Answer: It will be zero or very close to zero
IDF = log(N/df). If N=1000 and df=1000, log(1) = 0. The word provides no distinguishing power.
Question 40 of 50
Which processing technique requires Part-of-Speech (POS) tagging to be effective?
Not quite. Try another option.
Answer: Lemmatization
To correctly lemmatize 'saw' (is it the verb 'see' or the noun tool?), the algorithm needs to know the Part of Speech.
Question 41 of 50
Which of the following is considered a 'Free Morpheme'?
Not quite. Try another option.
Answer: town
A free morpheme can stand alone as a word ('town'). The others are bound morphemes (affixes).
Question 42 of 50
The Turing Test was proposed by Alan Turing to determine:
Not quite. Try another option.
Answer: If a machine can exhibit intelligent behavior equivalent to, or indistinguishable from, that of a human
The Turing Test (1950) is a measure of a machine's ability to demonstrate human-like intelligence via conversation.
Question 43 of 50
What is 'Discourse Analysis'?
Not quite. Try another option.
Answer: Analyzing language use beyond the sentence boundary
Discourse analysis looks at larger chunks of text (conversations, paragraphs) to understand flow, coherence, and references.
Question 44 of 50
In the TF-IDF formula, if term 't' appears 5 times in a document of 100 words, the Normalized TF is:
Not quite. Try another option.
Answer: 0.05
Normalized TF is often calculated as (Count of term / Total words in doc) = 5/100 = 0.05.
Question 45 of 50
What is the primary motivation for 'Text Normalization' (like stemming/lemmatization) in search engines?
Not quite. Try another option.
Answer: To match a user's query (e.g., 'running') with documents containing related forms (e.g., 'run')
Normalization conflates variations of words to a single form so that searches cover all variations of the concept.
Question 46 of 50
Which linguistic field studies how words combine to form phrases and sentences?
Not quite. Try another option.
Answer: Syntax
Syntax focuses on the grammatical structure and ordering of words.
Question 47 of 50
When tokenizing text from social media (e.g., Twitter/X), what is a specific challenge?
Not quite. Try another option.
Answer: Handling hashtags (#) and mentions (@)
Standard tokenizers might split '#NLP' into '#' and 'NLP', but in social media analysis, '#NLP' should often remain a single token.
Question 48 of 50
What defines a 'Regular Language' in the context of automata and NLP?
Not quite. Try another option.
Answer: A language that can be described by a regular expression
In Chomsky's hierarchy, regular languages are the simplest, recognizable by finite automata and describable by regular expressions.
Question 49 of 50
Which of the following sentences best illustrates 'Semantic Ambiguity' (not Syntactic)?
Not quite. Try another option.
Answer: The bank was closed.
This relies on the meaning of the word 'bank' (financial vs river), whereas the others rely on the structural parsing of the sentence.
Question 50 of 50
What is the relationship between AI and NLP?
Not quite. Try another option.
Answer: NLP is a subfield of AI focused on language
NLP is a multidisciplinary field at the intersection of computer science, linguistics, and artificial intelligence.
That's unit 1
Answer a few questions and your score shows up here.
Nearly through. Did unit 1 of INT344 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 1 of INT344 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.