NLP CT2

NLP CT2

University

12 Qs

quiz-placeholder

Similar activities

2.4 - 2.6

2.4 - 2.6

University

15 Qs

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

ADVACOMT-Quiz No.1 (final term)

ADVACOMT-Quiz No.1 (final term)

University

15 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

VITAP Quiz-1

VITAP Quiz-1

University

10 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

NLP CT2

NLP CT2

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Nithya P

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?