2.6 string ending with a substring w | TOC | DETERMINISTIC FINITE AUTOMATA | DFA CONSTRUCTION

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

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

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

    For complete Theory of Computation, check out this video:
    th-cam.com/video/9kuynHcM3UA/w-d-xo.html

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

    Whenever I start to learn my University subject , I always search for your playlist sir. Amazing tutorials.

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

      Glad to hear that ❤️ Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

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

    I think for having input "a" in q3 we should go to the initial state q0 (eg-3)
    Thank you sir it helps me alot .

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

      Yaa even I was wondering about. That

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

      Yes i also think that

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

      No, if we come to q3 from q2 with help of 'b' and as per you if we go to q0 with input 'a' and in case we get 'b' we will be in q1 state(which is not final state).

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

      @@rahuldwivedi9236 babaaa not possible.

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

      Yes👍👍

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

    Sir, your lecture very helpful for small city students. You give brief knowledge about the subject . thank you so much, sir, for opening this youtube channel for free of cost.

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

    You are great I must say ... I am following your every video..... It is so smooth...... Thanks a ton !!! May Allah bless you!!

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

      Thank you so much Fida.. God bless you too & Keep following..

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

    Very good job sir, even though I am from Electronics engineering background, but I find your videos very easy to understand.
    Thanks a billion... :)

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

    ek number
    ek dum clear
    koi bhi confusion nahi

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

    Shandar sir ek bar me samjh aa gya jo 10 din se book padne me bhi samjh nhi aa rha tha 👍👍

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

      Very nice, thanks a lot dear, keep learning & supporting !! Do visit our website www.knowledgegate.in for more courses & contents !!

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

    Sir You are really doing a great job by providing us with excellent tutorials and making subjects much more easier to learn especially these kind of tricky subjects.Your teaching style and method is best From others (properly organized and effective).Thanks a lot sir !!

  • @ayushiydvKG
    @ayushiydvKG วันที่ผ่านมา

    12:17 amazing point!!

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

    We can also go from (q 1) to
    (q 0)move of (b )

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

    Sir you are god of computer science
    You are my life saviour🙏

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

      Thanks a lot dear for your kind & generous words 😍 Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents !

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

      @@KNOWLEDGEGATE_kg sir i really wants to meet you, you are my inspiration... best teacher you are!!

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

    bundle of thanks sir may he live long
    genious ho ap

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 3 ปีที่แล้ว +2

    The Best👌👌👌👌👌

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

    Thank you is really very small word for your efforts🙏........This video is really very helpful.......very nice explanation👏😇

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

    Thank you sir , Amazing video , Really help me to understand DFA.

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

      Most welcome dear 😍 Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

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

    Mind blowing teaching sir. Thanks a lot!

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

      You are most welcome dear 😍Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

  • @AnkitKumar-wr4md
    @AnkitKumar-wr4md 4 ปีที่แล้ว +4

    Sir for ex3, how about joining a of q2 with q1?? We r still getting the required pattern

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

    Self referential note:
    Trick 1: "Ending with..." Type questions re usually dead state darkar padeni.
    Trick 2 : " Ending with...." Type questions re jadi |a,b| =n thiba,tahele no. Of states will be n+1

  • @Sonu_Verma-o2f
    @Sonu_Verma-o2f ปีที่แล้ว +1

    hello sir, your teaching method is very good . I enjoy it but I have a question that is DFA state diagram unique or not??

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

    Sir can we put the a,b both in a self loop on q not initial state in question no 2

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

    You are great sir

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

    loved this automata videos

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

    Why q0 can not have a self loop of a as it may start with anything ??

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

    Outstanding sir

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

    Nice Explanation Sir 👍👍👍👍👍👍

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

    Sir you explained nice....but I have one doubt....in ex 3(w=bab)...there may be self loop in Q3 for b...as if there is b on Q3 ...it does not effect after getting nos. of b ...and after getting a it switch to q2 and then on q2 for b there is final state...so the final string should be bab...

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

    Sir can we add loop at q2 rather then going on q0 7:02

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

    Thank you sir ∞ times.

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

    Sir you are great 😭❤️✌️

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

      Thanks a lot for your generous words❤ Keep supporting & stay blessed👍😊

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

    A lot love and respect to u sir🙏🙏

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

    you are great sir ;
    thanks for this tutorial...

  • @learnerboy-kc9fd
    @learnerboy-kc9fd 2 ปีที่แล้ว

    what about dead state if any occur?. And at q0 first we enter a then we reach to q1 so how you use self loop of b on q0?

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

    Sir stating b se na ho kr a se ho tb jaise ki q0 pr a ka loop v tou kr skte the na

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

    Sir, in the question string ending with bab, is it incorrect to take the symbol 'a' from q2 to q1 instead of taking 'a' from q2 to q0?

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

    सर आपके पढ़ाने का तरीका बहुत शानदार है । सर क्या nta ugc net cse paper 2 के लिए कोई course available है आपके द्वारा ?

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

    Sir, kya state q2 se q1 me with input a ke saath move ker sakte hai kyu ki bab string mil ja Rahi ,state q1per self b hai .please sir clear confusion.

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

      Yes bro i also have the same confusion 😒

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

    Awesome lecture sir.
    Thanks sir ji😆

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

    Thanx alot for the video sir 😊😊😊
    I found it very helpful

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

    Thanks sir i was able to draw all of them

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

      Thanks for watching dear, keep learning & following for more videos👍

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

    शानदार ! ! !

  • @SACHINSINGH-re5ft
    @SACHINSINGH-re5ft 5 ปีที่แล้ว

    thankyou sir...no dought your r great

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

    Hlo Bhai help me for a small dought !?
    in 2) for abbab we can use self loop B for q2 instead of (q2)------b----->>>(q0)

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

    Sir please make series on computer Architecture

  • @Ajay-ql1mf
    @Ajay-ql1mf 4 ปีที่แล้ว +1

    Sir what if I loop a on q2 instead of going back to q0

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

    Sir iii> question I.e in ending with bab kya hum q2 pr "a" ka self loop lgaa skte h kya jese aapne q1 pr b ka self loop lagaayaa h

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

      Nahi laga sakte...

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

      Vo vala pattern to satisfy hoga jo aap sochre ho
      But aur b patterns hoskte so always go for long route

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

    thanks a lot 🙏 sir...thanks once again

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

      Always welcome dear ❤️ Keep learning & supporting ! Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

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

      Sir ,Is this enough for b.tech????

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

    sir in case 2 (end with ab) what if i put self loop of b on q2 instead of going back to q0 is this correct ?

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

      not correct bcz suppose if you do then if i pass aa b b then in this case it will invalid and our aim is ends with ab not with bb that's why

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

    well explanation sir I got a lot confidence..

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

    THANK YOU SIR U ARE GREAT.....

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

    Thank you so much sir. 🙏

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

    jitni tareef ki jaye utni kam
    jhakkas kasam se

  • @DheerajYadav-et4pz
    @DheerajYadav-et4pz 6 ปีที่แล้ว +7

    Sir it think , when b comes on q2 state , we go to the q1 state.

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

    Can we put self loop 'a' on state q2 in example 3rd...????

  • @saurav-s4u
    @saurav-s4u 6 ปีที่แล้ว

    It was very helpful thank you

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

    Which strings will be generated from (a|b)*. Sir can you please explain? I'm just not able to understand? As per my understanding it means either zero or more occurances of only a or zero or more occurances of only b. {0, a, aa, aaa, b, bb, bbb,...} but textbook shows a combination of both ab as well in this language. So I'm very confused.

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

      It simply means all string of length 0 to infinity are accepted using input alphabet a,b.

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

    sir best teacher I have ever seen thanks a lot sir...............sir I have a doubt ki agar sir second case m agar *bbbbab* aaya to vo to accept ni hoga ??.........plzz reply sir

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

      Accept hoga...tumhare string ka end bab se hi to ho rha h....usse pehle kuch bhi aaye...hum jo final state pe transition laga rhe h wo all possible cases ko complete karne k liye laga rahe h...

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

      Agar tum bbbb tak pahunche to abhi q1 state pe rahoge...ab 'a' aayega to q2 state pe fir 'b' aya to q3 state pe jo ki final state h

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

    Super.....

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

    Sir I think (iii) w=bab dfa construction is wrong
    in final state q3 if 'a' comes then we must go back to initial state(i.e q0) instead of q2.

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

      Hage Duri
      No we just need b..but in q2 we need to go for initial state with 'a'..I think so

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

      Exactly a from final state q3 should go back to q0 to make it bab string

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

      Yup in w=bab
      The string is baababaabab occure then what will be the soluction

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

    Thank you Sir.

  • @HimanshuSingh-ru9di
    @HimanshuSingh-ru9di 2 ปีที่แล้ว

    Sir can we have more than one dfas

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

    great

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

    Sir please add a video on production rule.

  • @RaviSingh-yf6jd
    @RaviSingh-yf6jd 6 ปีที่แล้ว

    Thanks Sir but also uploaded video some other sub as AI, computer network not only gate Point of view but ugc net also

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

    Sukriya sir

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

    Sir ab ki jagah 01 se wi example kra do ki even 0 or odd 0 ja one woh lise karte hain

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

    Awsum

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

    Thank you

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

    sir if given 0*10* what will be the language?

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

    Sir yadi questions me pooch le kind with vale questions me dedstate hota hai ki nahi yes ya no me Mai kya answer dungi plz answer hamare g.mail pe dena

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

    what will happen if we go to state q0 after we counter more than one a's?

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

    Last me q3 pe a,b ka loop bhi to lga sktee

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

      Nope. Then string will not follow the pattern of bab. It will make babaaa and babbb. It will be better for start with bab rather end with bab.

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

    Sir upload vdo over grammer part..

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

    Sir can I go back q1 to q0 with a?

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

    thanks sir

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

    In q1 if b comes then what we will do u only told about a in q1

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

    Thank You Sir

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

      You're welcome dear. Do like, subscribe & share the video❤ Stay connected for more amazing upcoming contents👍😊

  • @ARVINDKUMAR-cp1vt
    @ARVINDKUMAR-cp1vt 6 ปีที่แล้ว

    The language of all strings that does not end with 01 ??? sir how we solve this .

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

    Pls upload more videos

  • @VIVEKKUMAR-dm4kq
    @VIVEKKUMAR-dm4kq 4 ปีที่แล้ว

    Sir final me loop kyo nahi lagaye

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

    Are sanchit agar abaaaaaa aya toh kya karenge🤘🏻

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

    Bhai table kese Karna

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

    👌

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

    W = end with bab
    The string is 'babaabab" then what will be the soluction

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

      Bhai to teri string bab se hi to end ho rhi h..last me bab hona chahiye aur tere question me bhi ban hi h last me

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

    There's many transition from final state so, how this is a DFA? I thought its become NDFA

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

    bb is not follow (n+2) = 4 state

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

    How about ending with the string aaa bab bbbb

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

    3rd case smj ni ayaa🙃

  • @sandesharyal1792
    @sandesharyal1792 24 วันที่ผ่านมา

    😮

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

    end with BAB is this also right?
    drive.google.com/open?id=1lpm9HNOzUV2-KlHvIl7xxRUCWRZB2FqI
    image of my DFA
    after watching the next video, I got the answer may be, hope is it right
    we need a consecutive BAB after last, which mean BAB at last but together

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

      No, because when you put self loop on q2 then if there is baabab it is not accepted.

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

    follow (n+1)

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

    Sir apne galat samjhaya hai.. Hume bab chahiye tha last mein.. Lekin aapne banaya baaaab k liye..

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

      Vasav Chaturvedi galat h bhai.. Dekh le wapas..

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

      How d machine accept babaaabab pls explain

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

      Bhai agar ba k baad a aaya to wo q0 state pe chala jayega...ab agar wapas a aaya q0 state pe to wo q0 pe hi rahega...to tumhare question k hisab se agar baaaab h to automata q1 state tak hi pahunchega aur wo accepted nhi hoga kyunki q1 final nhi h

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

    babaabab this string are not possible in this DFA

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

    Thanks sir

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

    Thank you sir