WorksheetsQuiz Chapter 6 : Understanding Human Language
Total questions: 30
Worksheet time: 15mins
What is the main goal of Natural Language Processing (NLP)?
To make computers communicate using programming languages
To enable machines to understand and process human language
To translate between computer codes
To recognize only written language
Which of the following is NOT a key NLP technique?
Tokenization
Stemming
Lemmatization
Compilation
What does tokenization do?
Removes stopwords
Converts text into individual words or sentences
Converts tokens into sound
Combines multiple words into one
In tokenization, which Python library is commonly used?
nltk
numpy
matplotlib
opencv
What is the output of word_tokenize('AI is fun!')?
['AI is fun']
['AI', 'is', 'fun', '!']
['AI', 'is', 'fun!']
['AI_is_fun']
Which type of tokenization divides text into sentences?
word_tokenize
sent_tokenize
char_tokenize
paragraph_tokenize
Stemming reduces words to their:
Base form
Dictionary form
Root form
Original sentence
The Porter Stemmer algorithm is used for:
English language
Bahasa Melayu
Chinese
French
Which of the following may result from stemming?
Only dictionary words
Sometimes non-dictionary words
Always verbs only
Sentences
Lemmatization differs from stemming because it:
Is faster but less accurate
Uses dictionary-based meaning for accurate base form
Removes suffixes only
Ignores word meaning
Which component of NLP deals with the meaning of sentences?
Syntactic analysis
Semantic analysis
Phonological analysis
Morphological analysis
What does syntactic analysis focus on?
Grammar structure
Word meaning
Speaker intention
Sentence context
Pragmatic analysis helps understand:
Grammar errors
Intended meaning and context
Word order
Pronunciation
Which is an example of ambiguity in NLP?
Bank (finance or river?)
AI stands for Artificial Intelligence
I like pizza
None
The process of breaking text into words or sentences is called:
Parsing
Tokenization
Lemmatization
Encoding
Which of the following is a challenge of NLP?
Ambiguity
Consistency
Simplicity
Automation
Conversational agents include which of the following components?
Speech recognition
Dialogue processing
Text-to-speech
All of the above
Why is NLP important in AI applications?
It improves visual recognition
It allows understanding of human language
It replaces programming
It stores data
What happens when English stemmer is used on Bahasa Melayu words?
Works perfectly
Produces unchanged or incorrect results
Translates to English
Detects verbs only
Which component focuses on sentence-to-sentence relationships in context?
Phonological analysis
Discourse analysis
Semantic analysis
Morphological analysis
NLP enables machines to understand human language.
True
False
Stemming always produces dictionary-valid words.
True
False
Lemmatization is based on dictionary and context.
True
False
Tokenization combines multiple words into one token.
True
False
Ambiguity in NLP means one word or sentence may have multiple meanings.
True
False
Phonological analysis deals with meaning of sentences.
True
False
Syntactic analysis checks grammar structure.
True
False
Pragmatic analysis focuses on literal word meanings only.
True
False
NLP has no role in generative AI.
True
False
Discourse analysis studies the relation between sentences.
True
False
