Deterministic Finite Automata (Example 2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

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

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

    one ofmy university teacher was watching the TOC lectures by NESO academy. she could solve the questions butfailed to explain us the same topics she studied a while ago. I mean,the conditions of a few college teachers is really bad, and pathetic.
    thank you Neso academy for saving the lives of thousands of students. Mad respect for the neso academy teachers!!

    • @Fracasse-0x13
      @Fracasse-0x13 11 หลายเดือนก่อน +1

      wouldn't fly in america

  • @MohdAslam-yz5kw
    @MohdAslam-yz5kw 5 ปีที่แล้ว +44

    These video lectures is great when you really don't know where to start with.
    Explanation of the guy is amazing.

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

    I appreciate the simplicity and explanation of small things, I only wish the institute which I pay dearly for would try such an approach instead of just being smug and saying how smart they are while not teaching us.

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

      lol

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

      Literally commented the words in the minds of everyone who came to Neso Academy YT channel as a last ray of hope.

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

    I can't compare this class with my teacher...Because they teaching the whole thing in a pure disaster manner..
    Your class is precious to me..❤

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

    Finally I have started to understand automata.. Thank u sir

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

    Thank you so much. I have exam tomorrow and i skipped lectures. You are amazing ❤

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

      So how was the exam?

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

    Even though I have not entered the class for this I now hv a good knowledge of this.

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

    Your way of explanation is so good sir

  • @SD-pt1nu
    @SD-pt1nu 5 ปีที่แล้ว +395

    Why these videos keep explaining so amazing while our teacher is teaching like sh*t?? 😃😃😍

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

      Asking myself the same question.

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

      Here we are going to listen before exam in class we listen with a sleepy mood

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

      I am surprised

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

      Exactly

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

      Because you are paying to your teacher.

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

    loved how you explained it in such simple way

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

    well, Thanks so much sir for your efforts .. simple, direct and easy to deliver the idea of the question and how to solve it..

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

    How can people dislike this video?!

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

      Those are college teachers, lol

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

      @@gamar1226 lmao 🤣

  • @iqbalahmad3754
    @iqbalahmad3754 8 ปีที่แล้ว +17

    Very good explanation, I really appreciate that :)
    Thanks for making this videos :)

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

    Fantastic, very useful. Thank you so much.
    I have a mid-exam in the afternoon. Your teaching style is a piece of cake.

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

    Really helpful man, been to so many lectures and can never understand but your videos are much more helpful in understanding. Thanks

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

    Thanku for making this amazing videos on automata. It's help me a lot. Initially I have little bit confused from where it can study automata I have even buy so much books but nothing get help but as I have seen this tutorial it can get help me a lot thanks 🙏🙏

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

    sir im not even kidding i will bow down to your feet and do a namskar with my head. you are a legendar teacher sir. i had failed in this TOC twice sir, everytime i asked i profesor for notes or how to study this subject they always told that study from the reference book but you know that the reference book as scary as a real ghost. i think i found neso acamedy a little late but anyways finaly i found it and im understanding concepts crystal clear.
    shat shat naman hai guruji aapko.

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

    Thank you sir. You are teaching us in very nice way. Thank you so much.

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

    you're a great teacher, thank you so much for this !

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

    Prime minister Modi is going to call you out
    Keep up the good work.

  • @AlAmin-sl8eg
    @AlAmin-sl8eg ปีที่แล้ว

    10000000 times better than my course teacher.

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

    finally understood automata ,thank you very much🙇‍♀🙇‍♀🙇‍♀🙇‍♀

  • @marco.nascimento
    @marco.nascimento 5 ปีที่แล้ว +4

    Awesome videos, loving the playlist

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

    I freaken love you and this channel for this content!

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

    May you live a long prosperous life!

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

    thank you so much completely upset how I found your channel after my exam --;

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

    Thanks a lot, man! Great examples and great explanation!

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

    thankyou so much please complete the COMPILER DESIGN COA CN
    tutorial and DBMS as soon as possible

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

    very impressive,explanation is so clear this videos are so useful at exam point of view thanks !!

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

    5:200 In the last video you mentioned that for completion of DFA for each state we have to give some input...
    Suppose here in this example is it necessary to give= A takes input ->0,1 & goes to A, same for state B, then & only then it's complete DFA?

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

    Wow you really helped me understand it better> Thank you very much.

  • @id-19-farhadhossain78
    @id-19-farhadhossain78 3 ปีที่แล้ว

    sir love you and appreciate all your efforts,,,best wishes from bangladesh

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

    You are a great teacher ✌️

  • @MohsinAkbar.
    @MohsinAkbar. 8 หลายเดือนก่อน +6

    But why we can't take a self looo on state C, as we complete the length 2 of the string?

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

      You cannot self loop at C because it would be contradictory. C is the final state but looping again means you add another symbol, which would exceed the required length of 2. When you exceed that required length it means it would be invalid, which would not be possible as C is the final state. (Final state cannot be invalid).

    • @FSCO_sahilsatishchavan
      @FSCO_sahilsatishchavan 17 วันที่ผ่านมา

      As per I know, adding a self loop will add one more input symbol which is going to break the constraint of length 2
      So you can't self loop and have to move to the rejected state

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

    Sir your teaching is really good

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

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

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

    nice explaination

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

    Really good explanation

  • @MMNayem-dq4kd
    @MMNayem-dq4kd ปีที่แล้ว

    Thanks for the effort

  • @bautistabaiocchi-lora1339
    @bautistabaiocchi-lora1339 3 ปีที่แล้ว

    really clear examples

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

    Good Explantion..Sir...Thanks..

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

    good lecture

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

    You are life saver DUDe

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

    thank you very much

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

    awsome way of teaching.........

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

    Why we've drawn D ? If we let this after C, it will also satisfy question?

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

      Thanks bro I am searching for this ....

  • @كوكتيلسعودي-ج2و
    @كوكتيلسعودي-ج2و 3 ปีที่แล้ว

    Thank u man this was so helpful

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

    Excellent explanation 👌💐

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

    Can we put a self loop for b containg 0,1 and mention it as final state?

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

      Can we?
      Have you found out?

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

      @@harshkumar7857 .

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

    I skipped the wix ad just at the moment when he told wait before skipping ad . 😂😂😂😂😂

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

    ty neso academy

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

    Thank You

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

    i have a doubt in 5:22 ..why we extended from final state c to d ? can we not just do self loop in final state itself?can someone expalain?

    • @AbdullahKhan-tu4ys
      @AbdullahKhan-tu4ys ปีที่แล้ว

      That would make the length of final string 3

    • @Adegoketaiwo545
      @Adegoketaiwo545 12 วันที่ผ่านมา

      That will make the length 3 instead of 2

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

    Thank you so much sir

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

    Thanks a trillion kind sir

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

    Thnkyou for the explnation

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

    Excellent 👍

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

    What if we eliminate D and put the loop at State C?

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

      the purpose is to eliminate any strings above two to dead state so a self loop on c would not send it to dead state but to final state meaning the you want any 10 combination of infinite length

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

    so if the question wasn't limited to the length of 2, we would have made "A" self loop with 0,1 right ?

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

    Thank you ❤

  • @MikaelTesfaye-tq7he
    @MikaelTesfaye-tq7he 7 หลายเดือนก่อน +1

    At the first example why didn't we loop 0,1 at the final state C instead of going to the dead state

    • @AhmadRaza-cl7mf
      @AhmadRaza-cl7mf 26 วันที่ผ่านมา

      Because in that case length of string will become 3 but we need 2 as mentioned in question

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

    Why can't we give s self loop to state C and finish it there. Whats the point of making another state D? at 5:10

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

      If we self loop state C the string length becomes 3 and it also accepts the string of length 3 as C is the final state.which is contrary to the given question.

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

    Nice lecture

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

    Sir also provide practice questions with solutions or just answer if possible. Thank you so much 🖋️📖📚📚📚

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

    Thankyou !!

  • @rajarshibasak559
    @rajarshibasak559 7 ปีที่แล้ว

    really, fantastic and dynamic videos.very helpful

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

    Explaination is realy good....

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

    It was very much useful

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

    1000x better than my lecturer

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

    Thank you so muc

  • @0XDSK_29
    @0XDSK_29 3 ปีที่แล้ว

    Sir you are amazing!..plzz make videos on python,compiler design,design and analysis of algorithm sir✨✨

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

    thx

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

    My teacher 😎

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

    why aren't we adding a self loop in state C ?

  • @SmartCam13
    @SmartCam13 8 ปีที่แล้ว

    Thanks

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

    Is it necessary to draw dead state to every DFA?

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

      Yes, if dead state isn't present your machine would simply truncate the remaining inputs . For eg: if the input is 000 or 001( these are strings of length 3 ,and hence should be rejected by the machine, but if the dfa doesn't have a dead end every input would simply stay in the final state at the end thereby accepting all string values and our designed dfa will be wrong ) . I just hope you understand whatever I tried to explain.

  • @ChandanaK-yt5lt
    @ChandanaK-yt5lt ปีที่แล้ว

    Love from karnataka❤❤❤❤❤❤

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

    Thank sir

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

    I have a doubt sir is it necessary to have 3 states or we can use self loop for B state

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

      Ya same doubt

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

      Bro in question they have mentioned length as 2. So it is necessary to have 3 states

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

      If you give self loop on b so it create 1 length as well as 2 length.
      We we want exactly 2 length string.

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

    I dint understand one thing !! Is it compulsory to mention Dead state for all DFA problems ... my teacher he dint gave dead state for some problems ... is it optional ..or its mistake if we dont mention it ..

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

    A terminal symbol is needed, perhaps Sigma = {0,1,T}
    A man jumps off a 5 story building,
    as he passes the 3 floor (final state) he says so far so good

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

    Sir please tell how to know how many states we will get? How to check if the drawn diagram is correct?

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

      To know whether the diagram is correct or not only he is checking with the string at the end

  • @DilpreetKaur-zt5eo
    @DilpreetKaur-zt5eo 2 ปีที่แล้ว

    why we make state D we can again come back to state C for any input 0 or 1

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

    why can't "c" having self loop sir. pls clarify my doubt sir pls🙏

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

      If it C has a self loop an input of 3 alphabets will be accepted because the third input would end at C and C is an accept state. He extended the diagram to have a 4th state D so as that the third input can end in a dead state(D), understood?

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

      @@geolegacy2 yep dude

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

      @@geolegacy2 Thank You

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

      @Sunaan S we can't make a self loop on B. Beacause in case of third input or many next inputs, it will accept which is not possible

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

      It also violates the rule of having length 2, if C contains self loop.

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

    Instead of dead state can we give self loop to state c ??

    • @littlesp4rky
      @littlesp4rky 11 หลายเดือนก่อน

      did you learn the answer??

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

    I have one question sir...why 0,1 is taken as input after reaching state B.is it depends on the length of the string?

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

    thnx for this..

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

    Thankyou sir

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

    Can I give self loof to state b and make it as final state

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

    during your last example there is string of length 1 which is not a final state so tell me why it isnt a dead state.

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

    why can't we put A to B (0,1) then from B to B self loop(0,1)?

    • @littlesp4rky
      @littlesp4rky 11 หลายเดือนก่อน

      did you learn the answer??

    • @prasanna996
      @prasanna996 10 หลายเดือนก่อน +1

      length 2 is mentioned in question so that's why we taken

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

    thanks for teaching so goooood...

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

    sir in these example if we give no input then also it goes to an different trap state

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

    is there any way to run video on higher than 2X.

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

    Thank you..

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

    Is it necessary to write dead state?
    why he does not stop at the final state? I think this is enough as a solution to the issue

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

      Yes I have also doubt in this can anyone please tell me@ Neso academy

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

    What if I give a self loop to B??

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

      If you give a self loop to B you are allowing inputs greater than length 2 so we need 2 states A and B and a final state C

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

      Then it occurred 1 length

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

      @@aadarshmishra1488 i agree that we should go back to state b with a lenght of one on any input at the final state

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

      @@bmwmaniac3 c is not final state

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

    At 5:00 , why don't u apply the self loop on C itself ?

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

      because we are to construct a dfa that accepts sets of all strings over the length of "2" making c loop means sets larger than 2 would be accepted because they will then be in the final state

  • @LakshmiDevi-jn2dw
    @LakshmiDevi-jn2dw 4 ปีที่แล้ว

    Sir can u do construct a dfa that accepts 0 and 1's that has even no of 0's and even no of 1's

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

    thenkyou!