INT201,Assignment 1

Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due

INT201,Assignment 1

Question 1

Given an DFA that recognizes the language A = {e, b,ab} as follows, please present its symbolic description.(20marks)

Question 2

Use the construction given in our lecture to convert the following NFAN into an equivalentDFA. Notably, you only need to draw the corresponding transition graph.(20 marks)

Question 3

Design an NFA with exactly four states for the language {w ∈ ∑* | w contains the substring aab}, where ∑ ={a,b}. You only need to draw the graph. (20
marks)
Question 4

For each of the languages that all strings begin with b and end with a, over the alphabet ∑={a,b}, give a DFA and a regular expression for it. For the DFA, you only need to draw the graph.(20 marks)
(a) Draw the DFA graph.(12 marks)
(b) Give its regular expression.(8 marks)
Question 5

Consider the languageA = {www|w E {a,b}*},proving that it is not a regular language through pumping lemma. (20 marks)
(a) Describe pumping lemma for regular languages. (4 marks)
(b) Prove that A is not a regular language. (16 marks)

发表评论

电子邮件地址不会被公开。 必填项已用*标注