Deterministic Finite Automata (Example 1)

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 338

  • @johnnysaikia2439
    @johnnysaikia2439 6 років тому +116

    After 9 years since I started CSE course, today I understood the basics of TOC

  • @Lande_1440
    @Lande_1440 2 роки тому +93

    Just started my Theory of computing class on Tuesday and I'm glad you made these! thank you!💙

  • @felixshava5604
    @felixshava5604 4 роки тому +79

    Was contemplating on creating a Compiler for my little language, this series of tutorials helped me a lot. So simplified are the explanations, more understandable than text explanations. Please keep up the good work.

  • @DasCODE
    @DasCODE 4 роки тому +24

    My faculty took 2 weeks to explain that with lots of examples and all that stuff I was bored asf and didn't understand anything its his teaching style not suit me but this 10 mins video❤ learning is fun

  • @shubhamtrivedi9142
    @shubhamtrivedi9142 7 років тому +312

    man UA-cam is such an unfortunate media, i can only give one thumbs Up, amazing tutorial, thank you!!

    • @johnnathanielcooper7435
      @johnnathanielcooper7435 7 років тому +20

      I will give him one more on your behalf!

    • @105kemal
      @105kemal 6 років тому +20

      Donation link in description :)

    • @pradnyeshaglawe351
      @pradnyeshaglawe351 4 роки тому +2

      You can donate money if you want to, link is in the description

    • @lightbinger
      @lightbinger 4 роки тому +1

      Well, If you want you can donate at www.nesoacademy.org/donate

    • @Apollyon47
      @Apollyon47 4 роки тому +1

      3 years ago...

  • @gabrielpereiramendes3463
    @gabrielpereiramendes3463 5 років тому +55

    Excelent!
    Thanks a lot from Brazil.
    I had difficulties when I studied this subject at college but after watching your classes I am a little more confident.

  • @champ6277
    @champ6277 3 роки тому +18

    Hope youtube gives you a lot of money. Pure Legend

  • @shavkat95
    @shavkat95 3 роки тому +5

    I wish I had found you 4 years ago. My life would be a lot better now. If it should still turn around because of your videos, if I should continue with my Masters, I will give a big thanks

  • @harshupadhyaya141
    @harshupadhyaya141 7 років тому +66

    sir I cnt explain how much have you done by these videos...you are amazing..keep doing good work sir

  • @lomeriojohnmark
    @lomeriojohnmark Місяць тому +2

    I almost give up to my course, because of the subject automata. I thought it's very complex, the way you explained it is very easy to understand.

  • @jeremiahmort4294
    @jeremiahmort4294 5 років тому +7

    Trying to build a DFA was kicking my butt, but after seeing your video I know what I need to do. Thank you so much!

  • @kushalrahatkar1889
    @kushalrahatkar1889 5 років тому +18

    The way he explains is the best

  • @marcox208
    @marcox208 4 роки тому +2

    Honestly this is the first video I've watched from your channel, but you saved my day. I love you so much

  • @rahulkamath6916
    @rahulkamath6916 2 роки тому +15

    I had FAFL when I studied my engineering. For some reason, I couldnt master the subject to the extent what i intended. 15 years gone by and I decided to refresh the basic of computer science starting with FAFL and Discrete Math.
    Loving watching this series as it is bringing back a lot of memories along with better understanding of basic CS.
    Are there any notes that I can download [as in just the images that you have drawn] in a PDF format perhaps ?

  • @sukantsingh662
    @sukantsingh662 5 років тому +15

    Always some unique, logical and dedication type method.
    all academic areas must understand this.

  • @kennethJAO96
    @kennethJAO96 2 роки тому +6

    This guy explained much more information than my professor. lol.
    thanks for this, you've gained another subscriber

  • @estebanrivas_
    @estebanrivas_ 4 роки тому +9

    Thank you so much! Greetings from Argentina!

  • @pratik037
    @pratik037 6 років тому +8

    neso academy always saves the day!

  • @aishwarya1895
    @aishwarya1895 2 роки тому +6

    What an explanation ✌️
    Literally hats off to you. .may god bless you man!

  • @Yorzya
    @Yorzya 4 роки тому +1

    Out of all the other video lecturers from channel such as tutorials point , education 4u,Khan academy, etc.. neso academy is the best study channel that I have ever seen thanx a lot ..mannn..great work keep going..

  • @ravindrathalari8332
    @ravindrathalari8332 6 років тому +14

    The way you fluent English is really fabulous...

  • @akashsaxena3267
    @akashsaxena3267 6 років тому +341

    What goes to state C, stays in state C.

  • @vaishnavi353
    @vaishnavi353 7 років тому +39

    I owe my flat grades to you! Thank you for explaining so wonderfully

    • @darwinadriel6959
      @darwinadriel6959 3 роки тому

      I dont mean to be so off topic but does any of you know a trick to log back into an Instagram account??
      I stupidly forgot my login password. I love any tips you can offer me.

    • @elishavincenzo1833
      @elishavincenzo1833 3 роки тому

      @Darwin Adriel instablaster :)

    • @lucy-h
      @lucy-h 3 роки тому +1

      @@elishavincenzo1833 This is a bot and a scam.

    • @pranav288
      @pranav288 3 роки тому

      @@lucy-h Elisha is also a bot

    • @lucy-h
      @lucy-h 3 роки тому

      @@pranav288 Yep, pretty sad really

  • @shikharchaudhary6984
    @shikharchaudhary6984 5 років тому +5

    Amazing explanation

  • @mdsufyanahmedsiddique4432
    @mdsufyanahmedsiddique4432 7 років тому +3

    Everyone Lecture You Explained Well.......Thanks a Lot Sir

  • @devkumar9889
    @devkumar9889 2 роки тому

    Our teacher sucked at explaining these , finally I found something. Thanks

  • @poserGirl863
    @poserGirl863 3 роки тому +6

    Thank you so much, man, you're really helping me out!

  • @M7MADAREF
    @M7MADAREF 2 роки тому

    Thanks 👍 , from republic of Yemen 🇾🇪🇾🇪🇾🇪

  • @chavaligangadevi8663
    @chavaligangadevi8663 Рік тому +1

    Good explanation sir

  • @anukanuk
    @anukanuk 2 роки тому +1

    Great explanation..

  • @Miodies_shona
    @Miodies_shona 5 років тому +2

    Great explanation thank u today i have presentation on finite automata and ity types this is helpful

  • @SntMgn_HQfficial
    @SntMgn_HQfficial 6 місяців тому +1

    Hi, it's me, the new generation. learning automata theory as well!

  • @craigruchman7007
    @craigruchman7007 Рік тому

    Wonderful refresher, many thanks

  • @conker9527
    @conker9527 2 роки тому

    thank you bro actually prepared me for my test the day before

  • @hrishikeshshinde2399
    @hrishikeshshinde2399 6 років тому +2

    Very good explanation ...such an ideal tutorial ...

  • @DarkKnightOwnU88
    @DarkKnightOwnU88 4 роки тому +4

    I love the outro music

  • @taukirsheikh9405
    @taukirsheikh9405 4 роки тому +1

    Superb the examples are amazing
    Thanks for making the video

  • @rudrapratapsingh686
    @rudrapratapsingh686 7 років тому

    Sir you are grate .....yore hope of many many students

  • @DalilaSolis-kc8yo
    @DalilaSolis-kc8yo Рік тому

    You’re a literal god thank you so much

  • @railzone9312
    @railzone9312 3 роки тому

    Thank you bro,I understand well ,superb teaching

  • @dukhanasanrana7243
    @dukhanasanrana7243 6 років тому

    Excellent teaching process

  • @braintwisters18
    @braintwisters18 6 років тому

    Sir you are providing us the great help.....Thank you so much.....May god bless u
    Keep teaching & sharing......

  • @purnimask5841
    @purnimask5841 5 років тому

    Nice explanation with verifying that constructed DFA 👌

  • @reeshmashama
    @reeshmashama 3 роки тому

    Perfect explaination tq neso

  • @leroi804
    @leroi804 2 роки тому +3

    Is it necessary to add the C state in case the first digit is 1? I mean isn't it enough just to have the state B in case the first digit is 0? What happens if we don't add support for invalid cases?

    • @rinzhler6922
      @rinzhler6922 Рік тому

      The reason why we even add an invalid case is to define our language well.
      Take it like this :
      We are creating a language such that the language only has 0 as the starting string. Therefore the automaton proceeds from initial state to state 2 only if the first input is 0. So what if I give an input 1 ?
      This is why I'm creating a trap state in my state transition diagram.

  • @EasyExamNotes
    @EasyExamNotes 3 роки тому

    Excellent work

  • @kaushalbandara2667
    @kaushalbandara2667 6 місяців тому

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

  • @kamaleshsekharbharadwaj226
    @kamaleshsekharbharadwaj226 4 роки тому +5

    Sir why can't we place the self loop in A state for input 1 instead of considering another state C. If input would be 1 then it would remain in A or if 0 then it will go to final state.

    • @naamanomar5201
      @naamanomar5201 10 місяців тому

      i really want to know why

    • @Mysterilogue
      @Mysterilogue 6 місяців тому

      same Question

    • @troomanhooman
      @troomanhooman 6 місяців тому +4

      Because it will accept inputs that start with 1. Picture this, for example, the input is 100:
      Input 1: Stays in state A
      Input 0: Goes to state B
      Input 0: Stays in state B
      The string is then accepted even if it did not start with 0.
      But using a separate state C:
      Input 1: Goes to state C
      Input 0: Stays in state C
      Input 0: Stays in state C
      The string is then not accepted as it was deadlocked in state C.

    • @Palak-qy7jo
      @Palak-qy7jo 2 місяці тому +1

      Because C is a dangling or dead state which means all the input that shouldn't be included can be pointed to this state... And to answer your question if you put a self loop on A it will accept strings like 101 or 1010... But we can only accept strings that start with 0 hence we created a dead state instead of putting self loop on A

  • @sarba85528
    @sarba85528 Рік тому

    Very well explained. Thank you!

  • @YogeswariBMIS
    @YogeswariBMIS Рік тому

    hats off 👏👏you peoples are rally rocking 😍thanks a lot😇

  • @pasupuletitejaswini8137
    @pasupuletitejaswini8137 4 роки тому +1

    Amazing tutorial sir. thank you!!

  • @williamamouh4016
    @williamamouh4016 3 роки тому +4

    Thank you man, that is very nice. But i have a question: Why to send the input 1 to the state C (Why to make the state C part) if we already know that our language does not contains any string which starts with 1?

    • @abdullahmokhtr6093
      @abdullahmokhtr6093 3 роки тому +1

      i think to tell computer how to handel it when there is wrong input because computer didn't know how to handel it him self

    • @prashantkawathe933
      @prashantkawathe933 Рік тому

      Because in DFA every state should have path for each input since in this example the input are 0,1 so in state A there should path for 0,1 therefore there is two path for state A.

  • @AnasTahira
    @AnasTahira 3 роки тому

    wow, you made it look so easy

  • @Happen2Bme
    @Happen2Bme 5 років тому

    Wow...Thanks! You make it simple and easy to understand.

  • @gateprep8076
    @gateprep8076 5 років тому

    Everything was Perfect except that you missed to define the alphabet i.e {0,1} I would give you 9.9/10 It was simply amazing. 😁😁

  • @oniiichannn5113
    @oniiichannn5113 2 роки тому +2

    How about ends with 001 for example: 1001, 101001, and 001 are accepter while the strings 1000, 10011, and 0010 are rejected.

    • @tejaltatiwar4682
      @tejaltatiwar4682 2 роки тому

      we dont care about any 1 except at first position

  • @kainaatmakhani6550
    @kainaatmakhani6550 2 роки тому

    Hat's off to you sir!

  • @rakeshgiri6750
    @rakeshgiri6750 2 роки тому

    You help us to move on bright path thanks you so much❤

  • @danhibiki110
    @danhibiki110 6 років тому

    Thank you thank you thank you thank you x1000! Helped me understand it so much better.

  • @TheGGbond
    @TheGGbond 4 роки тому +1

    waaaayy better than my university professor.

  • @Kuyaking25
    @Kuyaking25 3 роки тому

    thanks broo, you saved my day

  • @kalikmagotra444
    @kalikmagotra444 5 років тому +2

    great explaination... just had something in mind...what if we put a self loop on state A for input 1..i guess then also it will be ok... we won't need to go to the dead state.

    • @leroypalmer9226
      @leroypalmer9226 5 років тому

      this is also my belief. I think we should stay in the same state as that is what my professor also does.

    • @kalikmagotra444
      @kalikmagotra444 5 років тому +3

      @@leroypalmer9226 no bro. the requirement is accepting the string that starts with 0.. if any 1 comes in the beginning it shouldn't reach final state at any cost . that's why we sent it to dead state.

  • @monalidarekar2078
    @monalidarekar2078 2 роки тому

    Very nice lecture

  • @ritikpaliwal1676
    @ritikpaliwal1676 3 роки тому +1

    1:59.....why you gives double circle on B
    How you decided this is final state....
    Please give me answer sir...🙏🏻

  • @Ana-el3gk
    @Ana-el3gk 4 роки тому +2

    Amazing! thank you

  • @kellybmackenzie
    @kellybmackenzie Рік тому

    Thank you so much, this helped me so much!!

  • @GamersWeb
    @GamersWeb 2 роки тому +1

    Thanx

  • @thebongsuperstyller8465
    @thebongsuperstyller8465 3 роки тому

    Most most most helpful,thnks is not sufficient for this..still god bless you sir 🙏🙏🙏🙏🙏

  • @Rongmai_Tribal_blood
    @Rongmai_Tribal_blood Рік тому

    Thank you sir.. It's really Smoth n easy to understand..

  • @muhasawa
    @muhasawa 7 місяців тому

    Sir, but we shouldn't specify dead state in DFA. In NFA, we can.

  • @Bunny_Shark
    @Bunny_Shark 8 місяців тому

    very; nice explanation

  • @omkarsuralkar8099
    @omkarsuralkar8099 2 роки тому

    Thank You

  • @shishirak940
    @shishirak940 3 роки тому

    It helped a lot thank you sir

  • @divyapatkar2431
    @divyapatkar2431 3 роки тому

    Well explained
    Thank you so much ❤️

  • @syeduzairahmed3378
    @syeduzairahmed3378 2 роки тому +1

    Why didn't we made c as a final state? Because input 101 wasn't included in the string we were given right?

    • @tejaltatiwar4682
      @tejaltatiwar4682 2 роки тому

      becz we dont want string starting with 0 so we made c as trap state and havent made final state

  • @dimplejain7226
    @dimplejain7226 6 років тому

    Excellent video

  • @tune_into_gaming
    @tune_into_gaming 7 років тому

    best .....nothing to say easy explanation

  • @sithibanu9019
    @sithibanu9019 6 років тому

    its easy to understand sir thank u sir

  • @bsindhusagar5628
    @bsindhusagar5628 2 роки тому

    Thank you.I am happy 😊

  • @aishachoudhery5838
    @aishachoudhery5838 6 років тому +2

    amazing videos, thank you very much sir

  • @bhasineemanage433
    @bhasineemanage433 2 роки тому

    very precious lecture series.

  • @jasu96
    @jasu96 6 років тому +3

    it really helped me a lot thank u sir

  • @hectorg362
    @hectorg362 5 років тому

    I freaken love you and this channel for this content!

  • @khadijamomin7
    @khadijamomin7 2 місяці тому

    why we took C when we can stop at B (as B is having self loop 0,1 )
    and A is also starting from 0 so there wasnt any problm

  • @abcxyz8090
    @abcxyz8090 3 роки тому

    Why the second example of 101 has been discussed in the lecture when it was not an element of L1? Sometimes giving unnecessary examples create more confusion.

  • @izharkhankhattak
    @izharkhankhattak 2 роки тому

    *Excellent*

  • @mohitmanik9577
    @mohitmanik9577 4 місяці тому

    thank you so much .

  • @mohammadmansour9390
    @mohammadmansour9390 3 роки тому

    I will give it 10/10 thank you so much for that explaination

  • @hadiyaasif7030
    @hadiyaasif7030 9 місяців тому

    great help

  • @saadmanahmed860
    @saadmanahmed860 5 років тому +1

    perscrutation on DFA is on going. new semester new course cse331 automata & computability

  • @sarasweety8868
    @sarasweety8868 2 роки тому +1

    a question.. in the previous videos you have said that in DFA we have only one unique next state and in NFA it has multiple next states. but in the video above it is an example of DFA so how come state A can go to both states B and C?

    • @sleepyj1827
      @sleepyj1827 2 роки тому +2

      Im four months late, but basically, NFA is when a state, can go to multiple states WITH the SAME INPUT. lets say, Input 1, takes B to C and also B to D. it

  • @SmartCam13
    @SmartCam13 8 років тому

    Thanks

  • @User_435gyu6
    @User_435gyu6 3 роки тому

    Why are we wasting money in our boring colg lectures instead of listening here!💐

  • @deepanshukumar5407
    @deepanshukumar5407 2 роки тому

    Thanku so much sir

  • @saisai-kk2dy
    @saisai-kk2dy 9 місяців тому +2

    why we should take only 0 and 1 as inputs?

    • @Indianarts__376
      @Indianarts__376 3 місяці тому

      Because E={0,1} will be given question

  • @HammadKhan-ik8ru
    @HammadKhan-ik8ru 3 роки тому

    at 3.12 (timespan) you did put on a self-loop on B, but loop is not allowed in DFA as you said before and previous lecture.
    then why you added a loop now?

  • @Ashimiim
    @Ashimiim 6 років тому +3

    Sir i am unable to draw the transition diagram for most of the questions, so can you tell me how should I think to draw it? Steps to be followed? Explain in an easy manner
    Thanks

  • @AhamedKabeer-wn1jb
    @AhamedKabeer-wn1jb 4 роки тому

    Thank you..

  • @cutieboo233
    @cutieboo233 3 роки тому

    LOVE IT! THANK YOU!

  • @haripriyacm7396
    @haripriyacm7396 4 роки тому

    Thank u