
Natural Language Processing Quiz
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Melvin Sajith
Used 1+ times
FREE Resource
Enhance your content in a minute
126 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify an application of Natural Language Processing (NLP).
Voice assistant
Image segmentation
Circuit simulation
Network routing
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Distinguish between natural language and formal language in terms of their typical use.
Natural language is used for human communication, while formal language is used in mathematics and programming.
Both natural and formal languages are only used by computers.
Formal language includes spoken and written communication between humans.
Natural language is used for creating algorithms and data structures.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student is building a smart reply feature for an email application. The model needs to predict the next word by analyzing the current and previous word in the sentence. Choose the appropriate N-Gram model to meet this requirement.
Bigram Model
Unigram Model
Decision Tree Classifier
Support Vector Machine
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A language model developed for autocomplete is producing incomplete or blank suggestions because certain n-gram combinations are missing from the training data. Choose the appropriate technique that assigns non-zero probabilities to these unseen word sequences.
Add-One (Laplace) Smoothing
Data Normalization
One-Hot Encoding
TF-IDF Weighting
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer is evaluating the poor performance of a transformer model fine-tuned for next sentence prediction. On inspecting the input encoding, they discover that Type IDs for both sentences are incorrectly set to 1: Input: [CLS] The weather is nice today. [SEP] Let’s go for a walk. [SEP] Type IDs: 1 1 1 1 1 1 1 1 1 1 1 1 1 Analyse the impact of this Type ID configuration on model behavior.
The model may incorrectly treat both sentences as part of the same segment, making it difficult to learn inter-sentence relationships.
The model will apply a bidirectional attention mask, causing generation errors.
The positional embeddings will overwrite the segment embeddings during fine-tuning.
The model will use zero padding instead of segment embeddings, resulting in loss of context.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer is preparing input for a transformer model to perform a next sentence prediction task. The input contains two sentences: Input: [CLS] AI is evolving fast [SEP] It impacts many industries [SEP] Calculate the token structure and identify the correct Position IDs and Type IDs for this sequence.
Position IDs: 0 1 2 3 4 5 6 7 8 9; Type IDs: 0 0 0 0 0 1 1 1 1 1
Position IDs: 1 2 3 4 5 6 7 8 9 10; Type IDs: all 0
Position IDs: 0 1 2 3 4 5 6 7 8 9; Type IDs: 1 1 1 1 1 0 0 0 0 0
Position IDs: 0 1 2 3 4 5 6 7 8 9; Type IDs: 0 0 0 0 0 0 1 1 1 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student applies a 1-skip-2-gram model to the sentence: "Transformers understand complex patterns" They generate the following skip-gram pairs: (Transformers, understand), (understand, complex), (complex, patterns) Select the skip-gram output and identify the error in the student's approach.
The student missed valid skip pairs like (Transformers, complex) and (understand, patterns), which should be included in a 1-skip model.
The student incorrectly included pairs more than 2 positions apart, violating the n-gram rule.
The student included punctuation tokens that should have been filtered out.
The student used a bidirectional model instead of a unidirectional skip-gram model.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
