Deterministic Finite Automata (Example 3)

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2016
  • TOC: An Example of DFA which accepts all the strings over {a,b} that does not contain the string 'aabb' in it.
    This lecture shows how to construct a DFA that accepts all strings over {a,b} that does not contain the string 'aabb' and contains all other strings.
    Full Course on TOC: goo.gl/f4CmJw
    Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
    Follow me on Instagram: @jaiz_itech (bit.ly/2M3xyOa)
    Contribute: www.nesoacademy.org/donate
    Memberships: bit.ly/2U7YSPI
    Books: www.nesoacademy.org/recommende...
    Website ► www.nesoacademy.org/
    Forum ► forum.nesoacademy.org/
    Facebook ► goo.gl/Nt0PmB
    Twitter ► / nesoacademy
    Music:
    Axol x Alex Skrindo - You [NCS Release]
    #TheoryOfComputation #TOCByNeso #DeterministicFiniteAutomata #DFA #AutomataTheory

ความคิดเห็น • 607

  • @alexwilson8269
    @alexwilson8269 4 ปีที่แล้ว +939

    I'm proud of you. Single handedly saving students that have poor professors.

    • @hamdis7449
      @hamdis7449 4 ปีที่แล้ว +2

      Truee

    • @yashnarang637
      @yashnarang637 3 ปีที่แล้ว +44

      exactly i don't know how that poor professors become permanent faculties of government institutes. My TOC teacher doesn't know how to use zoom for online classes. see wtf

    • @ismail8973
      @ismail8973 3 ปีที่แล้ว +8

      dude same here bro. me also from govt institute. The institute hire professors by checking only their qualification like if they have phd from IIT then they are in .but they are not checking weather they have a skill to teach students.may be they are very rich in knowledge.

    • @woofelator
      @woofelator 3 ปีที่แล้ว +3

      @@yashnarang637 Lol you answered your own question when you said "government".
      The government can't run anything efficiently

    • @jithjoseph2450
      @jithjoseph2450 3 ปีที่แล้ว

      Exactly.. 💕💕

  • @zeal1059
    @zeal1059 3 ปีที่แล้ว +45

    This may help :
    q1: Why C gets a self loop ?
    A1: Before C we have got our "aa" as required in "aabb", so any further a's do not disrupt our required sequence of "aabb" that is we cud still have "aaaa..ab" and still it will be valid since we got 2 a's in conjunction preceeding our b.
    q2: If C got a self loop, Why did we loop D to B and not create a self loop for it as well?
    A2: Before D we have got our "aab" as required in "aabb". If we create a self loop for D , we have end up with "aaba" which does not match our required string. In order to only get a "b" after "aab" we must go to the start (that is where our sequence started to form) since it will make our string "aaab" which is still valid and hope that when it reaches again to D we are getting input as "b".

    • @samalexander3295
      @samalexander3295 3 ปีที่แล้ว +1

      Understood but why can't we send the input "a" from D to C instead of B, C has a self-loop of "a" so can we not still obtain "aab" if we send it to state C?

    • @revenant8061
      @revenant8061 3 ปีที่แล้ว +8

      @@samalexander3295 That is because we can't predict what input will be ! So to make sure that we don't depend on ""Assumption"" and get the correct output.
      Explanation:
      You are correct about the the self loop of C that will give the desired output, but the problem will arise when we get b as input at C and the output will be """aabab""" which is wrong.
      Moral: So we have to check all the cases while solving DFA problems , else it will be incorrect.

    • @samalexander3295
      @samalexander3295 3 ปีที่แล้ว +1

      @@revenant8061 Understood. Thank you for explaining.

    • @patelkulap1741
      @patelkulap1741 ปีที่แล้ว

      @@revenant8061 thanks bro... i had same question

    • @Usadreamerok
      @Usadreamerok 13 วันที่ผ่านมา

      Thanks bro had the same doubt​@@revenant8061

  • @oskarkamil8208
    @oskarkamil8208 ปีที่แล้ว +41

    You're doing exceptional work. You're helping massive number of students pass their studies. Keep up the good work 🏆

  • @manasaggrawal9177
    @manasaggrawal9177 6 ปีที่แล้ว +410

    A lot of confusion is going on here but i think this will help: "it's not the string 'aabb' that u have to achieve. It can be 'aaabbaa' or 'aabbaba' or any other string as long as it contains 'aabb' in it and the rest of the string can consist of any pattern.

    • @profesorciencias
      @profesorciencias 5 ปีที่แล้ว +2

      It seems to me that it works fine.

    • @shaifaliverma153
      @shaifaliverma153 5 ปีที่แล้ว +40

      ......what we want is that "aabb" should be there as a substring in those strings....we don't want only aabb

    • @vibecatcher4416
      @vibecatcher4416 5 ปีที่แล้ว +13

      we want the string,which "contains"(please note this word) aabb . Ok? ... "Not aabb alone"

    • @rkogaming844
      @rkogaming844 4 ปีที่แล้ว +9

      @@shaifaliverma153 only aabb is also a solution.'our main idea is to make aabb as a substring for all the strings'. aabb is a substring of aabb as well.

    • @shaifaliverma153
      @shaifaliverma153 4 ปีที่แล้ว +6

      @@rkogaming844 yaa i agree.....but what im saying is just.....that there's a big difference b/w a machine accepting only "aabb" and accepting "aabb" as a substring, because machine accepting only "aabb" is not gonna accept a string like "babbaabbab" which contains "aabb" as a substring.

  • @Danger418
    @Danger418 5 ปีที่แล้ว +38

    I like how you give us multiple examples to work with, makes learning so easier!

  • @starmakerspro4984
    @starmakerspro4984 2 ปีที่แล้ว +28

    If there is an award like oscar in studies this man truly deserves 🙏🙏

  • @skandeshkkblr3416
    @skandeshkkblr3416 10 หลายเดือนก่อน +11

    i dont think there will be better explanations than this .. thanks a lot for such amazing content !

  • @JcMorgan619
    @JcMorgan619 5 ปีที่แล้ว +26

    You did very well sir, the explanation was very clear. I cannot thank you enough 🙏

  • @NiveshPatil
    @NiveshPatil 3 ปีที่แล้ว +30

    that is brilliant

  • @leroypalmer9226
    @leroypalmer9226 5 ปีที่แล้ว +5

    This is a powerful example. I like question like these. These make sure you understand the concept. Thank you

  • @shardul3622
    @shardul3622 ปีที่แล้ว +6

    You're an absolute genius sir, you saved my dreadful exams with the help of your absolutely amazing teaching! Thank you so much!

  • @souvikdatta9034
    @souvikdatta9034 7 ปีที่แล้ว +7

    Awesome explanation sir! I recommend all my friends to watch your tutorials

  • @woofelator
    @woofelator 3 ปีที่แล้ว +27

    You are the G.O.A.T.
    I should be paying you instead of my university lmao

  • @nazirahassan2971
    @nazirahassan2971 4 ปีที่แล้ว +10

    got an exam tomorrow, thanks for the explanation really helpful!

  • @aver803bath261
    @aver803bath261 2 ปีที่แล้ว +4

    Thank you for providing such great content to help us learn properly. The example is pretty good and pretty perfect to use the flip technique to solve the problem. The explanation is pretty clear as well. Great job! And Thank you again!

    • @SURAJ-cv8nt
      @SURAJ-cv8nt ปีที่แล้ว

      Where are you from?
      Asking just out of curiosity 🤠

  • @HasanShokri
    @HasanShokri 2 ปีที่แล้ว +1

    Thank you sir! Your step by step tutorial is so clear and understandable.

  • @abhinavbindra9274
    @abhinavbindra9274 2 ปีที่แล้ว +3

    such a nice example, it helps us to understand the concept better!

  • @mohammadzaid9189
    @mohammadzaid9189 2 ปีที่แล้ว

    neso is revolutionising the education. Thankyou very much for helping the students worldwide. you are doung great job.

  • @ahmadmohamad8416
    @ahmadmohamad8416 2 ปีที่แล้ว +1

    i missed my first three lectures and i was lost but thank god i found you you life save

  • @CherryMarz
    @CherryMarz 5 ปีที่แล้ว +3

    you are a life saver. thank you for explaining so clearly

  • @VishnuNithyaSoundharS
    @VishnuNithyaSoundharS 4 ปีที่แล้ว +5

    Totally did not know we could flip a DFA. Awesome video :)

  • @xingxanghanji6583
    @xingxanghanji6583 5 ปีที่แล้ว +6

    It got from D to B for in put 'a' because after getting to B if we have another 'a' then our required string becomes "aa" when it reaches C and then the same process can continue again.If there had been a 'b' after jumping from D to B then it would go to A to start the whole process again as out string then would be "ab" and not "aa".

  • @ilakiyasivakumar3814
    @ilakiyasivakumar3814 3 ปีที่แล้ว +6

    U were really awesome..keep rocking in many more students career 💯💯✨

  • @pagolchagol22
    @pagolchagol22 6 ปีที่แล้ว +3

    These lectures have been really helpful! Thanks! One point about this one is that you could've written B the same way u did C and not had the C state at all

  • @PythonisLove
    @PythonisLove 4 ปีที่แล้ว +1

    Very good job sir... I am actually helped a lot in understanding the concept with examples!

  • @theanhtran2595
    @theanhtran2595 5 ปีที่แล้ว

    simple, clearly, and very well explanation.
    thanks you

  • @jameskamgar
    @jameskamgar 5 ปีที่แล้ว

    thank you very much! I found this course as the most useful one.

  • @Raj_Patel21
    @Raj_Patel21 6 ปีที่แล้ว

    Nice approach. Thanks it helped me in solving another problem of my book

  • @gabrielpereiramendes3463
    @gabrielpereiramendes3463 4 ปีที่แล้ว +4

    The best class!

  • @flacarile9790
    @flacarile9790 5 ปีที่แล้ว

    Phenomenal tutorial. Well done.

  • @hassanlaghbi7047
    @hassanlaghbi7047 6 ปีที่แล้ว +1

    Thanks a lot for your nice well explained course 👍🏼👍🏼👍🏼

  • @NareshKumar-un9er
    @NareshKumar-un9er 3 ปีที่แล้ว

    pleasant explanation with perfect examples....thank you very much sir.

  • @sleepaleart12
    @sleepaleart12 3 ปีที่แล้ว

    your videos are a goldmine! Thank you so much!

  • @hananemoussa4346
    @hananemoussa4346 3 ปีที่แล้ว

    Thank you sir! Good example and even better explanation!

  • @mm46393
    @mm46393 6 ปีที่แล้ว

    Great explanation! Thank you for the video

  • @ShivasishKhan
    @ShivasishKhan 6 หลายเดือนก่อน

    thank you very much, the things i haven't learned from the past 6 months, you taught me in minutes.

  • @scottzeta3067
    @scottzeta3067 2 ปีที่แล้ว +3

    I am starting a similar course in Uni. My lecture said solution might easy to understand but hard to figure it out. I guess now I knew what does that mean.

  • @nikhielsingh748
    @nikhielsingh748 ปีที่แล้ว

    exceptionally good teaching , I am a final year student at University of Kwa Zulu Natal in South Africa and your videos help me a lot, thanks

  • @MinhLe-xk5rm
    @MinhLe-xk5rm 5 ปีที่แล้ว +9

    THIS IS AMAZING!!!!! THANKS FOR THIS GREAT TUTORIAL!

    • @indronilbose
      @indronilbose 2 ปีที่แล้ว

      Can I get your number for help

    • @tuneboyz5634
      @tuneboyz5634 2 ปีที่แล้ว

      @@indronilbose haha bob n vagene pls

  • @lima073
    @lima073 2 ปีที่แล้ว

    This is so beautiful, thank you !

  • @user-rb3gj8mq1j
    @user-rb3gj8mq1j 6 ปีที่แล้ว

    finally I start to understand what is actually is DFA mean . Thank you very much

  • @apporvaarya
    @apporvaarya 4 ปีที่แล้ว

    loved it absolutely

  • @karanveertaneja3998
    @karanveertaneja3998 7 ปีที่แล้ว +4

    WOW GREAT SIR YOU EXPLAINED VERY WELL :)

  • @hetulbhatia4190
    @hetulbhatia4190 3 ปีที่แล้ว

    Outstanding Explanation.

  • @sumeetubale3923
    @sumeetubale3923 ปีที่แล้ว +1

    amazing explanation !!!

  • @simonachen4580
    @simonachen4580 ปีที่แล้ว

    This is so helpful!Thank you so much!

  • @user-zc9gg4jz8q
    @user-zc9gg4jz8q 3 หลายเดือนก่อน

    Thanks a lot with this course i got good amount of knowledge and able to do well in my vtu exams

  • @harshavardhan2775
    @harshavardhan2775 4 ปีที่แล้ว

    great lecture!

  • @agamgill9563
    @agamgill9563 6 ปีที่แล้ว

    U explain tough topics very easily.....thank u sr

  • @nunpuiachhakchhuak4635
    @nunpuiachhakchhuak4635 2 ปีที่แล้ว

    This was spectacular.. thanks man.

  • @divyaagarwal3091
    @divyaagarwal3091 2 ปีที่แล้ว

    amazing explanation!

  • @DuchessTheAristocat
    @DuchessTheAristocat 8 หลายเดือนก่อน

    Thank you so much for your clear videos ❤

  • @mouadkerdoud9428
    @mouadkerdoud9428 3 ปีที่แล้ว

    Thank you for this.

  • @vinaykumarkhardoniya9639
    @vinaykumarkhardoniya9639 2 ปีที่แล้ว

    Thanks a lot, Neso Academy for saving us...

  • @vinodraja55
    @vinodraja55 7 ปีที่แล้ว +3

    hai sir, doing great job. requesting to upload lectures on DIGITAL COMMUNICATION. we are in great need. thank u

  • @TunerXMusic4u
    @TunerXMusic4u 5 หลายเดือนก่อน +1

    ❤❤❤maja aagya is video mein to...thnx

  • @SauryaKumarSinghbcs
    @SauryaKumarSinghbcs 3 ปีที่แล้ว

    amazing lecture

  • @deepakprajapati5064
    @deepakprajapati5064 3 ปีที่แล้ว

    Fully understable explanation

  • @legend7890
    @legend7890 3 ปีที่แล้ว +1

    I had to watch it twice to understand. It made sense the second time.

  • @mdabutorabkhan3370
    @mdabutorabkhan3370 3 ปีที่แล้ว +1

    Thank you sir.

  • @simransinghi4342
    @simransinghi4342 3 ปีที่แล้ว

    i just loved the way u teach. TYSM. Much love to u:):):):)

  • @chinu157
    @chinu157 5 ปีที่แล้ว +4

    does the flipping of states work every time?
    like if you get any other problem, and then you first do the opposite of what is asked, then we flip the initial and final states? will it work?

  • @gurukirans266
    @gurukirans266 3 ปีที่แล้ว

    brilliant video sir thank u

  • @user-mr7ly3hd9o
    @user-mr7ly3hd9o 2 หลายเดือนก่อน

    Thanks your efforts ❤

  • @bisrataraya3980
    @bisrataraya3980 4 ปีที่แล้ว +1

    what can i say! hallelujah you saved my life the night before my exam , i was really lost in this topic but i don't even know how i got here , God really loves me . my God bless you abundantly your videos are just amazing . thanks so much

  • @maryjanegabor2894
    @maryjanegabor2894 3 ปีที่แล้ว

    Thank you.... thank you #Neso_Academy for your wonderful presentation example video of that!

  • @eyobedet5144
    @eyobedet5144 2 ปีที่แล้ว

    thank you for your help

  • @amankjan2668
    @amankjan2668 5 ปีที่แล้ว

    Please guys do watch from 16.40 bcoz its game changing point and its explained that why we interchange the states thanks alot! Helped alot still gng through vids

  • @juliepradhan2418
    @juliepradhan2418 6 ปีที่แล้ว +13

    sir plz upload a video for this video (DFA example-3) in any other way for the same example....
    by solving by "Presence of aabb in the string"...creates some confusion..

  • @thebrazilianguy3458
    @thebrazilianguy3458 ปีที่แล้ว

    Best explanation ever

  • @kaushalbandara2667
    @kaushalbandara2667 2 หลายเดือนก่อน

    ❤Well explained.. Thank you very much..😊🔥🔥🔥👍

  • @KumarRaj414
    @KumarRaj414 3 ปีที่แล้ว

    Please continue this good work you will get love from students

  • @rainbowchampagne10
    @rainbowchampagne10 3 ปีที่แล้ว +1

    thank you 🙌🏾

  • @user-mw3yf9bk4y
    @user-mw3yf9bk4y 6 หลายเดือนก่อน +7

    Sir ,did anyone forced the faculty to design these kind of subjects?

  • @serhatsahin7791
    @serhatsahin7791 5 ปีที่แล้ว +5

    At first, I tried to find solution my own, when I do that I didn't consider simplification of problem. So I found 6 states and 1 state for exit. How can we decide which is lesser costly? extra 1 state or extra 3 final states for DFA?

  • @pradeeshbm5558
    @pradeeshbm5558 2 หลายเดือนก่อน

    That was awesome ❤‍🔥

  • @mohamedsami.a5288
    @mohamedsami.a5288 วันที่ผ่านมา

    In two days, I am having my TOC exams and I'm starting the syllabus now :)

  • @dinushachathuranga7657
    @dinushachathuranga7657 4 หลายเดือนก่อน

    Thnks a lot for the nice explanation💗

  • @prisharai792
    @prisharai792 ปีที่แล้ว +1

    Thank you so much you are a life saver

  • @anuthomas183
    @anuthomas183 3 ปีที่แล้ว +1

    Thank you sir!!

  • @SonuSharma-yp2io
    @SonuSharma-yp2io 3 ปีที่แล้ว

    Excellent man

  • @mariuszpopieluch7373
    @mariuszpopieluch7373 5 หลายเดือนก่อน

    This is great. I didn’t see that trick in Sipser.

  • @ahmetkarakartal9563
    @ahmetkarakartal9563 2 ปีที่แล้ว

    thank you so much!!!

  • @lakshanianuruddhika6530
    @lakshanianuruddhika6530 3 ปีที่แล้ว

    Thank you.we learnt lot

  • @14adritahaldar10
    @14adritahaldar10 3 ปีที่แล้ว

    superb !!

  • @feliciopedro2
    @feliciopedro2 5 ปีที่แล้ว

    really love it

  • @dilara4816
    @dilara4816 2 ปีที่แล้ว

    thank you so much

  • @sch2217
    @sch2217 6 ปีที่แล้ว

    You are awesome thanks for the awesome vids!

  • @fiddley
    @fiddley 3 ปีที่แล้ว +24

    I'm a carpenter, why am I watching this?

    • @harshinibhat8524
      @harshinibhat8524 3 หลายเดือนก่อน +3

      Good for you . Come and write my exams 😅

    • @namelessunnamed6544
      @namelessunnamed6544 3 หลายเดือนก่อน +5

      You are the chosen one
      You must watch this

    • @superpowerdragon
      @superpowerdragon 2 หลายเดือนก่อน +2

      Knowledge is fascinating

    • @kushpatidar626
      @kushpatidar626 2 หลายเดือนก่อน +1

      Nah man can't make this with wood😂

    • @kksinha673
      @kksinha673 2 หลายเดือนก่อน

      Ask yourself fucking idiot

  • @BoyBoy-jf5oz
    @BoyBoy-jf5oz ปีที่แล้ว +2

    In the last example should there be another state off State A to make sure the length is 2 if you start with A, if I understand, if you start with b it will just return b with a length of b

  • @itsjohndoe
    @itsjohndoe 7 ปีที่แล้ว +2

    You Sir, are a great man! Thank you.

    • @shyamprakashm6325
      @shyamprakashm6325 4 ปีที่แล้ว

      Hey are you here? I have replied to yku one of your you tube comments about your DP contain housefly .it seems like a original flies is stick in my mobile 😁😁🤣

    • @itsjohndoe
      @itsjohndoe 4 ปีที่แล้ว

      @@shyamprakashm6325 Ha Ha, Great to see you again 🤣

  • @maqsoodahmed6412
    @maqsoodahmed6412 7 ปีที่แล้ว +1

    great sir

  • @Aman_Yadavvvvv
    @Aman_Yadavvvvv ปีที่แล้ว

    Thank you

  • @krishwanthkishore8299
    @krishwanthkishore8299 ปีที่แล้ว

    Thanks bro helped me a lot

  • @davidn274
    @davidn274 ปีที่แล้ว

    BRO WTH IM LEARNING SO MUCH I HAVE MY EXAM ON FRIDAY AND THIS HELPS ME SO MUCHO, LOVE YOU. I'LL TELL YOU WHAT HAPPENED ON THAT DAY...

  • @KumarRaj414
    @KumarRaj414 3 ปีที่แล้ว

    Good job

  • @gokulnath610
    @gokulnath610 4 ปีที่แล้ว

    Nice explanation

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 3 ปีที่แล้ว

    Good Explantion..Sir Thank you..

  • @anshadbava8226
    @anshadbava8226 3 ปีที่แล้ว

    Loved it😍

  • @nanivijay5071
    @nanivijay5071 ปีที่แล้ว

    Thank you sir