Theories of Computing Questions its assignment about theory of computing please see the word file that i attached. HW2
1. (1 pt) Build a FA that accepts the words, over alphabet {a, b}, that are composed with
only as or with only bs. Accepted words are a, aa, aaa, a
.a, b, bb, bbb, bb
b.
2. (1 pt) Describe in English the language accepted by this FA and give its corresponding
regular expression
–
a
a, b
+
b
b
3. (1 pt) Build a TG that accepts the words that have even occurrences of the substring ab.
4. (0.5 pt) Construct the transition and output table for the following Moore machine
a, b
q2/0
q0/1
a, b
q3/1
a, b
5. (0.5 pt) Construct the transition and output table for the following Mealy machine
b/1
a/0
q0
q1
b/0
a/1
6. (1 pt) Construct the Mealy machines transition table that is equivalent to following
sequential circuit
Extra Credit: (1 pt)
Given a TG called TG1 that accepts language L1, another TG2 that accepts a language L2 and
another TG3 that accepts a language L3, show how can we build another TG that accepts
L1.L2 + L3, which means a word from L1 concatenated with a word from L2 or a word from
L3
Purchase answer to see full
attachment
Consider the following information, and answer the question below. China and England are international trade…
The CPA is involved in many aspects of accounting and business. Let's discuss some other…
For your initial post, share your earliest memory of a laser. Compare and contrast your…
2. The Ajax Co. just decided to save $1,500 a month for the next five…
How to make an insertion sort to sort an array of c strings using the…
Assume the following Keynesian income-expenditure two-sector model: AD = Cp + Ip Cp = Co…