[PDF] [PDF] Additional Material Section 21

8 fév 2011 · Show that the language L = {an n is a multiple of 3, but not a multiple of 5 } is regular theorem: if L1 and L2 regular, then L1 ∩ L2 regular



Previous PDF Next PDF





[PDF] Additional Material Section 21

8 fév 2011 · Show that the language L = {an n is a multiple of 3, but not a multiple of 5 } is regular theorem: if L1 and L2 regular, then L1 ∩ L2 regular



Exercises

and #1(x) is a multiple of three; tions, leading zeros permitted, of numbers that are not multiples of four (b) Show that if A and B are regular sets, then so is A II B (Hint: Homework 4 305 3 For each of the two automata a b a b -+ 1 1 4 -+ IF 3 5 2 3 1 If the automaton has n states, the transition function 6 can be



[PDF] daemaskammtur1pdf

written on an input file, which the automaton can read but not change The input file is show that the language is regular by constructing a dfa for it We can write Show that the language L = {a": n is a multiple of three, but not a multiple of 5)



[PDF] Homework 3 Solutions

(a) The language { w ∈ Σ∗ w ends with 00 } with three states 1 2 3 0, 1 0 1 2 5 3 4 6 0 ε 0, 1 0 1 0 0, 1 1 0 1 0 (d) The language {ε} with one state 1 (a) Show by giving an example that, if M is an NFA that recognizes language C, Note that M′ accepts the string 100 ∈ C = { w w does not end with 00 }, so



[PDF] Homework 4 - NJIT

Suppose that language A is recognized by an NFA N, and language B is the collection of strings not accepted by some DFA M Prove that A ◦ B is a regular 



[PDF] CIT 425- AUTOMATA THEORY, COMPUTABILITY AND FORMAL

The three operations employed by a regular expression on languages are: is a systematic method for showing that a language is not regular Show that the language L = {an: n is a multiple of three, but not a multiple of 5} is regular 8



[PDF] QUESTION BANK SOLUTION Unit 1 Introduction - Atria e-Learning

multiple of 3 (5m )(Jun-Jul 5 11 Write Regular expression for the following L = { anbm: m, n are even} L = { an,bm: m>=2, n>=2} Show that following languages are not regular (10m)(June-July 2011) (Jun-Jul 12) L={a n b m that for every string w in where w >= n, we can break w into three strings w = xyz such that:



[PDF] Solution - CS5371 Theory of Computation

Prove that the language {wp p is prime} is not regular (You may give a pumping length p and demonstrate that F satisfies the three conditions of the pumping 



[PDF] CS4232 – Theory of Computation - NUS Computing

5 Combining Languages 49 of all binary strings whose length is a multiple of 6 The regular Assume by way of contradiction that some regular set does not satisfy P Now This completes the structural induction to show that all regular sets have either parameter n = 3: Given u0u1u2u3 ∈ L, there are three cases: 29 



[PDF] CS 341 Homework 9 Languages That Are and Are Not Regular

In unary notation, only the symbol 1 is used; thus 5 would be represented as 11111 in unary notation (a) L = {w : w is the unary notation for a natural number that is a multiple of 7} Show that the language L = {anbm : n ≠ m} is not regular 5

[PDF] show that x is a cauchy sequence

[PDF] show that x is a discrete random variable

[PDF] show that x is a markov chain

[PDF] show that x is a random variable

[PDF] show that [0

[PDF] show the mechanism of acid hydrolysis of ester

[PDF] show time zone cisco

[PDF] show ∞ n 2 1 n log np converges if and only if p > 1

[PDF] shredded workout plan pdf

[PDF] shredding diet

[PDF] shredding workout plan

[PDF] shrm furlough

[PDF] shuttle paris

[PDF] si clauses french examples

[PDF] si clauses french exercises

Additional Material Section 2.1

2IT16 Finite Automata and Processes

Technische Universiteit Eindhoven

February 8, 2011

Exercise 2.1.15 (formulation)

Design an automaton with no more than five states that accepts the languageababnn0 abann0.

2IT16 (2011) Chapter 22/17

Exercise 2.1.15 (solution)

abab a a

L=ababnn0 abann0

2IT16 (2011) Chapter 23/17

Exercise 2.1.19 (formulation)

Show that the language

L=annis a multiple of 3, but not a multiple of 5

is regular.

2IT16 (2011) Chapter 24/17

Exercise 2.1.19 (solution)

s0s1s2aa a (M3) =annmultiple of 3

2IT16 (2011) Chapter 25/17

Exercise 2.1.19 (solution)

t0t1t2t3t4aaaa a (M5) =annno multiple of 5

2IT16 (2011) Chapter 26/17

Exercise 2.1.19 (solution)

s0 s1 s2 t0t1t2t3t4 u00u01u02u03u04 u10u11u12u13u14 u20u21u22u23u24

2IT16 (2011) Chapter 27/17

Exercise 2.1.19 (solution)

s0 s1 s2 t0t1t2t3t4 u00u01u02u03u04 u10u11u12u13u14 u20u21u22u23u24

2IT16 (2011) Chapter 28/17

Exercise 2.1.19 (solution)

u00u01u02u03u04 u10u11u12u13u14 u20u21u22u23u24

2IT16 (2011) Chapter 29/17

Intersection of regular languages

two automata1= (1,,1,1,1),2= (2,,2,2,2) definition:product automaton= (,,,,) =1 2=(s1,s2)s1 1,s2 2 (s1,s2)a(t1,t2)s1a1t1s2a2t2 = (1,2),=1 2 theorem:ifL1andL2regular, thenL1L2regular

2IT16 (2011) Chapter 210/17

Exercise 2.1.10 (formulation)

For each of the statements below, decide whether it is true or false. If it is true, prove it. If not, give a counterexample. All parts refer to languages over the alphabeta,b.

1IfL1L2andL1is not regular, thenL2is not regular.

2IfL1is regular,L2is not regular, andL1L2is regular, then

L

1L2is not regular.

2IT16 (2011) Chapter 211/17

Exercise 2.1.10 (solution)

1L=anbnn0is non-regular

L a,b buta,bis regular

2supposeL1L2is regular

then (L1L2)(L1L2)is regular also (L1L2)Lc1is regular hence

L2=?(L1L2)(L1L2)??(L1L2)Lc1?is regular

2IT16 (2011) Chapter 212/17

Exercise 2.1.21 (formulation)

Suppose the languageLis regular anda .

Show thatL ais regular.

2IT16 (2011) Chapter 213/17

Exercise 2.1.21 (solution)

a c b s a tc ab s,t,,,, s) =(u,b,v)u,v ,b :ubvv= (u,b,t)u,v ,b :ub (,a,s)

2IT16 (2011) Chapter 214/17

Exercise 2.1.20 (formulation)

Suppose the languageLis regular.

Show thatL εis regular.

2IT16 (2011) Chapter 215/17

Exercise 2.1.20 (solution)

st a b r a r,, (r,a,t),r,)

2IT16 (2011) Chapter 216/17

Exercise 2.1.20 (solution)

given= (,,,,) add fresh stater/ letrbe the new initial state ifasin, addras r,, ras as,r,)

2IT16 (2011) Chapter 217/17

quotesdbs_dbs4.pdfusesText_8