
NLP CT2

Quiz
•
Computers
•
University
•
Easy
Nithya P
Used 5+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: Given the sentence "The quick brown fox jumps over the lazy dog," a parser produces the tree where "The quick brown fox" is identified as a noun phrase (NP) and "jumps over the lazy dog" as a verb phrase (VP). Question: What type of parse tree is this?
Dependency tree
Constituency tree
Semantic tree
Morphological tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: A researcher is analyzing the sentence "Alice gave Bob a gift" and wants to understand the syntactic relationships between words. Question: In a dependency parse, which word is most likely the root of the sentence?
Alice
Bob
gave
gift
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the same sentence "Alice gave Bob a gift," the researcher identifies "Alice" as the subject and "Bob" as the indirect object. Question: What dependency relations do "Alice" and "Bob" represent in the context of dependency parsing?
nsubj and iobj
subj and obj
root and comp
det and prep
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: The chatbot receives the input "Can you book a flight to New York for me?" and needs to understand that "book" refers to the action of making a reservation. Question: Which semantic concept is critical for interpreting the word "book" correctly in this context?
Polysemy
Synonymy
Antonymy
Homophony
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: A semantic parser is being tested on the sentence "Show me flights from New York to Los Angeles on July 5th." Question: Which logical form would correctly represent this sentence for a flight search application?
search(flights, New York, Los Angeles, July 5th)
SELECT * FROM flights WHERE departure = 'New York' AND destination = 'Los Angeles' AND date = 'July 5th'
NY -> LA 07/05
Find flights from New York to Los Angeles on July 5th
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Scenario: An e-commerce platform uses a semantic parser to interpret user commands. A user inputs "Add a blue shirt to my cart." Question: What kind of output should the semantic parser generate to perform this action?
display('blue shirt')
SELECT * FROM inventory WHERE item = 'shirt' AND color = 'blue'
add_to_cart(item: 'shirt', color: 'blue')
INSERT INTO cart VALUES ('blue shirt')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Question: In the sentence "John gave Mary a book," what is the semantic role of "Mary"?
Agent
Theme
Source
Goal
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Predictive analytics

Quiz
•
University
15 questions
Digital Signature Schemes

Quiz
•
University
10 questions
NLP quiz II

Quiz
•
University
16 questions
Quiz on Syntax and Semantic Parsing

Quiz
•
University
12 questions
Language Models - AI

Quiz
•
University
15 questions
Web Scraping 102 - Quiz 2

Quiz
•
University
10 questions
Lesson 2 - Passing Data to Subsystems

Quiz
•
University
10 questions
Node.js

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade