Recent questions tagged regular-expression

2 votes
1 answer
544
The meaning of the regular expression (a+b)(a+b) isA)Strings of a's and b's where length is 2B)Strings of a's and b's of any length.C)Null stringD)None
2 votes
1 answer
545
Which of the following is/are not regularA)strings of 0's whose length is a perfect squareB)set of all palindromes made up of 0's & 1'sC)Strings of 0's whose length is pr...
1 votes
2 answers
548
Give a regular expression for L = {set of all strings in which number of a's are multiples of 3}∑={a,b,c}
2 votes
1 answer
549
1) (L/a)a=L(the left side represents the concatenation of the languages L/a and {a})2) a(a/L)=L(again concatenation with {a},this time on the left,is intended)3) ...
3 votes
2 answers
550
A. [(00(0+1)* 11] + [11( 0 + 1)* 00]B. [(00+11) (0+1)+] + [( 0 + 1)+ (00+11)].C. [(00+11) (0+1)*] + [( 0 + 1)* (00+11)]D. (00+11) (0+1)* (00+11).
1 votes
1 answer
552
( a*+b*+a*b*+b*a* ) can we derive string abab and abba from this regular expression. what is the relationship between ( a*+b*+a*b*+b*a* ) and (a+b)*
12 votes
3 answers
558
Write a regular expression for all strings of $0$’s and $1$’s in which the total number of $0$’s to the right of each $1$ is even. Justify your answer.
2 votes
1 answer
559
find regular expression over {a,b} corresponding to "set of strings containing at most 2a's."b*+ b*ab* + b*ab*ab*b*+ b*ab*none
0 votes
2 answers
560
Find regular expression for strings over {a,b}, "starting with any number of a's followed by one or more a's followed by a single b, followed by any number of a's followe...
0 votes
1 answer
561
2 votes
1 answer
562
In c,octal number have regular expressionA.0(digit)*B.0(digit)+C.0(digit)D.0
1 votes
1 answer
564
explain with proper procedure is diagram must for such type of questions
3 votes
4 answers
569
Which of the following regular expression identities are true ?(A) (r + s)* = r* s*(B) (r + s)* = r* + s*(C) (r + s)* = (r*s*)*(D) r* s* = r* + s*
3 votes
5 answers
570
The regular expression 0*(10*)* denotes the same set as(A) (1*0)*1*(B) 0 + (0 + 10)*(C) (0 + 1)* 10(0 + 1)*(D) none of these