Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions