TOC | PDA | Introduction to PDA and Examples | Ravindrababu Ravula | Free GATE CS Classes

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • For Course Registration Visit: ravindrababura...
    . For Any Queries, You can contact RBR on LinkedIn: / ravindrababu-ravula
    Telegram: t.me/ravindrab...
    Instagram: / ravindrababu_ravula_rbr
    - GATE TOC Full Playlist: • Theory of Computation ... If you're considering studying abroad, don't forget to explore 'Games of Visas,' my dedicated consultancy service and UA-cam channel designed to streamline the process of studying abroad.
    For Study Abroad, contact "Game of Visas" at 9494555454

КОМЕНТАРІ • 249

  • @hokaspokas1299
    @hokaspokas1299 9 років тому +282

    ( b, b / aa ) at the q0 state is wrong.
    it should be (b, b / bb) .
    but thanks for your courses, it helps me a lot .
    looking forward to having more courses on other computer subjects.

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

      +Hokas Pokas I noticed that too and I think it is a typo

    • @aashishmanandhar5188
      @aashishmanandhar5188 7 років тому +31

      atleast you understood what should there be instead of a,a.. you should probably be thankful.

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

      solta le kahile bhyako yo sab??

    • @darogajee3286
      @darogajee3286 6 років тому +1

      Arrey Gahlot.. kayy karray sayy bhai.. dhyann dayy padhai nayy....(b,z/bz) iska case bhi to soch iske next mayy b aayega to kayy karega...

    • @nikhilk97
      @nikhilk97 6 років тому +1

      yep it should be (b,b/bb) cause we are pushing b again in the stack if its not empty and contains b's in it

  • @featuresky5084
    @featuresky5084 7 років тому +73

    Description: Push down automata, its state configuration and transition model.

  • @manasbudam7192
    @manasbudam7192 8 років тому +24

    Our professor teaches the same by looking at your videos.But your lecture is easier to understand.This shows that it needs more than just knowledge to teach the things.

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

    Taught what my college taught in 4 hours in 20 minutes . Hats off

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

      actually 28:53 minutes

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

      @@kaustubh_ramteke_07 You must be fun at parties

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

      @@harishsundar3409 As someone who has been in a party with him, i can confirm he is very fun at parties. 🥳🎉🎉🪅

  • @ErfanAhmed
    @ErfanAhmed 8 років тому +3

    Man, you are just awesome !! I don't understand why professors teach us only the theory ! It's easier to understand by example !

  • @vinodmanikanta
    @vinodmanikanta 8 років тому +34

    sir has done mistake at 21:10 yaaaaaaaa,it should be (b,b/bb) at q0 state

  • @sumitparoothi8997
    @sumitparoothi8997 8 років тому +18

    wish our proffs. could teach us like this

  • @MujeebulHasan
    @MujeebulHasan 8 років тому +10

    21:10 it should be ( b , b /bb )... I think...

  • @AshChaudhari
    @AshChaudhari 6 років тому +28

    sir i think u made mistake 17:14 u said that NDPDA = DPDA but that is wrong...NdPDA and DPDA are different in power because there is some language present that is accepted by ndpda but not accepted by dpda ex:L={wwR| belongs to (a, b) *}

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

      He said by considering that example only

  • @aaqibhaque7194
    @aaqibhaque7194 7 років тому +33

    Ravindra Jee aap cha gaye pura Bangladesh mein

    • @snehakumari7848
      @snehakumari7848 7 років тому +2

      this video helped a lot to prepare for my semester exam

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

      sneha kumari mee too

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

      ha yaar gajab knowledge hey sir ke pass

  • @sahilchitnis1608
    @sahilchitnis1608 9 років тому +6

    Super Videos Ravula Sir!!! They have been really really helpful to me and to all my colleagues in understanding TCS ..Great Job Keep it up!

  • @MujaddedAlRabbaniAlif
    @MujaddedAlRabbaniAlif 8 років тому +10

    Great lecture ! it would help if the the title has the name of the lecture in bracket (like this one) (PDA)

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

    No matter how many videos I had watched previously I could understand any topic related to computer science gate only after watching your videos. And thank you for all your efforts. God bless you sir.

  • @ravi-mo6js
    @ravi-mo6js 6 років тому +1

    Ravindra ravula sir... Son of a gun... Ur teaching is best i have ever seen... My respect to you and David J Malan... I consider u 2 people as teaching icons.
    And i am humble to see all ur lectures.. But the only thing to regret is that ur full lecture cost is too high.. And i cant afford it 😟😟... Any way i wont blame u... U r just asking for fruit for ur hardwork.. Its ok...

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

    What a lecture sir!
    Hats off! Lecturers like you are a need in modern education system of india.

  • @ayeshas95
    @ayeshas95 8 років тому +1

    You sir, are my favorite. You've always helped me through all the test and all the exams. Especially these Automata Theory concepts. they're very clear. Thankyou so much.

  • @pinkudas7505
    @pinkudas7505 10 років тому +12

    sir you have told in this video (around 17:00 mins ) that DPDA and NPDA both have eqiuvalent power but i think NPDA is more powerfull than DPDA... correct me if i am wrong kindly...

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

      Yeah Npda is more powerful then DPDA

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

      He said in his next video that npda is more powerful than PDA...i.e lecture no 70... in time 18.10..

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

    @21:08 Perhaps, u meant to write (b,b/bb) isn't it!?

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

    Thank you sir for your free courses and video on UA-cam... It helped me a lot in my gate and ugc net exam preparation 🙂......

  • @bongdude752
    @bongdude752 7 років тому +6

    Thank you so much sir. this was very helpful for me. only on mistake (b,b/bb). i know this was mistake.

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

    in the last example, in the final state, if we encounter c on c would the machine halt or accept it.
    This solution looks like the minimal configuration of what this PDA's complete counterpart would look like. ...

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

    Sir tussi great ho ji 😍😍menu auromata naal pyaar howe gya tuwade videos vekh ke

  • @roushanraj2155
    @roushanraj2155 8 років тому +30

    yaaaaaaaa,it should be (b,b/bb) at q0 state

  • @joshuawest3247
    @joshuawest3247 7 років тому +10

    24:00 he meant to say C+ or CC* not C*, because there is at least one c

  • @sonihbhatia
    @sonihbhatia 8 років тому +1

    It's fantastic lecture..i had seen your every video lecture on FA,DFA,NFA, Grammer, etc... n must say teach soo well...thanx

  • @prabhat8413
    @prabhat8413 7 років тому +2

    not all heroes wear capes!! good job!!

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

    Thanks for providing me great lectures ... :) Your lectures always remain very useful for me..
    I mostly cover my all university courses through your lectures .... Thanks again...

  • @poojabsen5084
    @poojabsen5084 9 років тому +18

    sir can you plz upload lectures of turing machine?

    • @jordiie09
      @jordiie09 8 років тому +1

      +Pooja B Sen Really need it. By tonight.

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

      I am very late to reply but , turing machine lectures are in his full course.

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

      @@sachinpal2424 can u share the full course of tcs plxxxx my exams are near ..and i cant afford to pay for his lectures

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

      @@hhcbin3540 Sorry i don't have it now. But i can assure you, he has covered a major portion of the syllabus of TOC, which would be sufficient to pass your semester exam easily.

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

    Clicking on all the ads. Much grateful for this content.

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

    Great you should have differentiated between the stack alphabet symbols and the input alphabet symbols @ around 6:30 ....
    According to your definition PDA is 7-tuple. It makes sense to differentiate the two set of symbols. Some students will mistake pushing the inputs characters unto the stack which is not the case.

  • @Hardeepkumar94
    @Hardeepkumar94 10 років тому +6

    sir plz tell.. (a,a/aa) and (b, b/aa) is it correct????? i think it should be (a,a/aa) and (b, b/bb) ???

    • @tenzinlucky5091
      @tenzinlucky5091 10 років тому

      (request)hello if you have watched the algorithms videos sir has taught the merge sort very differently is it correct

    • @AjaySiddharthKovid
      @AjaySiddharthKovid 10 років тому +4

      yes, it will be (b,b/bb).

    • @MdShahid-tr9dn
      @MdShahid-tr9dn 9 років тому +1

      Hardeep, u r right that was mistakenly written(Even sir says 'b' should be saved onto stack).Just take one example to get sure.

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

    At Sir 21.36 minute there is one small mistake is there sir.
    (b,b/bb)

  • @VishalSingh-kv9wp
    @VishalSingh-kv9wp 6 років тому

    You are a really great teacher sir. You make learning so much easier. Thank you 😁

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

    thanku sir..lectures r v v helpful and comprehensible...i signed in for the first time only to thanku..stay blessed.

  • @vibhanshurai7163
    @vibhanshurai7163 6 років тому +1

    At time 17:11 you said that DPDA and NPDA are equal in power, but NPDA is more powerful than DPDA. Also in TOC-70 lecture at time 18:11 you said that NPDA is subset of DPDA which is wrong, DPDA is subset of NPDA is correct.

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

    I'm having a few doubts regarding the epsilon transition at the end of a^n b^n PDA. Doesn't that make a string like aabbb be accepted?

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

    Great lecture... learnt a lot of new things. Keep going Sir.

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

    Hi, @21:04 it should be (b, b | bb). If we see b and top of the stack is also b then we should push bb in the stack right? because at 21:04 you have written (b, b| aa) on reading on b and top of the stack is b then we are keeping aa as it is.

  • @shashanksubramanian547
    @shashanksubramanian547 9 років тому

    In the second example, when you input 'b' and 'b' is on top of the stack, then we need to save the 'b' so that stack contains 'bb' right? But you have saved 'aa'. Why so?

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

    super lessons and audibility is pure
    i reaLLY LIKE IT AND ALLWAYS WATCH YOUR VIEDO

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

    Thank you sir. Though there is one error, its your lecture that helped me to learn the concept and because of that only i could figure out the mistake, (q0,b,b) = (q0,bb).

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

    You saved me from my exams!

  • @Arjun-dh2mv
    @Arjun-dh2mv 8 років тому

    no words to appreciate this....fabulous ,,

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

    Thank you so much for your videos on thoery if computation! It was very helpful for me !! Thanks again

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

    but sir if we take 1 to power 0 and 0 to power 0 then first state shoudl directely go to the final state so there can be loop dont you think this E , z0/z0

  • @Ali-dn9tl
    @Ali-dn9tl 6 років тому

    Your videos are amazing! Would be much easier to find them if you titled them! Thank YOUUU

  • @rohcha9
    @rohcha9 9 років тому +2

    Thanks a lot sir, it helped me in my semester exam todey!!!!!

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

    18:29 it is different from a^nb^n also because we can get epsilon in w string??

  • @saif.shaikh
    @saif.shaikh 6 років тому

    At 2:40 you said if you see input alphabet OR epsilon - only one can be defined as a transition....but how comes at 15:47 , for q1 you have both b and epsilon as transitions?
    Am I missing something or understanding incorrectly?

  • @user-hq4rk
    @user-hq4rk 5 років тому +1

    east or west....sir you are best 😊

  • @aqua123670
    @aqua123670 8 років тому +1

    22:58 is wrong
    the problem states that n >= 1 while his PDA accepts n = 0,
    see when we input nothing, we directly go to final state.

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

      aqua123670
      lol
      he has said no where tht n>=1 for tht problm, he has described the previous problem there..

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

    Sir on 17.16 minute ,you have said that NDPDA and DPDA are equal in power? But how it's possible as we know we can make copies of machines in non deterministic and many differences are also there in these two so how it's possible?????????

  • @anantsoni6335
    @anantsoni6335 7 років тому +2

    Thats very helpful sir.Thanks alot...

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

    In the last example a^nb^nc^m, why do we draw a new state for the input c? Can't we manage it in the second state itself? Cause even if b comes after c (example string aaabbbccbc) , there is no transition defined on (b,Zo/pushdown string). That means we can just have a final state for empty string right?

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

      +apurwa jadhav "m" has to be greater than 1 as mentioned in the question. If we go according to your point of view im pretty sure it might end once we pop all the a's out. But still we wont have a way to reach the final state :/
      Interesting question.

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

      apurwa jadhav mam I don't think that "b" doesn't comes after "c" bcoz it will not be accepted and it will halt (mentioned in ur example that "b" comes after "c")

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

    NPDA is more powerfull than DPDA,there exist some context free languages which are accepted by NPDA but not DPDA..and yup everyone is correct about the mistake about b,b/bb..still great lectures ..super stuffs!!

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

    @17:12 I think, power of NPDA > DPDA, since there are some languages which are accepted by NPDA but not by DPDA.

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

      Yes, in next lectures he said NPDA > DPDA.

  • @educationinformer3880
    @educationinformer3880 7 років тому +1

    lot of thanks .......

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

    awesome video.........easy to understand

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

    one of the best description

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

    thankyou soo much sir,you explain really really welll....

  • @indranilsanyal4395
    @indranilsanyal4395 9 років тому

    can somebody plz tell me that in last example a^nb^nc^m how many number of states will be there if we use acceptance by empty state??

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

    21:10 doesnt this PDA also accept E(epsilon)?
    Zero times a and zero times b is also accepted which doesnt satisfy the condition n>=1

  • @thirdstate2063
    @thirdstate2063 9 років тому

    The best vids for b.tech students.

  • @6458-l7v
    @6458-l7v 7 років тому

    How is @17:26 deterministic if theres no edge from q1 to any 'a' input? It only covers b and episolon, twice.

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

    your lectures are too much helping

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

    sir i have a doubt at 21:11 ,whether it is (b,b/aa) or (b,b/bb)?

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

    At time 11:16, why we are not poping in the same state is not understandable.plz help me

  • @coolkrishna96
    @coolkrishna96 8 років тому +3

    is Zo fr bottom of stack or the top of the stack????? m getting confused
    '

    • @neerajkulkarni8594
      @neerajkulkarni8594 8 років тому +1

      +Krishna Gaur
      if no element is present then z0 is the top most element in the stack,else last pushed element is top most element of the stack

  • @Frango26
    @Frango26 9 років тому

    great class, very nice explanation. Congrats!

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

    Sir, in this vedio I think their is a mistake.(i.e) if b is the input and b is on the top of the stack then bb remains as it is.please check and tell me the correct answer

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

    Sir what will be pda for L={ a^ib^j | i

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

    I need to write the rule productions of for loop statement (in c language and Fortran language) as a context free grammar to parse strings such as
    (For(i=0;i==9;i=i+1) statement; (in c language)
    do n i=0,9,2 statement (in fortran)

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

    Thank you sir for the rapid and meaningful lectures it helped me lot #life saving #liked #subscribed

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

    Sir, here n>=1,so how could you make all the transaction in only one initial state ?

  • @prajaktajadhav5107
    @prajaktajadhav5107 8 років тому +1

    Thank You 👍 videos are really very helpful

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

    your description says "Description" and while that's true, it could be more informative. Please fix.

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

    SIr, DPDAs are realistic, we can construct a machine but where as NPDA not. If we are not able to convert from NPDA to DPDA what is the use of NPDA

  • @enadulshaheen7684
    @enadulshaheen7684 9 років тому +2

    Sir, can u upload Turing machine tutorial??

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

    Plz upload the complete series....Turing machine and all

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

    My question is- a power n & b power n is a Dpda Or Ndpda????? Plss tell me

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

    In the last example why we r not pushing c more than 1 time? ... m may be 2 then what .... i mean why there is not (c,c/cc)..

  • @roshankumar-nk3xt
    @roshankumar-nk3xt 8 років тому

    so lucidly explained sir..... thanks a tonnnn :)

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

    at 25:20 we could have made transaction (c,z/z) on q1 state itself rather than making a new state

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

    u mentioned that both NPDA and DPDA are equivalent in power.
    how is it possible ?
    for recognising both even and odd length pallindromes DPDA isn't enough ,NPDA can solve this.

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

    Is there a limit to stack capacity in a pushdown Automaton? please answer..

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

    please add subtitles makes it easier to make notes.

  • @All-Inclusive_Corner
    @All-Inclusive_Corner 3 роки тому

    very nicely understood man

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

    crystal clear!!!thumbs up..

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

    Superb explanation sit

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

    Sir, kindly make/Upload some lectures on Turing machines.

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

    Nice explanation of push down automata

  • @ushareddy555
    @ushareddy555 6 років тому +1

    (b,b/bb) at q0 state

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

    Excellent demonstration...yes he committed a small mistake but easily understandable

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

    Very helpful videos!

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

    For anyone looking for the topics covered in this video → He has covered PDAs from scratch
    Please comment on the other videos too where the titles are missing

  • @Worldwidetrivia
    @Worldwidetrivia 7 років тому +2

    can you upload lectures of Compsky normal form and Greibach normal form?

    • @likhithareddy927
      @likhithareddy927 7 років тому +1

      Sagar Goyal he has already done those topic videos..u cn check in his playlist

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

      Not gnf only cnf Is there

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

    i think at 21.10 something goes wrong,it should be (b,b/bb) maybe.

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

    Can you upload a video of conversion of Context Free Grammar to push down automata. i.e CFG TO PDA?

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

    10/10 best tutor

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

    can you explain a raise to n b raise to 2n / n >= 0 PDA accepting by empty stack