• edited by
23,335 views
70 70 votes

Consider the following two finite automata. $M_1$ accepts $L_1$ and $M_2$ accepts $L_2$.

$M_1$
$M_2$

 

Which one of the following is TRUE?

  1. $L_1 = L_2$
  2. $L_1 \subset L_2$
  3. $L_1 \cap  L_{2}^{C} = \varnothing $
  4. $L_1 \cup L_2 \neq  L_1$

8 Answers

Best answer
73 73 votes

$L_1: (0 + 10)^*11(0 + 1)^* $

$L_2: (0 + 1)^*11(0 + 1)^*$ 

It is quite clear that $L_1 = L_2$.

As both languages $L_1$ and $L_2$ are equal So Complement of Language $L_2$ will be the complement of Language $L_1$ also. For a given language $L, L \cap L^{c} = \emptyset.$

Hence, both options (A) and (C) are correct.

• edited by
4 4 votes
Both the machines looks to be accepting the same language . M1 is a DFA and M2 is a NFA . So simply for verification convert NFA ( M2 ) to DFA and perform state reduction operation on DFA to get minimal DFA . We can see that the result is machine ( M1 ) . For those who don't wish to play much with regular expressions can use this technique.
2 2 votes

Answer: A.

option c) cannot be right as complement concept is only applicable for DFA.

2 2 votes

For those who have not idea how to convert NFA to DFA

1 1 vote

M2 is NFA. If M2 is converted to DFA, it will become exactly same as M1. Hence L1 and L2 are same set of languages. Thus option A and C are correct

0 0 votes

In this L1 = (0+10)* 11(0+1)*
L2 = (0=1)* 11(0+1)*
Both L1 and L2 are equal.
Option A is correct.
→ L1 ∩ L2‘ = L1 ∩ L1‘ = ∅ (option C also correct)

Answer:
Position:
Show:

Related questions

45 45 votes
5 answers 5 answers
15.3k
15.3k views
Ishrat Jahan asked Oct 28, 2014
15,263 views
If the final states and non-final states in the DFA below are interchanged, then which of the following languages over the alphabet $\{a, b\}$ will be accepted by the new...
40 40 votes
5 answers 5 answers
16.7k
16.7k views
Ishrat Jahan asked Oct 27, 2014
16,725 views
Let $N$ be an NFA with $n$ states and let $M$ be the minimized DFA with m states recogniz­ing the same language. Which of the following in NECESSARILY true?$m \leq 2^n$$n...
37 37 votes
5 answers 5 answers
13.7k
13.7k views
Ishrat Jahan asked Oct 28, 2014
13,728 views
Which of the following languages is (are) non-regular?$L_1 = \{0^m1^n \mid 0 \leq m \leq n \leq 10000\}$$L_2 = \{w \mid w $ reads the same forward and backward$\}$$L_3 = ...
58 58 votes
7 answers 7 answers
22.8k
22.8k views
Ishrat Jahan asked Oct 28, 2014
22,762 views
Consider a CFG with the following productions.$S \to AA \mid B$$A \to 0A \mid A0 \mid 1$$B \to 0B00 \mid 1$$S$ is the start symbol, $A$ and $B$ are non-terminals and 0 an...