Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Draw a DFA a. for the language accepting strings starting with 'ab' over input alphabets ={a,b} b. Draw a DFA for the language accepting

image text in transcribed
1. Draw a DFA a. for the language accepting strings starting with 'ab' over input alphabets ={a,b} b. Draw a DFA for the language accepting strings starting with '101' over input alphabets ={0,1} c. Draw a DFA that accepts a language L over input alphabets ={0,1} such that L is the set of all strings starting with " 00 '. d. Construct a DFA that accepts a language L over input alphabets ={a,b} such that L is the set of all strings starting with 'aba'. e. Let ={a,b} and let L={baa}. Design a DFA for L. 2. Explain any three applications of DFA,PDA,TM,regular expression 3. Explain regular expression, regular language, context free language, recursively enumerable language 4. Find the regular expression for the set of strings with cither ' p ' preceding a ' q ' or ' q ' preceding a ' p ', over {p,q} 5. Prove that regular languages are closed under intersections (ie) given two regular languages L1 and L2, prove that LI L2 is regular 6. Convert regular expression to DFA a. a(bc) 7. Find the regular expression for DFA 8. Construct a PDA for the following a. Construct a PDA that accepts L={01n0} 9. Difference between Pushdown Automata and Finite Automata 10. Check whether the given grammar G is ambiguous or not. a. SaSbSS S For the string "aabb" bSSSSaSb For w=abba &.SA/BAaAb/abBabB/eForw=ab 11. Explain the following

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

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions