Search Header Logo

NLP 25

Authored by Prashanthi Prashanthi

Computers

University

Used 3+ times

NLP 25
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which library in Python is commonly used for NLP tasks?

Numpy

TensorFlow

NLTK

Keras

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which module is used in Python for regular expressions?

'regex'

're'

'regexp'

'rex'

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which character is used to represent zero or more occurrences of the preceding character in a regular expression?

+

?

*

$

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the \b in a regular expression pattern represent?

Beginning of a string


End of a string

Word boundary

Any character

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a regular expression, what does [a-zA-Z] represent?

Matches any single character

Matches any lowercase character

Matches any uppercase character

Matches any letter

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the \s in a regular expression pattern represent?

Any character

  • Any digit


Any whitespace character

Any special character

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the "re.fullmatch()" method do in Python RegEx?

Matches a pattern anywhere in the string

Matches the entire string against a pattern

Returns the first occurrence of a pattern

Performs a case-sensitive search

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?