Question: 1 A ) Design a deterministic and non - deterministic finite automaton ( dfa and nfa ) which accept a string containing ion at the

1A) Design a deterministic and non-deterministic finite automaton (dfa and nfa) which accept a string containing "ion" at the end of a string in a string of {a-z}, e.g., "imagination" but not "image". Mentio the quintuple representation of both dfa and nfa you designed.
1B) Consider the language L={(10)n:n0}. Prove that Deterministic Finite Automata (DFA) is equivalen to non-Deterministic Finite Automata (NFA) on the language L.
1C) The language, L={anbncn:n1} is a context sensitive language. Design context sensitive grammar for the language.
2A) The Grammar G, with productions.
SS1B,
S1aS1b,
bBbbbB,
aS1baa,
B
Identify whether this is unrestricted grammar or not. Supplement your answer with proper technical justifications.
2B) Generate the regular expressions for the sets given below.
i){an:n is divisible by 2 or 3 or {:n=5}
ii){a2.a5,a8,dots}
iii) The set of all strings on {a,b} terminated by either 'a' or 'abb'
2C) Identify the languages given below is regular or not and support your answer with proper justifications.
i)L={anbmck:n,m,k0}
ii)L={aib2j:i,j0}
iii)L={an:n is prime
 1A) Design a deterministic and non-deterministic finite automaton (dfa and nfa)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!