Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged regular-expression
0
0 votes
0
0 answers
567
567 views
Ullman (TOC) Edition 3 Exercise 3.4 Question 4 (Page No. 123)
Prove that $(L^{*}M^{*})^{*}=(L+M)^{*}.$Complete the proof by showing that strings in $(L^{*}M^{*})^{*}$ are also in $(L+M)^{*}.$
admin
567
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
descriptive
+
–
0
0 votes
0
0 answers
647
647 views
Ullman (TOC) Edition 3 Exercise 3.4 Question 3 (Page No. 122)
We developed the regular expression $(0+1)^{*}1(0+1)+(0+1)^{*}1(0+1)(0+1)$ Use the distributive laws to develop two different,simpler,equivalent expressions.
admin
647
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
descriptive
+
–
1
1 vote
0
0 answers
1.6k
1.6k views
Ullman (TOC) Edition 3 Exercise 3.4 Question 2 (Page No. 122)
Prove or disprove each of the following statements about regular expressions.$(R+S)^{*}=R^{*}+S^{*}$$(RS+R)^{*}R=R(SR+R)^{*}$$(RS+R)^{*}RS=(RR^{*}S)^{*}$$(R+S)^{*}S=(R^{*...
admin
1.6k
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
0
0 votes
0
0 answers
997
997 views
Ullman (TOC) Edition 3 Exercise 3.4 Question 1 (Page No. 121 - 122)
Verify the following identities involving regular expressions.$R+S=S+R$$(R+S)+T=R+(S+T)$$(RS)T=R(ST)$$R(S+T)=RS+RT$$(R+S)T=RT+ST$$(R^{*})^{*}=R^{*}$$(\in+R)^{*}=R^{*}$$(R...
admin
997
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
0
0 votes
0
0 answers
578
578 views
Ullman (TOC) Edition 3 Exercise 3.3 Question 2 (Page No. 114)
Give a regular expression to represent salaries as they might appear in employment advertising. Consider that salaries might be given on a per hour, week, month or year b...
admin
578
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
descriptive
+
–
0
0 votes
0
0 answers
545
545 views
Ullman (TOC) Edition 3 Exercise 3.3 Question 1 (Page No. 114)
Give a regular expression to describe phone numbers in all the various forms you can think of. Consider international numbers as well as the fact that different countries...
admin
545
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
descriptive
+
–
1
1 vote
0
0 answers
315
315 views
Ullman (TOC) Edition 3 Exercise 3.2 Question 5 (Page No. 108)
Convert the following regular expressions to NFA's with $\in-$transactions. $01^{*}$$(0+1)01$$00(0+1)^{*}$Eliminate $\in-$transactions from your $\in-NFA’s$
admin
315
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
regular-expression
+
–
0
0 votes
0
0 answers
361
361 views
Ullman (TOC) Edition 3 Exercise 3.2 Question 4 (Page No. 108)
Convert the following regular expressions to NFA's with $\in-$transactions.$01^{*}$$(0+1)01$$00(0+1)^{*}$
admin
361
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
2
2 votes
0
0 answers
1.1k
1.1k views
Ullman (TOC) Edition 3 Exercise 3.2 Question 3 (Page No. 107)
Convert the following DFA to a regular expression using the state elimination techniques.
admin
1.1k
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
0
0 votes
0
0 answers
854
854 views
Ullman (TOC) Edition 3 Exercise 3.2 Question 2 (Page No. 107)
Here is a transition table for a DFA$:$Give all the regular expressions $R_{ij}^{0}.$ Note$:$Think of state $q_{i}$ as if it were the state with integer number $i.$ Give ...
admin
854
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
0
0 votes
0
0 answers
861
861 views
Ullman (TOC) Edition 3 Exercise 3.2 Question 1 (Page No. 107)
Here is a transition table for a DFA$:$ Give all the regular expressions $R_{ij}^{0}.$ Note$:$Think of state $q_{i}$ as if it were the state with integer number $i.$ Give...
admin
861
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
0
0 votes
0
0 answers
467
467 views
Ullman (TOC) Edition 3 Exercise 3.1 Question 4 (Page No. 92)
Give English descriptions of the languages of the following regular expressions$:$$(1+\in)(00^{*}1)^{*}0^{*}$$(0^{*}1^{*})^{*}000(0+1)^{*}$$(0+10)^{*}1^{*}$
admin
467
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
0
0 votes
0
0 answers
599
599 views
Ullman (TOC) Edition 3 Exercise 3.1 Question 3 (Page No. 92)
Write regular expressions for the following languages$:$The set of all strings of $0's$ and $1's$ not containing $101$ as a substring.The set of all strings with an equal...
admin
599
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-expression
+
–
2
2 votes
2
2 answers
3.7k
3.7k views
Ullman (TOC) Edition 3 Exercise 3.1 Question 2 (Page No. 91)
Write regular expressions for the following languages$:$The set of all strings of $0's$ and $1's$ such that every pair of adjacent $0's$ appears before any pair of adjace...
admin
3.7k
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-language
regular-expression
+
–
0
0 votes
0
0 answers
1.1k
1.1k views
Ullman (TOC) Edition 3 Exercise 3.1 Question 1 (Page No. 91)
Write regular expressions for the following languages$:$The set of strings over alphabet $\{a,b,c\}$ containing at least one $a$ and at-least one $b.$The set of strings o...
admin
1.1k
views
asked
Apr 3, 2019
Theory of Computation
ullman
theory-of-computation
finite-automata
regular-language
regular-expression
+
–
2
2 votes
1
1 answer
2.0k
2.0k views
Peter Linz Edition 4 Exercise 3.2 Question 10 (Page No. 88)
Find regular expressions for the languages accepted by the following automata:-https://gateoverflow.in/304714/peter-linz-edition-4-exercise-3-2-question-10-b-page-no-88
Naveen Kumar 3
2.0k
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
0 votes
1
1 answer
1.0k
1.0k views
Peter Linz Edition 4 Exercise 3.2 Question 9 (Page No. 88)
What language is accepted by the following generalized transition graph?
Naveen Kumar 3
1.0k
views
asked
Apr 2, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition4
regular-language
regular-expression
+
–
1
1 vote
0
0 answers
1.0k
1.0k views
Peter Linz Edition 4 Exercise 3.2 Question 8 (Page No. 87)
Consider the following generalized transition graph.(a) Find an equivalent generalized transition graph with only two states.(b) What is the language accepted by this gra...
Naveen Kumar 3
1.0k
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
0 votes
0
0 answers
270
270 views
Peter Linz Edition 4 Exercise 3.2 Question 7 (Page No. 87)
Find the minimal dfa that accepts $L(a^*bb) ∪ L(ab^*ba)$.
Naveen Kumar 3
270
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
regular-expression
+
–
1
1 vote
0
0 answers
353
353 views
Peter Linz Edition 4 Exercise 3.2 Question 6 (Page No. 87)
Find an nfa for all strings not containing the substring 101. Use this to derive a regular expression for that language.
Naveen Kumar 3
353
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
regular-expression
+
–
0
0 votes
1
1 answer
557
557 views
Peter Linz Edition 4 Exercise 3.2 Question 5 (Page No. 87)
Find dfa's that accept the following languages.(a) $L = L (ab^*a^*)∪ L ((ab)^* ba)$.(b) $L = L (ab^*a^*) $ $\cap$ $L ((ab)^* ba)$.
Naveen Kumar 3
557
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-language
regular-expression
+
–
0
0 votes
0
0 answers
403
403 views
Peter Linz Edition 4 Exercise 3.2 Question 4 (Page No. 87)
Find dfa's that accept the following languages.(a) $L (aa^* + aba^*b^*)$.(b) $L (ab (a + ab)^* (a + aa))$.(c) $L ((abab)^* + (aaa^* + b)^*)$.(d) $L (((aa^*)^* b)^*)$.
Naveen Kumar 3
403
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
0 votes
0
0 answers
402
402 views
Peter Linz Edition 4 Exercise 3.2 Question 3 (Page No. 87)
Give an nfa that accepts the language $L((a + b)^* b(a + bb)^*)$.
Naveen Kumar 3
402
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
0 votes
0
0 answers
252
252 views
Peter Linz Edition 4 Exercise 3.2 Question 2 (Page No. 87)
Find an nfa that accepts the complement of the language in $L (ab^*aa + bba^*ab)$.
Naveen Kumar 3
252
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
0 votes
1
1 answer
380
380 views
Peter Linz Edition 4 Exercise 3.2 Question 1 (Page No. 87)
Find an nfa that accepts the language $L (ab^*aa + bba^*ab)$.
Naveen Kumar 3
380
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
0 votes
1
1 answer
462
462 views
Peter Linz Edition 4 Exercise 3.1 Question 26 (Page No. 77)
Find an nfa that accepts the language $L (aa^* (a + b))$.
Naveen Kumar 3
462
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
finite-automata
+
–
1
1 vote
0
0 answers
689
689 views
Peter Linz Edition 4 Exercise 3.1 Question 24,25 (Page No. 77)
Formal languages can be used to describe a variety of two-dimensional figures. Chain-codelanguages are defined on the alphabet $Σ =$ {$u, d, r, l$ }, where these symbols ...
Naveen Kumar 3
689
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
0 votes
0
0 answers
451
451 views
Peter Linz Edition 4 Exercise 3.1 Question 23 (Page No. 77)
For the case of a regular expression $r$ that does not involve $λ$ or $Ø$, give a set of necessary and sufficient conditions that $r$ must satisfy if $L(r)$ is to be infi...
Naveen Kumar 3
451
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
0 votes
0
0 answers
312
312 views
Peter Linz Edition 4 Exercise 3.1 Question 22 (Page No. 77)
Prove rigorously that the expressions in $r= (1^*011^*)^* (0 + λ) + 1^* (0 + λ)$ do indeed denote the specified language.
Naveen Kumar 3
312
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
0 votes
1
1 answer
848
848 views
Peter Linz Edition 4 Exercise 3.1 Question 21 (Page No. 77)
Give a general method by which any regular expression $r$ can be changed into $\widehat{r}$ such that $(L(r))^R = L(\widehat{r})$.
Naveen Kumar 3
848
views
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
Page:
« prev
1
...
4
5
6
7
8
9
10
11
12
13
14
...
24
next »