Quiz on Regular Expressions and NLP

Quiz on Regular Expressions and NLP

University

33 Qs

quiz-placeholder

Similar activities

Quiz on Artificial Intelligence

Quiz on Artificial Intelligence

University

30 Qs

The Big Quiz

The Big Quiz

University

30 Qs

Kuis Kecerdasan Buatan

Kuis Kecerdasan Buatan

University

30 Qs

Deaf Study

Deaf Study

KG - Professional Development

36 Qs

Education et société

Education et société

University

31 Qs

Arduino Aptitude

Arduino Aptitude

University

30 Qs

ITP221-LONG QUIZ

ITP221-LONG QUIZ

University

28 Qs

Exploring AI Ethics

Exploring AI Ethics

University

30 Qs

Quiz on Regular Expressions and NLP

Quiz on Regular Expressions and NLP

Assessment

Quiz

Other

University

Medium

Created by

king king

Used 1+ times

FREE Resource

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the '|' character represent in a regular expression?

Logical AND

Logical OR

Logical NOT

Grouping

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct regular expression to find one or two vowels containing only lowercase alphabets?

[aeiou]

[aeiou+]

[^aeoiu]

[aeiou]+

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character in a regular expression is used to match any single digit?

?

.

*

+

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the regular expression '[A-Z]+' match?

Matches one or more uppercase letters

Matches zero or more uppercase letters

Matches exactly one uppercase letter

Does not match anything

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the '+' character represent in a regular expression?

Matches zero or one occurrence

Matches zero or more occurrences

Matches one or more occurrences

Matches a specific number of occurrences

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct regular expression to match all words starting with 'a' and ending with 'e'?

^a*e$

^a.*e$

^a.+e$

^a?e$

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the regular expression '[0-9]{3}' match?

Match three consecutive digits

Match three digits in random order

Match three non-digit characters

Does not match anything

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?