Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part II: Regular Expression 1. Chose match(es) for each given basic/extended regular expression (maybe multiple correct matches) and describe the pattern of matched string for

image text in transcribed

Part II: Regular Expression 1. Chose match(es) for each given basic/extended regular expression (maybe multiple correct matches) and describe the pattern of matched string for 1), 2),7), 8), 10) 1) 'a[ab]*a (a)ababa (b) aaba (c) aabab (d) aabbaa (e)aa 2) 'a(bc)?" (a) abc (b) a(bc) (c) a(bc (d) a (e) abcbc ) ind (a) wind (b) window (c) end (d) good (e)will 4) Ta-z]+[a-z] (a) atb+c (b) +b (c) x (d) x+1 e) x+a 0 OC (a) a+b+c (b) +b(c) x (d)x+1(e) x+a 6) a.[bc]+' (a)azbc (b) az(c) azbcbc (d) acc (e)acz 7) 'a.[0-9] (a)azz (b) a0z (c)a01d) a0a (e)aza (a)good! (b) Book. (c) hard? (d) coolhot (e)nothing 9) [a-z]+.?!s*[A-Z' (hint:s matches any whitespace characters) (a)Grade. A (b) book. Z (c) E.G (d) Level. a (e)index?a 10) (very )+(cool)?(goodlbad) weather' (a)good weather (b) very good weather (c) cool weather (d) very cool bad weather (e)cool good weather 11) '-?[0-91+ (a)3312 (b)-2231 (c) +32(d) 0.5 (e)2/3 12) '-?[0-9] ?[0-9]* (a)3312 (b) -2231 (c) +32 (d) 0.5 (e)2/3

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

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

Students also viewed these Databases questions

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

Explain the sources of recruitment.

Answered: 1 week ago

Question

Differentiate sin(5x+2)

Answered: 1 week ago

Question

Compute the derivative f(x)=1/ax+bx

Answered: 1 week ago

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago