NLP CT2

NLP CT2

University

12 Qs

quiz-placeholder

Similar activities

HCI: Conceptualizing Ideas

HCI: Conceptualizing Ideas

University

10 Qs

WINTER 24-25 CD

WINTER 24-25 CD

University

10 Qs

CS2505 Compiler Optimization - Quiz-1

CS2505 Compiler Optimization - Quiz-1

University

10 Qs

COMPILER DESIGN QUIZ 28.3.2023

COMPILER DESIGN QUIZ 28.3.2023

University

10 Qs

Compiler Parsing Techniques

Compiler Parsing Techniques

University

10 Qs

Quiz No. 2

Quiz No. 2

University

10 Qs

Category of Web App

Category of Web App

University - Professional Development

10 Qs

HCI-U1-L1

HCI-U1-L1

University

10 Qs

NLP CT2

NLP CT2

Assessment

Quiz

Computers

University

Easy

Created by

Nithya P

Used 5+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 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?

  1. Dependency tree

Constituency tree

  1. Semantic tree

Morphological tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 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

  1. 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

  1. 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?

  1. Polysemy

  1. Synonymy

  1. Antonymy

  1. Homophony

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 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'

  1. NY -> LA 07/05

Find flights from New York to Los Angeles on July 5th

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 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')

  1. SELECT * FROM inventory WHERE item = 'shirt' AND color = 'blue'

add_to_cart(item: 'shirt', color: 'blue')

  1. INSERT INTO cart VALUES ('blue shirt')

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?