Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged peter-linz-edition4
0
votes
1
answer
241
Peter Linz Edition 4 Exercise 3.1 Question 20 (Page No. 77)
Determine whether or not the following claims are true for all regular expressions $r_1$ and $r_2$. The symbol $≡$ stands for equivalence of regular expressions in the sense that both expressions denote the same language. (a) $(r_1^*)^*≡r_1^*$. (b) $r_1^*(r_1+r_2)^*≡(r_1+r_2)^*$. (c)$(r_1+r_2)^*≡(r_1^*r_2^*)^*$. (d)$(r_1r_2)^*≡r_1^*r_2^*$.
Determine whether or not the following claims are true for all regular expressions $r_1$ and $r_2$. The symbol $≡$ stands for equivalence of regular expressions in the ...
Naveen Kumar 3
645
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
+
–
0
votes
0
answers
242
Peter Linz Edition 4 Exercise 3.1 Question 19 (Page No. 77)
Repeat parts (a), (b), and (c) of Peter Linz Edition 4 Exercise 3.1 Question 18 (Page No. 76) with $Σ =$ {$a, b, c$}.
Repeat parts (a), (b), and (c) of Peter Linz Edition 4 Exercise 3.1 Question 18 (Page No. 76) with $Σ =$ {$a, b, c$}.
Naveen Kumar 3
195
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
1
votes
1
answer
243
Peter Linz Edition 4 Exercise 3.1 Question 18 (Page No. 76)
Find regular expressions for the following languages on {$a, b$}. (a) $L =$ {$w : |w|$ mod $3 = 0$}. (b) $L =$ {$w : n_a (w)$ mod $3 = 0$}. (c) $L =$ {$w : n_a (w)$ mod $5 > 0$}.
Find regular expressions for the following languages on {$a, b$}.(a) $L =$ {$w : |w|$ mod $3 = 0$}.(b) $L =$ {$w : n_a (w)$ mod $3 = 0$}.(c) $L =$ {$w : n_a (w)$ mod $5 ...
Naveen Kumar 3
1.8k
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
1
votes
1
answer
244
Peter Linz Edition 4 Exercise 3.1 Question 17 (Page No. 76)
Write regular expressions for the following languages on {$0, 1$}. (a) all strings ending in $01$, (b) all strings not ending in $01$, (c) all strings containing an even number of $0$'s, (d) Peter Linz Edition 4 ... (e) all strings with at most two occurrences of the substring $00$, (f) all strings not containing the substring $101$.
Write regular expressions for the following languages on {$0, 1$}.(a) all strings ending in $01$,(b) all strings not ending in $01$,(c) all strings containing an even num...
Naveen Kumar 3
836
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
1
votes
1
answer
245
Peter Linz Edition 4 Exercise 3.1 Question 16 (Page No. 76)
Give regular expressions for the following languages on $Σ =$ {$a, b, c$}. (a) all strings containing exactly one $a$, (b) all strings containing no more than three $a$'s, (c) Peter Linz Edition 4 Exercise 3.1 Question 16.c ... 16.d (Page No. 76) (e) all strings in which all runs of $a$'shave lengths that are multiples of three.
Give regular expressions for the following languages on $Σ =$ {$a, b, c$}.(a) all strings containing exactly one $a$,(b) all strings containing no more than three $a$’...
Naveen Kumar 3
1.6k
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
1
votes
1
answer
246
Peter Linz Edition 4 Exercise 3.1 Question 15 (Page No. 76)
Find a regular expression for $L =$ {$w∈ $ {$0,1$}$^* : w$ has exactly one pair of consecutive zeros} .
Find a regular expression for$L =$ {$w∈ $ {$0,1$}$^* : w$ has exactly one pair of consecutive zeros} .
Naveen Kumar 3
561
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
+
–
1
votes
0
answers
247
Peter Linz Edition 4 Exercise 3.1 Question 14 (Page No. 76)
Find a regular expression for $L =$ {$vwv: v, w ∈${$a, b$}$^*, |v|≤3$}.
Find a regular expression for $L =$ {$vwv: v, w ∈${$a, b$}$^*, |v|≤3$}.
Naveen Kumar 3
169
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
+
–
1
votes
1
answer
248
Peter Linz Edition 4 Exercise 3.1 Question 13 (Page No. 76)
Find a regular expression for $L =$ {$vwv: v, w ∈${$a, b$}$^*, |v| =2$}.
Find a regular expression for $L =$ {$vwv: v, w ∈${$a, b$}$^*, |v| =2$}.
Naveen Kumar 3
237
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
regular-language
+
–
1
votes
2
answers
249
Peter Linz Edition 4 Exercise 3.1 Question 12 (Page No. 76)
Find a regular expression for the complement of the language in $L (r) =$ {$a^{2n}b^{2m+1}: n ≥ 0, m ≥ 0$}.
Find a regular expression for the complement of the language in $L (r) =$ {$a^{2n}b^{2m+1}: n ≥ 0, m ≥ 0$}.
Naveen Kumar 3
483
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
regular-language
+
–
1
votes
1
answer
250
Peter Linz Edition 4 Exercise 3.1 Question 11 (Page No. 76)
Find a regular expression for $L =$ {$ab^nw: n ≥ 3, w ∈$ {$a, b$}$^+$}.
Find a regular expression for $L =$ {$ab^nw: n ≥ 3, w ∈$ {$a, b$}$^+$}.
Naveen Kumar 3
240
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
+
–
0
votes
0
answers
251
Peter Linz Edition 4 Exercise 3.1 Question 8 (Page No. 76)
Give a simple verbal description of the language $L ((aa)^* b (aa)^* + a (aa)^* ba (aa)^*)$.
Give a simple verbal description of the language $L ((aa)^* b (aa)^* + a (aa)^* ba (aa)^*)$.
Naveen Kumar 3
106
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
regular-expression
theory-of-computation
+
–
2
votes
0
answers
252
Peter Linz Edition 4 Exercise 3.1 Question 6 (Page No. 75)
Give regular expressions for the following languages. (a) $L_1=$ {$a^nb^m: n ≥ 4,m ≤ 3$}. (b) $L_2=$ {$a^nb^m: n < 4,m ≤ 3$}. (c) The complement of $L_1$. (d) The complement of $L_2$.
Give regular expressions for the following languages.(a) $L_1=$ {$a^nb^m: n ≥ 4,m ≤ 3$}.(b) $L_2=$ {$a^nb^m: n < 4,m ≤ 3$}.(c) The complement of $L_1$.(d) The compl...
Naveen Kumar 3
388
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
1
answer
253
Peter Linz Edition 4 Exercise 3.1 Question 4 (Page No. 75)
Find a regular expression for the set {$a^nb^m: n ≥ 3,m$ is even}.
Find a regular expression for the set {$a^nb^m: n ≥ 3,m$ is even}.
Naveen Kumar 3
219
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
254
Peter Linz Edition 4 Exercise 3.1 Question 3 (Page No. 75)
Show that $r = (1 + 01)^* (0 + 1^*)$ also denotes the language in $L =$ {$w∈${$0,1$}$^* : w$ has no pair of consecutive zeros}. Find two other equivalent expressions.
Show that $r = (1 + 01)^* (0 + 1^*)$ also denotes the language in $L =$ {$w∈${$0,1$}$^* : w$ has no pair of consecutive zeros}. Find two other equivalent expressions.
Naveen Kumar 3
212
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
255
Peter Linz Edition 4 Exercise 3.1 Question 2 (Page No. 75)
Does the expression $((0 + 1) (0 + 1)^*)^* 00 (0 + 1)^*$ denote the language in $L(r) =$ {$w ∈ Σ^*: w$ has at least one pair of consecutive zeros}.?
Does the expression $((0 + 1) (0 + 1)^*)^* 00 (0 + 1)^*$ denote the language in $L(r) =$ {$w ∈ Σ^*: w$ has at least one pair of consecutive zeros}.?
Naveen Kumar 3
232
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
1
votes
2
answers
256
Peter Linz Edition 4 Exercise 3.1 Question 1 (Page No. 75)
Find all strings in $L((a + b) b (a + ab)^*)$ of length less than four.
Find all strings in $L((a + b) b (a + ab)^*)$ of length less than four.
Naveen Kumar 3
700
views
Naveen Kumar 3
asked
Mar 31, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
257
Peter Linz Edition 4 Exercise 2.4 Question 9 (Page No. 69)
Write a Computer program that produces a minimal dfa for any given dfa.
Write a Computer program that produces a minimal dfa for any given dfa.
Naveen Kumar 3
349
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
258
Peter Linz Edition 4 Exercise 2.4 Question 10 (Page No. 69)
Prove the following: If the states $q_a$ and $q_b$ are indistinguishable, and if $q_a$ and $q_c$ are distinguishable, then $q_b$ and $q_c$ must be distinguishable.
Prove the following: If the states $q_a$ and $q_b$ are indistinguishable, and if $q_a$ and $q_c$ aredistinguishable, then $q_b$ and $q_c$ must be distinguishable.
Naveen Kumar 3
269
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
259
Peter Linz Edition 4 Exercise 2.4 Question 7 (Page No. 69)
Show that indistinguishability is an equivalence relation but that distinguishability is not.
Show that indistinguishability is an equivalence relation but that distinguishability is not.
Naveen Kumar 3
290
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
260
Peter Linz Edition 4 Exercise 2.4 Question 6 (Page No. 69)
Prove or disprove the following conjecture. If $M = (Q,Σ,δ,q_0,F)$ is a minimal dfa for a regular language $L$, then $\widehat{M}= (Q, Σ,δ,q_0,Q – F)$ is a minimal dfa for $\overline{L}$.
Prove or disprove the following conjecture.If $M = (Q,Σ,δ,q_0,F)$ is a minimal dfa for a regular language $L$, then $\widehat{M}= (Q, Σ,δ,q_0,Q – F)$ is a minimal d...
Naveen Kumar 3
219
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
261
Peter Linz Edition 4 Exercise 2.4 Question 5 (Page No. 69)
Show that if $L$ is a nonempty language such that any $w$ in $L$ has length at least $n$, then any dfa accepting $L$ must have at least $n + 1$ states.
Show that if $L$ is a nonempty language such that any $w$ in $L$ has length at least $n$, then any dfaaccepting $L$ must have at least $n + 1$ states.
Naveen Kumar 3
485
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
8
votes
0
answers
262
Peter Linz Edition 4 Exercise 2.4 Question 4 (Page No. 69)
Minimize the states in the dfa depicted in the following diagram.
Minimize the states in the dfa depicted in the following diagram.
Naveen Kumar 3
1.1k
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
1
votes
0
answers
263
Peter Linz Edition 4 Exercise 2.4 Question 2 (Page No. 68)
Find minimal dfa's for the following languages. In each case prove that the result is minimal. (a) $L =$ {$a^n b^m :n≥2,m≥1$}. (b) $L =$ {$a^n b:n ≥0$} $∪$ {$b^n a:n ≥1$} (c) $L =$ {$a^n :n ≥ 0,n ≠ 3$}. (d) $L =$ {$a^n:n ≠ 2$ and $n ≠4$}. (e) $L =$ {$a^n:n$ mod $3 = 0$} $∪$ {$a^n: n$ mod $5 = 1$}.
Find minimal dfa's for the following languages. In each case prove that the result is minimal.(a) $L =$ {$a^n b^m :n≥2,m≥1$}.(b) $L =$ {$a^n b:n ≥0$} $∪$ {$b^n a:...
Naveen Kumar 3
690
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
264
Peter Linz Edition 4 Exercise 2.4 Question 1 (Page No. 68)
Minimize the number of states in the dfa of following figure:
Minimize the number of states in the dfa of following figure:
Naveen Kumar 3
559
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
265
Peter Linz Edition 4 Exercise 2.3 Question 14 (Page No. 62)
Let $L$ be any language. Define $even (w)$ as the string obtained by extracting from $w$ the letters in even-numbered positions; that is, if $w = a_1a_2a_3a_4…$, then $even (w)= a_2a_4.…$ Corresponding to this, we can define a language $even (L) =$ {$even (w): w ∈ L$}. Prove that if $L$ is regular, so is $even(L)$.
Let $L$ be any language. Define $even (w)$ as the string obtained by extracting from $w$ the letters ineven-numbered positions; that is, if $w = a_1a_2a_3a_4…$...
Naveen Kumar 3
368
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
2
votes
0
answers
266
Peter Linz Edition 4 Exercise 2.3 Question 13 (Page No. 62)
Give a simple verbal description of the language accepted by the dfa in following figure. Use this to find another dfa, equivalent to the given one, but with fewer states.
Give a simple verbal description of the language accepted by the dfa in following figure.Use this to find another dfa, equivalent to the given one, but with fewer states....
Naveen Kumar 3
482
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
0
votes
0
answers
267
Peter Linz Edition 4 Exercise 2.3 Question 12 (Page No. 62)
Show that if $L$ is regular, so is $L^R$.
Show that if $L$ is regular, so is $L^R$.
Naveen Kumar 3
193
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
regular-language
+
–
0
votes
0
answers
268
Peter Linz Edition 4 Exercise 2.3 Question 11 (Page No. 62)
Prove that all finite languages are regular.
Prove that all finite languages are regular.
Naveen Kumar 3
206
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
regular-language
+
–
0
votes
0
answers
269
Peter Linz Edition 4 Exercise 2.3 Question 10 (Page No. 62)
Define a dfa with multiple initial states in an analogous way to the corresponding nfa in Exercise 18, Section 2.2. Does there always exist an equivalent dfa with a single initial state?
Define a dfa with multiple initial states in an analogous way to the corresponding nfa in Exercise18, Section 2.2. Does there always exist an equivalent dfa with a single...
Naveen Kumar 3
310
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
1
votes
1
answer
270
Peter Linz Edition 4 Exercise 2.3 Question 9 (Page No. 62)
Let $L$ be a regular language that does not contain $λ$. Show that there exists an nfa without $λ$- transitions and with a single final state that accepts $L$.
Let $L$ be a regular language that does not contain $λ$. Show that there exists an nfa without $λ$-transitions and with a single final state that accepts $L$.
Naveen Kumar 3
699
views
Naveen Kumar 3
asked
Mar 30, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
finite-automata
+
–
Page:
« prev
1
...
4
5
6
7
8
9
10
11
12
13
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register