Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Each question has at least one correct answer. Choose the match for each given basic regular expression in question 1) to 3): 1) 'Java|C'

image text in transcribed
Note: Each question has at least one correct answer. Choose the match for each given basic regular expression in question 1) to 3): 1) 'Java|C' (a) Java (b) C (c) java c (d) JAVA (e) Java C 2) ' [0], (a) twitter (b) amazon (c) google (d) great (e) None of above 3) ' class {} ' (a) class class class (b) class { int a=0} (c) class a (d) class int a=0; (e) None of above 4) 'a?[bc]' (a) abc (b) a? [bc] (c) a? (d) a[bc (e)None of above Choose match for each given extended regular expression in question 4) to 6): 5) '[a-z\s|'you[?!.]' (hint: 's matches any space character) (a) are you OK ? (b)nice to meet you! (c) Hey...you! (d) eh ii love you. (e) None of above 6) ' [ aeiou ]{6}, (a) peach (b) lychee (c) papaya (d) loquat (e) None of above 7) '(1+?[1-9][02468]) 0 , (a) +2 (b) 20 (c) 2 (d) +0 (e) None of above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions