1.

The number of elements in the set for the Language L={xϵ(∑r) *|length if x is at most 2} and ∑={0,1} is_________(a) 7(b) 6(c) 8(d) 5The question was posed to me during an online interview.My query is from Finite Automata-Introduction topic in section Finite Automata of Automata Theory

Answer»

The correct choice is (a) 7

Easiest explanation: ∑r= {1,0} and a KLEENE* OPERATION WOULD LEAD to the following set=COUNT{ε,0,1,00,11,01,10} =7.



Discussion

No Comment Found

Related InterviewSolutions