adplus-dvertising
frame-decoration

Question

What is the complement of the language accepted by the NFA shown below? Assume ∑ = {a} and ε is the empty string.

a.

Φ

b.

ε

c.

a

d.

{a, ε}

Posted under Compiler Design

Answer: (b).ε

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the complement of the language accepted by the NFA shown below? Assume ∑ = {a} and ε is the empty string.

Similar Questions

Discover Related MCQs

Q. A deterministic finite automation (DFA)D with alphabet ∑= {a,b} is given below.
Which of the following is a valid minimal DFA which accepts the same language as D?

Q. Construct a NDFA for the following regular expression :

(a∪b)*aba(a∪b)*

Q. Which is the correct NDFA for the following mentioned expression? (ab)*∪(aba)*.

Q. Which NDFA correctly represents the following RE :

a(bab)*∪a(ba)*

Q. Which of the lexical analyser can handle Unicode

Q. Which one is a lexer Generator

Q. Lexers are often generated by a lexer generator, same as parser generators,

Q. It has encoded within it information on the possible sequences of characters that can be contained within any of the tokens it handles .Above motioned function is performed by?

Q. Which grammar defines Lexical Syntax

Q. When expression sum=3+2 is tokenized then what is the token category of 3

Q. The process of forming tokens from an input stream of characters is called_____

Q. Which one is a type of Lexeme

Q. Lexical Analysis Identifies Different Lexical Units in a _______

Q. Lexical Analyser’s Output is given to Syntax Analysis.

Q. An individual token is called ________

Q. The set of all strings over ∑ = {a,b} in which strings consisting a’s and b’s and ending with in bb is

Q. Which of the following languages is/are regular?
L1: {wxwR ⎪ w, x ∈ {a, b}* and ⎪w⎪, ⎪x⎪ >0} wR is the reverse of string w

L2: {anbm ⎪m ≠ n and m, n≥0

L3: {apbqcr ⎪ p, q, r ≥ 0}

Q. Consider alphabet ∑ = {0, 1}, the null/empty string λ and the sets of strings X0, X1 and X0.How are X1 and X2 are related ?
X0 = 1 X1

X1 = 0 X1 + 1 X2

X2 = 0 X1 + {λ}

Which one of the following represents the strings in X0?

Q. How many minimum states are required to find whether a string has odd number of 0’s or not

Q. The length of the shortest string NOT in the language (over Σ = {a, b}) of the following regular expression is _____________
a*b*(ba)*a*