Skip to main content

Basics of Automata Theory

LEARNING OUTCOMES-


STUDENT(S) WILL ABLE TO EXPLAIN-
LO-1: Symbols, Alphabets & String and Kleene Star (*/+).
LO-2: Language & Regular Expression.
LO-3: Transition Function, State   Diagram & Transition Matrix.
LO-4: Grammar and conversion from   State Diagram to Grammar.


vAutomata is an ABSTRACT M/C.
vDEALS WITH THE LOGIC OF COMPUTATION WITH RESPECT TO SIMPLE M/C.
vAUTOMATA ENABLES COMPUTER SCIENTISTS AND ENGINEERS TO UNDERSTAND HOW  M/C COMPUTE THE FUNCTION AND SOLVE PROBLEMS.

SYMBOLS : a, b,------, z, .....    0, 1,------

ALPHABETS: (Æ©)   <SET OF SYMBOLS>

i) Æ© = {a, b}     ii) Æ© = {a, b, 0, 1}


STRING: {ϵ, a, b, ab}, Ïµ : Epsilon

 “LENGTH OF STRINGS”: | ^| = 0, |a| = 1, |ab| = 2

         

                                  Æ© = { a, b}

                      Æ©* ={^, a, b, ab, ba, aa, bb, aab, aabb,------}

KLEENE CLOSURE / KLEENE STAR

a* : {^, a, aa, aaa, aaaa,-------}

a+ : a* - ^ = {a, aa, aaa,-----}



Power of ‘Æ©’:

Æ© = {0, 1}

Æ© 0 = {^},  Æ©1 = {0, 1},  Æ©2 = {00, 11, 01, 10}, Æ©3 = {000, 001, 010, 011, 100, 110, 111}

 

Universal Set :

Ʃ* = Ʃ0Ʃ1 U Ʃ2 U Ʃ3 U Ʃ4 U-------

    = {^} U {0,1} U {00, 01, 10, 11} U--------


LANGUAGE: SUBSET OF Æ©*
    -SET OF STRINGS CHOOSEN FROM Æ©*


EX:

Æ© ={0, 1} “ALPHABETS OF BINARY DIGIT”

L1 = {SET OF ALL STRING OF LENGTH 2}

  = {00, 01, 10, 11}                  : FINITE LANGUAGE

L2 = {SET OF ALL STRINGS STARTS WITH ‘1’}

  ={1, 10, 11, 100, 110, 111, 1000, 1001,-----}

                                 :INFINITE LANGUAGE

CLASS WORK: Æ© ={0, 1}

L3 = {SET OF ALL STRINGS WHICH ENDS WITH ‘0’}

ASSIGNMENT: Æ© ={0, 1}

L4 = {SET OF ALL STRING WHICH ENDS WITH ‘00’}

L5 = {SET OF ALL STRING WHICH HAS EQUAL NO OF   0’S AND 1’S}

L6 = {SET OF ALL STRING WHICH HAS EVEN NO OF   0’S}

L7 = {SET OF ALL STRINGS WHICH HAS EVEN NO OF   0’S AND EVEN NO OF 1’S}


Regular Expression: (R.E.)

Æ© = {a, b}

a*     => {^, a, aa, aaa,-----}

 (ab)*    => {^, ab, abab, ababab,----}

(a+b)* => {^, a, b, aa, bb, ab, ba, aaa, aba,------}

(a+b)(a+b)--------(a+b)----(a+b)--------

a(b)*b   =>  {ab, abb, abbb, abbbb,-----}

b+ a*  =>   {b, bb, bbb,------, ba, baa, bba,---- }


ASSIGNMENT:

Æ© = {a, b}

a(a+b)*  =>

(a+b)+ b   =>

ab(ab)*    =>

(a+b)*ab(a(ab)+)*   =>

(b(a+b)* + a(a+b)*)*   =>


Popular posts from this blog

Internet of Things MCQs (IoT-MCQs)

  Q1. What is the full form of IoT? a) Incorporate of Things b) Internet of Things   c) Internet of Technology d) Incorporate of Technology Show Answer (b) Internet of Things Q2. When was the actual term “Internet of Things” coined? a) 1998 b) 1999  c) 2000 d) 2002 Show Answer (b) 1999 Q3. What is the full form of IIOT? a) Index Internet of Things b) Incorporate Internet of Things c) Industrial Internet of Things d) Intense Internet of Things Show Answer (c) Industrial Internet of Things Q4.What is the java extension file in IoT. a) .jar b) .c c) .py d) .exe Show Answer (a) .jar Q5.Which language is preferred for IoT analytics. a) HTMT b) PHP (c)Python d) C++ Show Answer (c) Python Q6.Who invented the term IoT(Internet of Thing)? a) George Garton b) John Wright c) Edward Janeson  d) Kelvin Aston Show Answer (d) Kelvin Aston ...

Machine Learning & Deep Learning MCQs

Learning Outcome1: Differentiate Various Types of Learning in ML Q1. How many types of machine learning? a) 5           b)4                   c)6              d)3 Show Answer (b) 4 Q2.Identify the one which is not a type of learning. a) Reinforcement Learning                             b)Unsupervised Learning c)Semi-supervised Learning                           d)Semi unsupervised Learning Show Answer (d)Semi unsupervised Learning Q3. Who is the father of Machine Learning? a)Geoffrey Everest Hinton                               b)Geoffrey Hill c)Geoffrey   C haucer                    ...

DFA | Deterministic Finite Automata