CFG to CNF Conversion Examples | Chomsky Normal Form Examples | TOC | Automata Theory

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024
  • #cfgtocnfconversion,#CNF, #GATECS, #thegatehub #TOC
    Contact Datils (You can follow me at)
    Instagram: / ahmadshoebkhan
    LinkedIn: / ahmad-shoeb-957b6364
    Facebook: / ahmadshoebkhan
    Watch Complete Playlists:
    Data Structures: • Introduction to Data S...
    Theory of Computation: • Introduction to Theory...
    Compiler Design: • Ambiguous Grammar | In...
    Chomsky Normal Form Examples & CFG to CNF Conversion
    In this video I have discussed that how to convert context free grammar to chomsky normal form.
    A context free grammar (CFG) is in Chomsky Normal Form (CNF) if all production rules satisfy one of the following conditions:
    A non-terminal generating a terminal (e.g.; X-x)
    A non-terminal generating two non-terminals (e.g.; X-YZ)
    Start symbol generating ε. (e.g.; S- ε)
    cfg to gnf converter online
    convert cfg to gnf examples
    convert cfg to cnf code
    chomsky normal form examples with solutions pdf
    convert the following cfg into an equivalent cfg in chomsky normal form
    chomsky normal form exercises
    difference between cnf and gnf
    chomsky normal form ppt
    cfg to cnf,cfg to cnf conversion,cfg to cnf conversion example,chomsky normal form in automata,chomsky normal form tutorial,steps to convert cfg to cnf,cfg to chomsky normal form,convert cfg to cnf,cnf conversion,chomsky normal form conversion,cfg to cnf conversion in toc,cfg to cnf conversion problems,convert cfg to cnf in hindi,convert cfg to cnf problems,conversion of cfg to cnf,converting cfg to cnf examples,gate cse,thegatehub,gatehub

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

  • @muhammadumairkhan6071
    @muhammadumairkhan6071 8 หลายเดือนก่อน +29

    Pura TH-cam Dekh Lia sab bakwas KR rhy thy, sirf apki video ki samajh ayi or pata chala k Itna simple topic hai yeh. Shukria bhai

  • @hinduscience108
    @hinduscience108 4 หลายเดือนก่อน +14

    bhai, poore youtube me itna clear kisine bataya nahi. Sab confused the you explained so well. thankyou bhai

  • @Arham_ahmed02
    @Arham_ahmed02 9 หลายเดือนก่อน +12

    What a great teacher
    you made it so easy.
    Thankyou sir

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

    You're a blessing! Love from Pakistan.

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

      Chup saale converted

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

      Abe to yaha ku ma chuda rha h

    • @ankitpandey7561
      @ankitpandey7561 5 วันที่ผ่านมา

      Tere yha bhi hai qa automata😂

    • @AdityaKumar-yp4mz
      @AdityaKumar-yp4mz 5 วันที่ผ่านมา

      Bomb banane main bhi use hota hai kya automata? 😂

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

    sir your efforts mean a lot. i have seen so many videos but no one has taught like you. greatfull to have you

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

    What a great teacher
    Thanks sir

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 3 ปีที่แล้ว +10

    💯💯wonderful explanation Sir

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

    very nice explanation Very Helpful

  • @patillina7360
    @patillina7360 5 หลายเดือนก่อน +5

    Before watching this video i am very confusing about this video an after watching this video my concept is very clear about this topic thank you so much sir you makes more easy to this subject🤟 ❤🥰

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

      Can I directly watch this video without previous knowledge?

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

      Yes

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

      @@patillina7360 even I don't know what is the CFG and CNF just come to this video because my exam ask this type of question how to possible to understand directly 🤔

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

    Simplest explaination for CFG to CNF ! !

  • @shrutiraj9800
    @shrutiraj9800 8 หลายเดือนก่อน +5

    Such a good explanation ❤

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

    Thanks Man !! You made it really easy !

  • @TK-wp3iw
    @TK-wp3iw ปีที่แล้ว +8

    Thank you so much 😭😭😭❤️❤️

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

    Sir thanks for the easiest explanation

  • @MdRashid-zx6cn
    @MdRashid-zx6cn 2 ปีที่แล้ว +4

    Clear many confusion thanks 🤲

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

    Most Underrated Channel

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

    Explained very well, sir.

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

    Thank you, understood :)

  • @nobody-vf5ob
    @nobody-vf5ob 4 ปีที่แล้ว +3

    Pura concept clear hogaya

  • @_ANKUSH-dc5rw
    @_ANKUSH-dc5rw 9 หลายเดือนก่อน +1

    wonderful teaching. thanks sir

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

    thanks sir understood in one go ,all teachers in online are teaching wrong method

  • @swapnilmohanty4045
    @swapnilmohanty4045 7 หลายเดือนก่อน +3

    Sir one doubt, if A->a, B->b, then why did we need to create X->a, Y->b?? I'm talking about the second example

  • @PriyaYadav-wi7ri
    @PriyaYadav-wi7ri ปีที่แล้ว +2

    Bhaiya love the way u teach us❤

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

    S->ABD/AC
    A->aA/bAb/AB
    C->aCa/aD
    D->aD/bC
    CGF to CNF

  • @jaat_786.
    @jaat_786. 5 วันที่ผ่านมา

    best video on topic 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏v

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

    You are great sir love 💗from space 🚀

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

    Just awesome🎉💯

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

    You are the best. Thank you sir

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

    last example there should S1->S in step 1 because S is in RHS side of other production rule

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

      Yes we have to eliminate the start symbol and then slv it . Isn't?

    • @Ajay.m-sc1vc
      @Ajay.m-sc1vc 8 หลายเดือนก่อน

      But that will lead to unit production, which is against cnf rule

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

    1 number sir . thank you very much . subscribed and liked 😊

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

    Thank you sir awesome explanation.

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

    Thank you sir 😊

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

    thanks a lot sir .....

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

    best video for cnf

  • @mr.pianist
    @mr.pianist 3 หลายเดือนก่อน

    i love you sir sirf ap se si samhja

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

    Thank you so much sir

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

    You are a gem ❤
    May Allah bless you🌟

  • @bishal6334
    @bishal6334 7 วันที่ผ่านมา

    thanks sir❤

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

    thank yuuuuuuu sooo much sir 👍

  • @PriyanshuSingh.O1
    @PriyanshuSingh.O1 ปีที่แล้ว

    Thankyou 🎉Guruji

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

    Continue ❤ never left

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

    Nice video sir

  • @overthinker-un5mi
    @overthinker-un5mi 2 หลายเดือนก่อน

    okay so let's be honest
    NO ONE did this better than him

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

    thanks for this video

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

    Thank you sir 😇😇

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

    Thank you sir!!!!!

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

    well explained sir
    thank you

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

    Sir terminal or variable ek sth ho toh bo kis form m hota hai

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

    Good explanation

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

    Thank you superteach

  • @user-te4rr7zv3v
    @user-te4rr7zv3v หลายเดือนก่อน

    Sir isme useless wala bhi elimination bhi krna hota h kya convert kr se pehle?

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

    Can you do an example with Epsilon or empty?

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

    Thank you sir,

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

    gr8

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

    Smooth video

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

    Sir niche jo notes pade hai vo hi bhej do hm direct vhi se padh lenge

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

    Lovely Sir..

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

    Amazing sir

  • @user-is4pi1pc6s
    @user-is4pi1pc6s 8 หลายเดือนก่อน +1

    But what about the start symbol on RHS in two productions ?

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

      I am having same doubt. Was your doubt cleared?

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

    well explained!!!

  • @nobody-vf5ob
    @nobody-vf5ob 4 ปีที่แล้ว

    Nice Video Sir

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

    Can this solution be written for semester exam

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

    Thank🙏💕

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

    you are simply excellent. ALLAH BLESS you.

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

    Good

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

    Thnks !

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

    Sir in second eg. S is starting symbol that is placed R.H.S so we have to make new production like S'->S

  • @user-su9fv7hx7i
    @user-su9fv7hx7i 9 หลายเดือนก่อน

    tnx

  • @bp8993
    @bp8993 25 วันที่ผ่านมา

    Null and useless production ka bhi example karana tha

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

    Sir Love from Pakistan 🇵🇰❤️🇮🇳❤️😍💕❤️👍 Keep it up ♨️👍

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

    MH SET 23 me ye question aya tha..

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

    Bro! Dino James 🗣️

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

    Sir s is also available right side of variable ..do we not need to take extra variable like s dash derive s ..i saw video on neso academy

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

      but right hand side main start variable tab nahi aa sakta jab start symbol null ko derive kar raha hota. but is question main start symbol null ko nahi derive kar raha hai isliye start symbol ko right hand side main likh sakte hai..correct me if i am wrong. for further communication contact me at Instagram.

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

    Dino Games ??

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

    ❤❤

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

    superrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

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

    Thank you dear sir.

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

      Your most welcome.. For further communication you can contact me at instagram..

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

    bro looks like shahid kapoor more than shahid himself.

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

    @6:09 caption

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

    Sir thoda mic use karlo ... Apka voice zayda deep hai ,upar se aoaj v dhire a rhi hai ... Earphone use karke v sunne me dikkat ho Rahi hai

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

      aap konse earphone lagaate ho?

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

      @@ohmpanchal1658 Realme Buds 2 , Yeh mat bolna umse zyada bass ata hai ... Usme trouble achaa khasa milta hai ... Or haa boat ka ek earbud ATOM 83 and headphone peablles kaa .. sab mey try Kia ... Par Aisa hi dikkat hota hai

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

    Sir haven't talk about simplification first then use CNF .
    I did wrong sir pls provide full information

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

      Matlab

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

    Sir glt information mt share kriy y glt solve kiyn h apne qki y CNF ki property h ki right hand side p starting symbol nhi hona chiy bt apke answer m araa h starting symbol so it's wrong

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

      but right hand side main start variable tab nahi aa sakta jab start symbol null ko derive kar raha hota. but is question main start symbol null ko nahi derive kar raha hai isliye start symbol ko right hand side main likh sakte hai..correct me if i am wrong. for further communication contact me at Instagram. .

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

      @@THEGATEHUB sir plz goto any website and chz rules their mentioned this condition...you can also go nesho acdmy channel on TH-cam they are describe fully rules in proper way...

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

      @@anshikaarya4651 please send me the link..

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

      @@THEGATEHUB th-cam.com/video/FNPSlnj3Vt0/w-d-xo.html u can chk here it is totally correct I'm dmn sure... This rule are mentioned in books also..

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

      @@THEGATEHUB boss reply sir!!!

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

    Is this correct?

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

    🙏🙏🙏🙏🙏

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

    Moye moye

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

    dino james

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

    Sir This question CNF
    X---> aYbD
    Y ---> aZ/bYeZ
    Z---> bD
    D---> d
    ______
    My ans:-
    X--> R
    Y-->RZ /S
    Z-->SD
    D--> d
    👇new
    S-->a
    R-->b
    T--> e
    M--> Y
    M1--->SD
    N-->2
    N1-->YT
    my answer correct or not?
    Please reply me

  • @daddy.69.
    @daddy.69. 2 ปีที่แล้ว

  • @user-mm3fe3wt9t
    @user-mm3fe3wt9t 8 หลายเดือนก่อน

    gla wale like karo

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

    TOC me aapka koi javab nahi ...

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

    But, 1st question me to useless productions hai. Aapne kaha CNF me convert krne se pahle useless production ko hatana hoga pahle.

  • @user-jl1hl5vo6s
    @user-jl1hl5vo6s 2 หลายเดือนก่อน

    bhot sexy padhate ho ! aap thank you sir !!!!!!!!!!!!!!!!!!!!!!!!

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

    @DinoJames 🙂🙂

  • @mr.shubham5220
    @mr.shubham5220 ปีที่แล้ว

    thanks you sir........

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

    🫡