adplus-dvertising
frame-decoration

Question

The number of final states we need as per the given language?
Language L: {an| n is even or divisible by 3}

a.

1

b.

2

c.

3

d.

4

Answer: (b).2

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The number of final states we need as per the given language? Language L: {an| n is even or divisible by 3}

Similar Questions

Discover Related MCQs

Q. Regular sets are closed under union,concatenation and kleene closure.

Q. Complement of a DFA can be obtained by

Q. Complement of regular sets are _________

Q. If L1 and L2 are regular sets then intersection of these two will be

Q. If L1 is regular L2 is unknown but L1-L2 is regular ,then L2 must be

Q. Reverse of a DFA can be formed by

Q. Reverse of (0+1)* will be

Q. A ___________ is a substitution such that h(a) contains a string for each a.

Q. Homomorphism of a regular set is _______

Q. (a ^ 5b ^ 5)* is example of ________

Q. Which of the following is type 3 language ?

Q. a ^ nb ^ n where (n+m) is even .

Q. Complement of a ^ nb ^ m where n >= 4 and m <= 3 is example of

Q. a ^ nb ^ m where n >= 1, m >= 1, nm >= 3 is example of

Q. Complement of (a + b)* will be

Q. If a NFA N = (Q,Σ,δ,S,F) and the equilanet DFA D = (Q,Σ,δ,S,F), then which of the following is incorrect?

Q. Which of the following is correct?

Q. The smallest finite automata which accepts the language {X: X is a word over {a, b} and |x| is Divisible by 3} has

Q. Consider the following finite state machine. This machine outputs as

Q. The major difference between a Moore and a mealy machine is that