Question: Q 4 ( 8 points ) Question 4 - Regular Expressions Let n 1 , n 2 , dots, n 9 denote the 9 digits

Q4(8 points)
Question 4-Regular Expressions
Let n1,n2,dots,n9 denote the 9 digits of you Student ID. We let ={a,b,c} be the
alphabet we work with in this question. For each of the languages listed in the parts
below, provide description in words or set notation of the language, if the question
defines it by a regular expression and provide a regular expression if the question
defines the language by a description in words or set notation. For each of the four
languages also determine whether the language contains the empty word lon and give an
example of one word over that is in the language and one such word that is not in
the language. Recall that, for a word w, we let |w| denote the length of the word (that
is, the number of symbols in w).
(a)(ab)+c(ab)+c.
(b)aO
(c){win**||w|n}, where n=n1+n2.
(d)|):} is divisible by {:n5}.
2+2+2+2 points
PLEASE PROVIDE ME THE DESCRIPTION WITH SET NOTATION
Q 4 ( 8 points ) Question 4 - Regular Expressions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!