3.4 Context Free Grammar Part 1 in Tamil

Sdílet
Vložit
  • čas přidán 28. 04. 2023
  • I have discussed about intro to context free grammar examples.
    drive.google.com/drive/folder...

Komentáře • 55

  • @Ria-31
    @Ria-31 Před 11 dny +15

    Tomorrow is my toc exam ur videos are very helpful sir🙏🏻🙌🏻👏🏻

    • @because2022
      @because2022  Před 11 dny +2

      All the best

    • @Jackn3
      @Jackn3 Před 10 dny

      ​@@because2022sir indha sum ku alternative ah endha sum pakkalam coz indha sum enaku puriyala

  • @arunsuresh8547
    @arunsuresh8547 Před měsícem +1

    In 17:51 6th sum, epsilon vara koodathu thana sir ? It violates m>n ..
    Can i write productions like this for 6th sum :
    S -> aSb | aA
    A -> aA | epsilon
    Is it correct sir ?

    • @because2022
      @because2022  Před měsícem +2

      No epsilon varalam, In that case S1=> AS and if you substitute a for A and epsilon for S. it will satisfy m>n

  • @trending_video0037
    @trending_video0037 Před měsícem +1

    Thanks sir

  • @jiminshiiahjumma6470
    @jiminshiiahjumma6470 Před měsícem

    Sir as for productions . Namma own production edukalama which also satisfies the input string or Neenga edutha same than edukanuma?

    • @because2022
      @because2022  Před měsícem

      You can take other productions too but it should accept all strings of the language and should reject those which are not part of language.

  • @user-vc5qk2ef6d
    @user-vc5qk2ef6d Před 3 měsíci +1

    Sir ,
    6th sum answer la (epsilon E) varakoodadhu dhana sir
    instead ,s--->asb/A
    A-->aA/a
    indha ans crct dhana sir?

    • @because2022
      @because2022  Před 3 měsíci

      m,n should be >=0 right. So epsilon will be there.

  • @deepalakshmi4371
    @deepalakshmi4371 Před rokem +5

    Episilon is not required because there should be condition starts with a ,but in 3 problem there is no starts with a..it's bb

    • @because2022
      @because2022  Před rokem +7

      Yes un 3rd queston minimum bb will be there. SO epsilon is not requird.

    • @deepalakshmi4371
      @deepalakshmi4371 Před rokem +1

      @@because2022 thank you sir

  • @marliyabegam-sn6eu
    @marliyabegam-sn6eu Před rokem +1

    Mam normal cfg sum nadathuga

  • @BayanFahim
    @BayanFahim Před 26 dny

    Epsilon is not required because of the n=0 has the valve of bb
    Am I right sir?

  • @nihethane
    @nihethane Před 8 měsíci

    For 6 eg exact ans is S1->AS Ah? Sir

    • @because2022
      @because2022  Před 8 měsíci

      Yes. You need to write all three productions together.

  • @arunsuresh8547
    @arunsuresh8547 Před měsícem +2

    Sir , oru cfl ku neraiya production iruka lama ?
    Eg:
    L={a^m*b^n , m>n , n>=0}
    CFG production 1 : S -> aSb|a
    CFG production 2 : S -> aSb | aA
    A -> aA | epsilon

  • @wssgaming7050
    @wssgaming7050 Před 26 dny

    12:52 n>=1 ku answer ena varum sir ??? Orea confused ahh eiruku 😵

    • @because2022
      @because2022  Před 25 dny +1

      I want you to try and if you are struck, you can mail to venkat.kvhapp@gmail.com. Because in exam you wont get same questions.

  • @Usadreamerok
    @Usadreamerok Před 23 dny

    Sir i know 1st and 2nd unit completlely can i go to 4th unit sir??

  • @Monika-jc3wl
    @Monika-jc3wl Před rokem +2

    Sir, a^m b^n condition m>n thana sir eruku but m,n 0 kuduthaa condition fail aiduthee sir.

    • @because2022
      @because2022  Před rokem +2

      Why monika it is failing? For m,n=0, we get S->epsilon directly right?

    • @Monika-jc3wl
      @Monika-jc3wl Před rokem +1

      Sir condition m>n thanaa sir but we r assigning both to 0

    • @because2022
      @because2022  Před rokem +4

      @@Monika-jc3wl sorry monika. It was my mistake. Basically m>n and n>=0 than condition. So basically when n is 0 we should have atleast one a.

    • @Monika-jc3wl
      @Monika-jc3wl Před rokem +1

      TQ for the reply sir✨

    • @Tharik8456
      @Tharik8456 Před rokem

      @@because2022 so there is no epsilon in this prblm right sir?

  • @DDHere
    @DDHere Před 24 dny

    Sir ..15:30 la ..m should be greater than ... N nu soltanga...aprm epdi sir ..m kum n kum ..same value 0 nu potu ... Epsilon poduringa ? ....
    N 0 va iridha ... M 1ah thana sir irukanum? ....epdi rendum same nu vachu Epsilon podringa sir .. please clarify sir?

    • @because2022
      @because2022  Před 24 dny

      Epsilon wont be part of language. It will have atleast a when n =0

    • @DDHere
      @DDHere Před 24 dny

      @@because2022 thank you sir

  • @vsvicky5448
    @vsvicky5448 Před 12 dny

    5:08 sir why u put ab after "/"

    • @because2022
      @because2022  Před 12 dny

      Because we are moving to next possiblity

  • @user-vh8sm9xu3o
    @user-vh8sm9xu3o Před 28 dny

    Sir for the 6th sum
    We can write production rule as S->aaSb/€
    Is this possible ?

  • @_MIRANSS
    @_MIRANSS Před rokem +2

    Sir, 6th sum a^mb^n
    A->aA/epsillon ( is possible )

    • @because2022
      @because2022  Před rokem +1

      No then m wont be greater than n when A is epsilon.

  • @Syntaxsago
    @Syntaxsago Před 29 dny +1

    in 5th sum
    s---->aaaaaSb
    s---->aaaaab
    s----->epsilon its correct answera sir...

    • @because2022
      @because2022  Před 29 dny +1

      No when n=0, the language should accept aaa. But it doesnt.

    • @Usadreamerok
      @Usadreamerok Před 11 dny

      Sir if you put n =1 then its aaaaab sir

  • @Santhosh_0042
    @Santhosh_0042 Před rokem +1

    Sir,
    6th sum answer ippudi varuma sir
    S-->aaSb/ab

  • @iccreations2534
    @iccreations2534 Před 11 dny

    S->aaaSb/aa is wrong? Then why sir?

  • @SyedRasheed-rc6zp
    @SyedRasheed-rc6zp Před 3 měsíci

    4th purila sir

    • @because2022
      @because2022  Před 3 měsíci

      Plz watch few more examples and check 4th. Then you might understand. If you dont let me know.