edited by
32,641 views
88 88 votes

What is the complement of the language accepted by the NFA shown below?
Assume $\Sigma = \{a\}$ and $\epsilon$ is the empty string.

  1. $\phi$
  2. $\{\epsilon\}$
  3. $a^*$
  4. $\{a , \epsilon\}$

15 Answers

Best answer
113 113 votes
The language being accepted is $a^+$. So, complement of the language is $\{\epsilon\}$.
selected by
49 49 votes
NFA accepts the language L=a+ and ∑={a}

the complement of L=∑*- a+=a*-a+={∊}

so answer is B
4 4 votes
one more way is to convert this epsilon nfa to nfa and then take complement of the language but the only careful point is that the question has asked about the langauge formed by complement of the language accpeted by such nfa.

in nfa complementation doesnt work the same way that dfa does. so "complement of language accepted by nfa" and "complement of the machine" are two different things in case of nfa
Answer:
Position:
Show:

Related questions

35 35 votes
4 answers 4 answers
11.7k
11.7k views
Arjun asked Sep 25, 2014
11,692 views
Given the language $L = \left\{ab, aa, baa\right\}$, which of the following strings are in $L^{*}$?$ abaabaaabaa$$ aaaabaaaa$$ baaaaabaaaab$$ baaaaabaa$$\text{1, 2 and 3}...
92 92 votes
8 answers 8 answers
22.9k
22.9k views
Arjun asked Sep 29, 2014
22,851 views
Consider the set of strings on $\{0,1\}$ in which, every substring of $3$ symbols has at most two zeros. For example, $001110$ and $011001$ are in the language, but $1000...
15 15 votes
4 answers 4 answers
4.8k
4.8k views
gatecse asked Sep 29, 2014
4,826 views
Given the sequence of terms, $\text{AD CG FK JP}$, the next term is$\text{OV}$$\text{OW}$$\text{PV}$$\text{PW}$
17 17 votes
2 answers 2 answers
5.3k
5.3k views
gatecse asked Sep 29, 2014
5,297 views
Which one of the following options is the closest in meaning to the word given below?Mitigate DiminishDivulgeDedicateDenote