Ambiguity in Grammar and its removal Trick..

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

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

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

    Watch in 2x if tommorow is your exam.

  • @vinayak186f3
    @vinayak186f3 3 ปีที่แล้ว +24

    Explanation for ambiguity 100/100
    Exp. For removing amb.. . -100/100

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

    Sir how did u choose the string aab?
    Is there any conditions for choosing a string?

  • @usamab775
    @usamab775 4 ปีที่แล้ว +16

    As usual, indian TH-camrs saving me at last moment. Thank u so much

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

      Bhai aap Kaha se hoo

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

    Thank you so much for this video. I have question. For context sensitive grammar type1, 0^n1^n0^n is type 1 but it is ambiguous how can we have it not ambiguous? Thank you

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

    Why was the association problem ambiguous. If you would have followed the leftmost path both the trees would have been same

  • @gagannagpal
    @gagannagpal 8 ปีที่แล้ว +3

    Thank you so much for the video! Great explanation! Please keep it up!

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

    how to check ambiguity if which string to be generated is not given and only grammar given?

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

      Take a random string

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

      In such cases, you have to take random strings that can be generated from the given grammar and then check them out.

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

    what is the problem if a cfg is ambiguous??

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

      The problem with ambiguous grammar is that a single input string corresponds to more than one possible parse tree. So, it may create a confusion for the compiler.

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

    sir how do we decide the string ourself

  • @obienua.c5539
    @obienua.c5539 3 ปีที่แล้ว +1

    Powerful lesson. Thank you Sir

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

    Why did u choose left recursion? Could it be right recursion.

  • @user-jm6gt5bl3j
    @user-jm6gt5bl3j 6 ปีที่แล้ว +9

    I don't know how you managed to make this more confusing but you did

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

    right linear grammer and left linear grammar tell me

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

    Thanks alot
    This is exactly what i was looking for

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

    How to remove ambiguity from first eg? The one without operators,?

  • @m.alaiady3627
    @m.alaiady3627 4 ปีที่แล้ว +1

    so .. there is no formal rule to solve the ambiguity ?! :(

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

    I cannot understand cfg

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

    Thank you so much for this.. It was really helpful😊😊

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

    it's very helpful , thanx a lot

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

    someone help i dont what this is i was just looking ambiguity with two meaninngs in english what is this chemistry??? idk anymore

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

    I'm not understand how to last in last few minutes.....and your voice quality is very poor
    Thanks you

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

    It means if having same results by applying different rules then it is ambiguous??

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

      Its not about same answers, its about of multiple trees. If you can create multiple trees with grammar, then the grammar is ambiguous

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

    it is necessary to one tree is maked my lhd and another one is rhd

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

    tnx for all vedio sir and good and easy explain all topic☺☺ all the best for next vedio

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

    Thanks!

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

    Thank you sir

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

    How do you consider w=aab

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

    my dude, thanks so much for this explanation

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

    confusing still .

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

    Enroll now to Unacademy Combat for FREE & avail a chance to register for GATE 2023 from us:
    unacademy.com/combat/gate-cs-it/NVLIA

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

    Sir help me how to prepare gate exam

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

      suman raj go for the videos of knowledge gate he do only read the lines from books and nothing else

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

    great video!

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

    Thank You! :-)

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

    Thank u so much

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

    You are explaining things like bettle juice

  • @YulesYes
    @YulesYes 7 ปีที่แล้ว +10

    MIC QUALITY GODDAMMIT

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

    good

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

    thank you so much :)

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

    rhanc dude

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

    bhai hindi bol le eng nh arhi to

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

    so so

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

    Plzz sir hindi mein bola karo😥

  • @shortsdaily4700
    @shortsdaily4700 16 ชั่วโมงที่ผ่านมา

    Thank you for this worst explanation

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

    Hindi me he bol lo sir😥

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

      Punk LorD chutiye bol ni pa raha bo

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

    Hindi me bol lo maharaj

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

    Thank you sir