Theory of Computation: Construction of CFG - Examples

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 194

  • @Lionelmessi-zp9vt
    @Lionelmessi-zp9vt 3 роки тому +129

    watched many videos for cfg construction but believe me this one is the best

  • @markgesaka8836
    @markgesaka8836 Рік тому +42

    I rarely comment on videos but here i must say THANK YOU madam and may you live long. You have explained the whole semester in just 21 minutes. At least i am OKAY now. THANK YOU once more!

    • @SilverMarcs
      @SilverMarcs Рік тому +16

      which course has an entire semester on CFG?

    • @Naveen-no1hj
      @Naveen-no1hj Місяць тому

      @@SilverMarcs 🤣🤣🤣🤣

  • @suchithpk4844
    @suchithpk4844 3 роки тому +7

    Exordinary teaching I watched many videos but I got it here by watching this video...
    Thanku mam...

  • @رغدجيجا
    @رغدجيجا 3 роки тому +29

    I solved all of them, and now I feel really ready for the final exam, THANK YOU SO MUCH!

  • @paperboatsintherain6361
    @paperboatsintherain6361 2 роки тому +9

    Your explanation made it finally click for me! thank you for the effort you put into this

  • @klusterow827
    @klusterow827 Місяць тому +1

    Best video indeed. I never comment on videos but I understood this so well that I had to tell u what an amazing video this is. Seriously she goes from easy to medium to hard example. Making it easy to understand and than figure out the complex stuff urself. Excellent video. ❤❤

  • @Hridaymardam_
    @Hridaymardam_ Рік тому +255

    Why is this subject so difficult 😭

    • @ShivamBhawel-zq1fg
      @ShivamBhawel-zq1fg Рік тому +4

      Ha yr bohot jyda

    • @beautifulanimal8113
      @beautifulanimal8113 Рік тому +17

      Never ever give up, be strong 💪💪.....koi mushkil nahi hey mihnat Kiya krooo....Maza thu tab ata hey k mushkil cheez ko yad kray hum ya sekhay wrna asan thu bachay bhi sekh jatay hey 😊☺️

    • @Death_Executer_plazzz
      @Death_Executer_plazzz Рік тому +6

      😂😂easy hei bhai thik se padh rona band kar

    • @-XIOA-YAN
      @-XIOA-YAN Рік тому +2

      Bro hame ye subject ke liye 🧠 ye chahiye

    • @Death_Executer_plazzz
      @Death_Executer_plazzz Рік тому +3

      @@-XIOA-YAN 🧠 ya Tera passs hei wo b brand new kuki tune abhi tak 🧠 ye use he nhi kiya . Soo use it bro don't let it go waste

  • @grm642
    @grm642 2 роки тому +5

    Thank you for the video. 🥺I was nervous about my exam. Learning from u gave me confidence.

  • @mayurPrmr1182
    @mayurPrmr1182 Рік тому +1

    Amazing tutorial 👍👍👍👍
    One of the best video 👍👌👌👌

  • @faizaansari8370
    @faizaansari8370 Рік тому

    This is the best video of cfg mam.😊

  • @hariharansubramanian4953
    @hariharansubramanian4953 2 роки тому +25

    I think Q4 should be "At least 1 occurrence of 000" Becauseif exactly 1 occurrence of 000 means we have to do via different way

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

    mind....mind....mind bloing ....sper super strt in teaching style ..................................totly amazing jhakas.............
    amazing teaching style

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

    I was searching some example now I found a good vedio
    Thank you mam

  • @YuvrajSolanki-dt3of
    @YuvrajSolanki-dt3of 2 роки тому

    I usually don't comment on videos But this actually help me to get the concept

  • @surajr4757
    @surajr4757 2 місяці тому

    what an explaination mam! just awesome.....

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

    Best video for practicing CFG examples

  • @tsukasa8179
    @tsukasa8179 3 роки тому +6

    Thanks a TON, you just made it so easy

  • @namelessmonster8139
    @namelessmonster8139 Рік тому +1

    Tamil mam's are most sweetest in my college my microprocessor teacher is also from tamil nadu and her voice is and accent is very similar to you

  • @antondirani2519
    @antondirani2519 Рік тому +1

    You're an amazing teacher!

  • @codingwithelhacen990
    @codingwithelhacen990 Рік тому +1

    This is great explanation.

  • @leonelmessi3010
    @leonelmessi3010 2 роки тому +2

    9:11 how can we add any number of zero and one at the beginning ? Because occurrence of three zero at the beginning will not satisfy the condition of only one occurrence of zero. eg. it can generate 000 000 011110 which has two occurrence of 000

  • @deadeye2417
    @deadeye2417 Рік тому

    your content is so good very easy to learn

  • @anmolguptanm7515
    @anmolguptanm7515 8 місяців тому

    Very good examples chosen
    😊

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

    subscribed after watching this amazing explanation, i think you can start teaching the whole theory

  • @_naznin
    @_naznin 2 роки тому +1

    you just saved my life😊

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

    Awesome.. Quick and Effective.

  • @AadeshingaleOfficial-zl5fd
    @AadeshingaleOfficial-zl5fd 18 днів тому

    Nice Mam 😊

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

    Awesome ....really very effective video.😃

  • @upendrabommali563
    @upendrabommali563 2 роки тому +1

    Thank you mam.you are help getting good marks in exam💛

  • @satvrii
    @satvrii Рік тому

    Best video for real ❤❤❤❤

  • @pratyusha2182
    @pratyusha2182 11 місяців тому

    Thank you so much mam. Saved my exams

  • @ProfBeckmann
    @ProfBeckmann Рік тому

    dominant video. thank you. love this and you. pleasant voice!

  • @diegoburgose.e6263
    @diegoburgose.e6263 2 роки тому

    SHE IS GIVING ROYALTY

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

    Thank u so much mam, now i am gainin g confidence for examination .

  • @prajansharma6944
    @prajansharma6944 3 роки тому +9

    Trust me, I am passing my exams with your vedios mam.

    • @keerthirajan9748
      @keerthirajan9748 3 роки тому +2

      Did you pass in ur english exam with vedios(videos) lol😂😂

    • @aasheesh_sahu
      @aasheesh_sahu 2 роки тому +12

      @@keerthirajan9748 Hope you know that if you ask a question then you should add a question mark (?) after the question.

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

      @@aasheesh_sahu 🤣🤣🔥

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

      No you are not 😂

  • @juyeon_kim
    @juyeon_kim Рік тому

    thank you madam. you're an angel........................

  • @beytullahyayla7401
    @beytullahyayla7401 2 роки тому +2

    Hi, in 5th example, for n equals one ccording to language which is a^nb^n we should be able to get ab. . But S terminal goes to ab string, so we can't get ab string.

  • @addaniakash9404
    @addaniakash9404 2 місяці тому

    hats off madam 🙏

  • @ParvezKhan-yr1rs
    @ParvezKhan-yr1rs 2 роки тому +2

    Loved it

  • @muthupandideivamsanmugam1774
    @muthupandideivamsanmugam1774 Рік тому +1

    Mistakes Q4 : one occurrence 000 but your transition will give 0001000 two occurrence
    Q5 S -> AaAbA
    A -> AaAbA / epsilon

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

    Best one 👍

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

    nicely explained...keep it up

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

    Amazing Explanations!

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

    This helped me a lot .Thank you

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

    thank you. This video was very useful

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

    Thanks mam, great explanation

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

    great explanation mam!

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

    Thank you very much miss. 😃

  • @8-bitgames55
    @8-bitgames55 3 місяці тому

    Why did you not use the production AB in question 9 as you did in questions 11?

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

    thank you so much
    you are my hero ❤❤❤❤

  • @shubhamthanki1896
    @shubhamthanki1896 2 роки тому +1

    At 7:54 how can abba be a string for that regular expression ? Can anybody explain ?

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

      Sorry for late.
      Here it is asking atleast 2'a that means minimum 2'a and anything so. abba also consisting 2'a right

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

      @@learncseasily3385 Correct 💯, thanks

    • @hydrocy.9165
      @hydrocy.9165 Рік тому

      whats the need for the last (a+b)* in the R expression? arent need for 2 a fullfilled without it@@learncseasily3385

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

    you are amazing! Thank you so much

  • @Osamah.sharaf
    @Osamah.sharaf Рік тому

    amazing muhhhah

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

    Best cover all things thank you

  • @PramodYadav-dr9vq
    @PramodYadav-dr9vq 3 роки тому

    really helpfull thank you so much

  • @mirkifayat6324
    @mirkifayat6324 8 місяців тому

    Thanks a lot, ma'am.

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

    THANKS A TON MAM
    😊😊😊

  • @mrinalrangers9358
    @mrinalrangers9358 Рік тому

    maza agya mam kya pdhaya hai

  • @kamilkaygisiz944
    @kamilkaygisiz944 Рік тому

    are we using left derivation solving these or is it jus your own preference

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

    Thanks..now i understand.

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

    I Need more prectice video like this

  • @mohammednihal707
    @mohammednihal707 11 місяців тому

    super class

  • @GoluKumar-sb2si
    @GoluKumar-sb2si 3 місяці тому

    for que8 we can also write s->asc/epsilonnot ,s->bs is this correct ?

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

    Yes! Something for practice

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

    Why is epsilon there as a first element in lamguage, in the first question?

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

    awesome video, thank you so much!!!

  • @relaxingasmr9801
    @relaxingasmr9801 11 місяців тому

    thankyou so much mam.iam having semester exam tomorrow.

  • @shanzabibi9096
    @shanzabibi9096 3 роки тому +2

    Great explanation👍
    I have a question .What is the cfg for (a*ba*ba*)*

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

      S -> DS | E
      D -> ABC
      A -> aA | E
      B- > baB | E
      C -> baC | E

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

      S-> A b A b A
      A-> aS | E

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

      @@tsukasa8179 thank you

    • @tsukasa8179
      @tsukasa8179 3 роки тому +1

      Lol, you probably don't even use it now, it was a 10month old question

    • @jayanth01
      @jayanth01 Місяць тому

      ​@@tsukasa8179wrong u can't get E,aaaabb ,aabaabaaaa,etc

  • @judes3803
    @judes3803 Рік тому +1

    thank you thank you thank you thank you

  • @yusraansari8320
    @yusraansari8320 3 роки тому +2

    why cant we replace epsilon in eg 5,6?

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

    Thanku soo much ma'am 🤍

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

    well done!

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

    D best . Tqsm 😭

  • @tanayatanpure4819
    @tanayatanpure4819 Рік тому

    In The 12th one if we take a^m+n then its
    Language would be changed it will be like if we take : m=2,n=1,
    Then , L=AAABBC
    and if we take like m and n separately then how can we again take the String of 'M' asa in S =>aSc/aAc
    A=> aAb/ab
    So here we can not take the stringbwhich is a^m in the String aaabbc these aa will be left

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

    if for example 9 we have m and n >=0
    how do we write it then

  • @duckworth_lewis
    @duckworth_lewis Місяць тому

    Automata is that one fkn tough subjects

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

    Mam why we not took the epsilon in prblm no 6

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

    Thank you mam❤️❤️❤️

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

    Thank you very much mam

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

    THANK YOU VERY MUCH

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

    this one is awesome one best out of best

  • @sumantdusane1651
    @sumantdusane1651 Рік тому

    Thank You Mam

  • @Raj-ks1wb
    @Raj-ks1wb 2 роки тому

    Thank you so much

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

    prefect

  • @zarqjavedgill4227
    @zarqjavedgill4227 Рік тому +1

    mam n>=0 ki bhi doo na example tomorrow is my final toa
    wish me luck luck 28 kuriiiiiii daaaa

  • @mohammed.alsaleeh
    @mohammed.alsaleeh 10 місяців тому

    i love your black hands

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

    in 5 th example can we also write it as S->aAb A->ab please answer asap i got final

    • @gauravpatil534
      @gauravpatil534 2 роки тому +1

      No we can't because then we will not get ab string

  • @MaqudasWaseem
    @MaqudasWaseem 4 місяці тому

    Each word contains odd number of b's and even number of a's.
    Plz answer mee

  • @Leonardo-ui7bv
    @Leonardo-ui7bv 3 роки тому +3

    Ex 4 is wrong
    You can have more occurences of 000 with your cfg

    • @KunalMundadaRA
      @KunalMundadaRA 3 роки тому +2

      the question is not one occurence but rather atleast one occurence of 000

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

    Mam do CNF and GNF conversion

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

    Thank you.

  • @iamadityaupadhyay
    @iamadityaupadhyay 5 місяців тому +3

    Wrong 11:07 how do you create {ab} from your grammar

    • @SATYAJEETSEN-vc7sl
      @SATYAJEETSEN-vc7sl 2 місяці тому +1

      Check the second production of S.. it can directly create "ab".

    • @jayanth01
      @jayanth01 Місяць тому

      Is this correct for the same q
      S -> aAb
      A ->aAb | €

  • @NiteshSingh-co1sg
    @NiteshSingh-co1sg 3 роки тому

    Thanks mam

  • @hydrocy.9165
    @hydrocy.9165 Рік тому

    what does S mean

  • @prathyushk5228
    @prathyushk5228 7 місяців тому

    6) must be
    S -> aSbb
    S-> abb | E

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

    Thanks

  • @86justin
    @86justin Рік тому

    But cfg cannot have NULL in right side

  • @viswanathan9920
    @viswanathan9920 5 місяців тому

    This is a 2 Mark question ah mam

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

    Tq ma'am

  • @lovebinrobin9294
    @lovebinrobin9294 Рік тому

    Design an CFG for Stings with more than 2 zeros. ∑ = {0, 1}