Deterministic Finite Automata (Example 1)

Поделиться
HTML-код
  • Опубликовано: 20 янв 2025

Комментарии • 354

  • @johnnysaikia2439
    @johnnysaikia2439 6 лет назад +134

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

  • @shubhamtrivedi9142
    @shubhamtrivedi9142 7 лет назад +329

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

    • @johnnathanielcooper7435
      @johnnathanielcooper7435 7 лет назад +21

      I will give him one more on your behalf!

    • @105kemal
      @105kemal 6 лет назад +20

      Donation link in description :)

    • @pradnyeshaglawe351
      @pradnyeshaglawe351 5 лет назад +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...

  • @champ6277
    @champ6277 4 года назад +27

    Hope youtube gives you a lot of money. Pure Legend

  • @vaibhavsharma5923
    @vaibhavsharma5923 Месяц назад +7

    Its my last semester and birthday tomorrow, I will be celebrating it with Neso. Thank you Neso Academy!!

    • @SAbbasy
      @SAbbasy Месяц назад

      same here but birthday shifted to next semester

    • @ShivamSingh-ii5jo
      @ShivamSingh-ii5jo Месяц назад

      ​@@SAbbasy 😂

  • @felixshava5604
    @felixshava5604 4 года назад +81

    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.

  • @Roland_e
    @Roland_e 3 года назад +94

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

  • @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.

  • @kennethJAO96
    @kennethJAO96 2 года назад +6

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

  • @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

  • @harshupadhyaya141
    @harshupadhyaya141 7 лет назад +67

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

  • @kushalrahatkar1889
    @kushalrahatkar1889 5 лет назад +19

    The way he explains is the best

  • @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

  • @lomeriojohnmark
    @lomeriojohnmark 4 месяца назад +6

    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.

    • @osemenjoy6126
      @osemenjoy6126 2 месяца назад

      reallll, this is me currently☺

  • @DasCODE
    @DasCODE 4 года назад +29

    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

  • @pratik037
    @pratik037 6 лет назад +8

    neso academy always saves the day!

  • @lima073
    @lima073 2 года назад +5

    Valeu!

  • @estebanrivas_
    @estebanrivas_ 4 года назад +9

    Thank you so much! Greetings from Argentina!

  • @sukantsingh662
    @sukantsingh662 6 лет назад +15

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

  • @jeremiahmort4294
    @jeremiahmort4294 6 лет назад +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!

  • @aishwarya1895
    @aishwarya1895 3 года назад +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..

  • @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 ?

  • @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

  • @devkumar9889
    @devkumar9889 2 года назад

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

  • @poserGirl863
    @poserGirl863 4 года назад +6

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

  • @mdsufyanahmedsiddique4432
    @mdsufyanahmedsiddique4432 7 лет назад +3

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

  • @ravindrathalari8332
    @ravindrathalari8332 7 лет назад +14

    The way you fluent English is really fabulous...

  • @akashsaxena3267
    @akashsaxena3267 6 лет назад +360

    What goes to state C, stays in state C.

    • @ritiksrivastava3093
      @ritiksrivastava3093 4 года назад +37

      You can check out anytime you like but you can never leave.

    • @drkaranmannan
      @drkaranmannan 4 года назад +49

      @@ritiksrivastava3093 Welcome to the hotel "C"alifornia

    • @sh9dy_281
      @sh9dy_281 4 года назад +5

      My callertune tho....

    • @ChimpStrong
      @ChimpStrong 2 года назад

      1

    • @simply_me6308
      @simply_me6308 2 года назад

      Any string starts with '1'

  • @JosephVann-nh3vm
    @JosephVann-nh3vm 7 дней назад

    Explained in 10 minutes what my professor couldn't in an hour and a half

  • @Miodies_shona
    @Miodies_shona 5 лет назад +2

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

  • @chavaligangadevi8663
    @chavaligangadevi8663 Год назад +1

    Good explanation sir

  • @zhongzhongclock
    @zhongzhongclock 24 дня назад

    There is a small leap between the concept of Language and the FDA.
    In fact, we already know that the FDA could be used to generate Langauge and the Language also could be used to generate DFA, they are same concept with different definitions. But in this section 4, you've not explained their connection yet, and assume that we know it. This is a little difficult for audience. It's just a small suggestion to insert the explaining section between the Section 4 and Section 3 on the connection of FDA and Language.
    You did a great job on this computation theory knowledge sharing on this planet, Thanks!

  • @M7MADAREF
    @M7MADAREF 2 года назад

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

  • @anukanuk
    @anukanuk 3 года назад +1

    Great explanation..

  • @santimagine
    @santimagine 8 месяцев назад +2

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

  • @hrishikeshshinde2399
    @hrishikeshshinde2399 7 лет назад +2

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

  • @taukirsheikh9405
    @taukirsheikh9405 5 лет назад +1

    Superb the examples are amazing
    Thanks for making the video

  • @conker9527
    @conker9527 2 года назад

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

  • @kaushalbandara2667
    @kaushalbandara2667 9 месяцев назад

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

  • @craigruchman7007
    @craigruchman7007 Год назад

    Wonderful refresher, many thanks

  • @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...🙏🏻

  • @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 Год назад

      i really want to know why

    • @Mysterilogue
      @Mysterilogue 9 месяцев назад

      same Question

    • @troomanhooman
      @troomanhooman 8 месяцев назад +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 4 месяца назад +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

  • @rudrapratapsingh686
    @rudrapratapsingh686 7 лет назад

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

  • @purnimask5841
    @purnimask5841 6 лет назад

    Nice explanation with verifying that constructed DFA 👌

  • @braintwisters18
    @braintwisters18 6 лет назад

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

  • @YogeswariBMIS
    @YogeswariBMIS Год назад

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

  • @railzone9312
    @railzone9312 3 года назад

    Thank you bro,I understand well ,superb teaching

  • @leroi804
    @leroi804 3 года назад +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.

  • @DalilaSolis-kc8yo
    @DalilaSolis-kc8yo Год назад

    You’re a literal god thank you so much

  • @EasyExamNotes
    @EasyExamNotes 4 года назад

    Excellent work

  • @thebongsuperstyller8465
    @thebongsuperstyller8465 3 года назад

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

  • @pasupuletitejaswini8137
    @pasupuletitejaswini8137 4 года назад +1

    Amazing tutorial sir. thank you!!

  • @sarba85528
    @sarba85528 Год назад

    Very well explained. Thank you!

  • @Happen2Bme
    @Happen2Bme 6 лет назад

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

  • @dukhanasanrana7243
    @dukhanasanrana7243 6 лет назад

    Excellent teaching process

  • @DarkKnightOwnU88
    @DarkKnightOwnU88 4 года назад +4

    I love the outro music

  • @danhibiki110
    @danhibiki110 6 лет назад

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

  • @kellybmackenzie
    @kellybmackenzie Год назад

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

  • @reeshmashama
    @reeshmashama 3 года назад

    Perfect explaination tq neso

  • @Kuyaking25
    @Kuyaking25 3 года назад

    thanks broo, you saved my day

  • @kainaatmakhani6550
    @kainaatmakhani6550 2 года назад

    Hat's off to you sir!

  • @hectorg362
    @hectorg362 5 лет назад

    I freaken love you and this channel for this content!

  • @Ana-el3gk
    @Ana-el3gk 4 года назад +2

    Amazing! thank you

  • @kalikmagotra444
    @kalikmagotra444 6 лет назад +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 6 лет назад

      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.

  • @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

  • @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

  • @divyapatkar2431
    @divyapatkar2431 3 года назад

    Well explained
    Thank you so much ❤️

  • @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.

  • @khadijamomin7
    @khadijamomin7 5 месяцев назад

    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

  • @AnasTahira
    @AnasTahira 3 года назад

    wow, you made it look so easy

  • @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. 😁😁

  • @shishirak940
    @shishirak940 3 года назад

    It helped a lot thank you sir

  • @VersatileAnthem
    @VersatileAnthem 4 года назад

    is't using 2 states enough ? a is non accepting and b is accepting .

  • @rakeshgiri6750
    @rakeshgiri6750 2 года назад

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

  • @Mr.LEO2010
    @Mr.LEO2010 Год назад

    Sir i don't understand what happened at state B
    State C be itself for initial state is 1
    State B be itself The initial state 0..why??why we take state B is end state Sir please explanation of it

  • @Rongmai_Tribal_blood
    @Rongmai_Tribal_blood 2 года назад

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

  • @GamersWeb
    @GamersWeb 2 года назад +1

    Thanx

  • @monalidarekar2078
    @monalidarekar2078 2 года назад

    Very nice lecture

  • @lable7398
    @lable7398 4 года назад +2

    Doubt : Is it necessary to define the state 'c'. why can't we left it , it doesn't cause any error
    Please suggest something

    • @rudolphstamaria8782
      @rudolphstamaria8782 4 года назад

      I think it's there to take into account every input, regardless whether it's 'necessary' or not.

    • @cjimenez2581
      @cjimenez2581 4 года назад

      You need to fill the "happy path" and error cases, state 'c' is for the latter

  • @aishachoudhery5838
    @aishachoudhery5838 6 лет назад +2

    amazing videos, thank you very much sir

  • @amanali9501
    @amanali9501 3 года назад +1

    why we are only taking input as 0 and 1

  • @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

  • @saisai-kk2dy
    @saisai-kk2dy 11 месяцев назад +2

    why we should take only 0 and 1 as inputs?

    • @Indianarts__1
      @Indianarts__1 5 месяцев назад

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

  • @TheGGbond
    @TheGGbond 4 года назад +1

    waaaayy better than my university professor.

  • @Bunny_Shark
    @Bunny_Shark 10 месяцев назад

    very; nice explanation

  • @SonuSharma-yp2io
    @SonuSharma-yp2io 4 года назад

    Amazing keep it up 😍😍👍👍

  • @bikramjitsingh7722
    @bikramjitsingh7722 3 года назад +1

    What about 010?is it getting accepted here?

  • @dimplejain7226
    @dimplejain7226 6 лет назад

    Excellent video

  • @prashantkawathe933
    @prashantkawathe933 Год назад +1

    Is it ok to put a self loop on A when the input is 1 ?

  • @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

  • @fitwithartin
    @fitwithartin Год назад +1

    What about other strings? This language is not limited to 1 and 0, right?

  • @lawrencelee312
    @lawrencelee312 4 года назад +1

    I have trouble with concepts of final, dead, and trap.
    The FSM arrives at final state, but continues to read symbols,
    what is final about that?
    How is a dead state different from a final state?
    In the previous video, the FSM could transition out of a final state.
    Even if final and dead were renames to success and fail,
    the machine would still be processing new symbols.

    • @JaswinderSingh-Phy
      @JaswinderSingh-Phy Год назад

      Abhi kya he btaao ab toh ho gyi engineering aapki 😂😂

  • @bsindhusagar5628
    @bsindhusagar5628 2 года назад

    Thank you.I am happy 😊

  • @sithibanu9019
    @sithibanu9019 6 лет назад

    its easy to understand sir thank u sir

  • @wm111100
    @wm111100 3 года назад

    Thank you so much for this!

  • @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.

  • @thanushayenduri7244
    @thanushayenduri7244 4 года назад +1

    Sir we replace a b c on that place q0, q1, q2????

  • @_ngecu
    @_ngecu 5 лет назад

    is it a must for a string to have a dead state?...... or can you leave it out?

  • @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?