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
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
Real
bhai, poore youtube me itna clear kisine bataya nahi. Sab confused the you explained so well. thankyou bhai
What a great teacher
you made it so easy.
Thankyou sir
You're a blessing! Love from Pakistan.
Chup saale converted
Abe to yaha ku ma chuda rha h
Tere yha bhi hai qa automata😂
Bomb banane main bhi use hota hai kya automata? 😂
sir your efforts mean a lot. i have seen so many videos but no one has taught like you. greatfull to have you
What a great teacher
Thanks sir
💯💯wonderful explanation Sir
very nice explanation Very Helpful
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🤟 ❤🥰
Can I directly watch this video without previous knowledge?
Yes
@@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 🤔
Simplest explaination for CFG to CNF ! !
Such a good explanation ❤
Thanks Man !! You made it really easy !
Thank you so much 😭😭😭❤️❤️
Sir thanks for the easiest explanation
Clear many confusion thanks 🤲
Most Underrated Channel
Explained very well, sir.
Thank you, understood :)
Pura concept clear hogaya
wonderful teaching. thanks sir
thanks sir understood in one go ,all teachers in online are teaching wrong method
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
rewatch 8:35
Bhaiya love the way u teach us❤
S->ABD/AC
A->aA/bAb/AB
C->aCa/aD
D->aD/bC
CGF to CNF
best video on topic 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏v
You are great sir love 💗from space 🚀
Just awesome🎉💯
You are the best. Thank you sir
last example there should S1->S in step 1 because S is in RHS side of other production rule
Yes we have to eliminate the start symbol and then slv it . Isn't?
But that will lead to unit production, which is against cnf rule
1 number sir . thank you very much . subscribed and liked 😊
Thank you sir awesome explanation.
Thank you sir 😊
thanks a lot sir .....
best video for cnf
i love you sir sirf ap se si samhja
Thank you so much sir
You are a gem ❤
May Allah bless you🌟
thanks sir❤
thank yuuuuuuu sooo much sir 👍
Thankyou 🎉Guruji
Continue ❤ never left
Nice video sir
okay so let's be honest
NO ONE did this better than him
ok
thanks for this video
Thank you sir 😇😇
Thank you sir!!!!!
well explained sir
thank you
Sir terminal or variable ek sth ho toh bo kis form m hota hai
Good explanation
Thank you superteach
Sir isme useless wala bhi elimination bhi krna hota h kya convert kr se pehle?
Can you do an example with Epsilon or empty?
Thank you sir,
gr8
Smooth video
Sir niche jo notes pade hai vo hi bhej do hm direct vhi se padh lenge
Lovely Sir..
Amazing sir
But what about the start symbol on RHS in two productions ?
I am having same doubt. Was your doubt cleared?
well explained!!!
Nice Video Sir
Can this solution be written for semester exam
Thank🙏💕
you are simply excellent. ALLAH BLESS you.
Good
Thnks !
Sir in second eg. S is starting symbol that is placed R.H.S so we have to make new production like S'->S
same doubt
tnx
Null and useless production ka bhi example karana tha
Sir Love from Pakistan 🇵🇰❤️🇮🇳❤️😍💕❤️👍 Keep it up ♨️👍
MH SET 23 me ye question aya tha..
Bro! Dino James 🗣️
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
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.
Dino Games ??
❤❤
superrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
suuuuperaaaaaaaaaaaaa
Thank you dear sir.
Your most welcome.. For further communication you can contact me at instagram..
bro looks like shahid kapoor more than shahid himself.
@6:09 caption
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
aap konse earphone lagaate ho?
@@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
Sir haven't talk about simplification first then use CNF .
I did wrong sir pls provide full information
Matlab
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
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. .
@@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...
@@anshikaarya4651 please send me the link..
@@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..
@@THEGATEHUB boss reply sir!!!
Is this correct?
🙏🙏🙏🙏🙏
Moye moye
dino james
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
Wrong
gla wale like karo
TOC me aapka koi javab nahi ...
But, 1st question me to useless productions hai. Aapne kaha CNF me convert krne se pahle useless production ko hatana hoga pahle.
bhot sexy padhate ho ! aap thank you sir !!!!!!!!!!!!!!!!!!!!!!!!
@DinoJames 🙂🙂
thanks you sir........
🫡