3.4 Context Free Grammar Part 1 in Tamil

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • I have discussed about intro to context free grammar examples.
    drive.google.c...

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

  • @Ria-31
    @Ria-31 2 หลายเดือนก่อน +15

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

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

      All the best

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

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

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

    sir in sixth problem, how is there epsilon. the condition m>n means that both cannot be zero right?

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

      Yes it was miss from my side. You can omit epsilon.

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

      @@because2022 ok sir thank you

  • @arunsuresh8547
    @arunsuresh8547 3 หลายเดือนก่อน +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

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

      Yes we can write in many forms

  • @preethisv-s8c
    @preethisv-s8c 4 หลายเดือนก่อน +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  4 หลายเดือนก่อน

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

  • @deepalakshmi4371
    @deepalakshmi4371 ปีที่แล้ว +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  ปีที่แล้ว +7

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

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

      @@because2022 thank you sir

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

    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  2 หลายเดือนก่อน

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

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

      @@because2022 thank you sir

  • @arunsuresh8547
    @arunsuresh8547 3 หลายเดือนก่อน +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  3 หลายเดือนก่อน +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

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

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

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

      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.

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

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

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

      In which question?

  • @Monika-jc3wl
    @Monika-jc3wl ปีที่แล้ว +2

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

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

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

    • @Monika-jc3wl
      @Monika-jc3wl ปีที่แล้ว +1

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

    • @because2022
      @because2022  ปีที่แล้ว +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 ปีที่แล้ว +1

      TQ for the reply sir✨

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

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

  • @trending_video0037
    @trending_video0037 3 หลายเดือนก่อน +1

    Thanks sir

  • @marliyabegam-sn6eu
    @marliyabegam-sn6eu ปีที่แล้ว +1

    Mam normal cfg sum nadathuga

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

      Wt do u mean by normal cfg??

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

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

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

      Because we are moving to next possiblity

  • @ChandruD-p8o
    @ChandruD-p8o 2 หลายเดือนก่อน

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

    • @because2022
      @because2022  2 หลายเดือนก่อน +1

      It wont accept aaab.

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

      ​@@because2022 S->aSb/aS/a

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

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

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

      No.

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

      @@because2022 ok sir

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

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

    • @because2022
      @because2022  2 หลายเดือนก่อน +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.

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

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

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

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

  • @Syntaxsago
    @Syntaxsago 2 หลายเดือนก่อน +1

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

    • @because2022
      @because2022  2 หลายเดือนก่อน +1

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

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

      Sir if you put n =1 then its aaaaab sir

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

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

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

      Yes. You need to write all three productions together.

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

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

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

      For which question?

    • @Mahi-de3cl
      @Mahi-de3cl 2 หลายเดือนก่อน

      ​@@because2022 5th question sir

  • @SyedRasheed-rc6zp
    @SyedRasheed-rc6zp 4 หลายเดือนก่อน

    4th purila sir

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

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

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

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

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

      No because it wont accept aab.