Question: Problem 1 . ( 4 points ) Let L be the language AnBn = { a ^ nb ^ n | n 0 } .

Problem 1.(4 points)
Let L be the language AnBn ={a^nb^n | n 0}.
1. Find two distinct strings x and y that are L-indistinguishable. Explain
why they are L-indistinguishable.
2. Find an infinite set of pairwise L-distinguishable strings. Explain why
they are L-distinguishable.
Problem 2.(3 points)
Draw the diagrams for the finite automata that accept the following languages:
1. L1={a, b}{a}.
2. L2={ba}.
Problem 3.(4 points)
Find the finite automaton M =(Q,{a, b}, q0, A, ) that accepts the language L
given by the intersection of the two languages from the previous exercise, i.e.
L = L1 L2. Build the FA by using the cartesian product construction, i.e. by
taking as the set of state Q = Q1 Q2, where Q1 and Q2 are the sets of states
of the automata that accept L1 and L2, respectively. Try to simplify the final
result by getting rid of the redundant states and corresponding transitions.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!