How to remove useless productions from Context Free Grammar (CFG) | Eliminate Useless Production CFG

  Рет қаралды 138,567

CSE concepts with Parinita

CSE concepts with Parinita

Күн бұрын

Removing useless productions from Context Free Grammar is very important for optimizing grammar. So here, we will learn how to remove useless productions from given CFG. In this video of CSE concepts with Parinita Hajra, we'll see the examples of how to remove or eliminate the useless productions from the given Context Free Grammar in theory of computation #uselessProduction #cfg #toc #cse #cseconceptwithparinita
If you like my video contents, please LIKE, COMMENT, SUBSCRIBE and SHARE with your friends.
You can always connect with me at:
Facebook: / cseconceptswithparinita
Instagram: / computer_science_concepts
Whatsapp: chat.whatsapp....
Mail: parinita1995@gmail.com
For the people asking me for the equipments I use.... you can buy them from the below links:
MOBILE: amzn.to/3jdmquc
LAPTOP: amzn.to/31ontBy
TRIPOD: amzn.to/2T6V3aC
MIC: amzn.to/3jl0Jss
CAMERA: amzn.to/3jmOSdr
HEADPHONES: amzn.to/2ICLPkn
POWER BANK: amzn.to/2He3crm
EARPLUGS: amzn.to/37oK5FQ
WHITE BOARD: amzn.to/35cAIq0
Compiler design tutorials:
• Compiler Design for GA...
Theory of computation (TOC) tutorials:
• Theory of computation ...
Cryptography techniques tutorials:
• Cryptography Tutorial
Artificial Intelligence tutorials:
• AI vs ML vs DL vs data...
GATE previous year important questions:
• GATE 2023 important co...
Data Compression tutorials:
• Data Compression Tutorial
Computer networks tutorials:
• Computer Networks Tuto...
Technical job updates:
• Technical job updates
Database management system tutorials: • DBMS: Database Managem...
Data structures and Algorithms tutorials:
• Data Structure and Alg...
Programming questions:
• Programming
Digital image processing:
• Digital Image Processi...
Digital electronics:
• Digital Logic
Motivational videos:
• Motivational Video
Keep learning, keep supporting 🤝✨💯

Пікірлер: 127
@sameerahmed3033
@sameerahmed3033 4 жыл бұрын
Example of a Finest Teacher ❤
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for this comment😊
@raghvendrasinghjat-vx4rs
@raghvendrasinghjat-vx4rs Жыл бұрын
​@@CSEconceptswithParinita4:28
@invaderffgaming4475
@invaderffgaming4475 Жыл бұрын
Atlast I have come to the right place after searching entire KZbin for this concept.
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Happy to help! Keep learning, keep supporting 🙂🤝
@TheExtremeFizz
@TheExtremeFizz 2 жыл бұрын
thank u maam u taught me a topic clearly in 10 mins that i couldn't learn in 1 hour :)
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
My pleasure😊 Keep learning, keep sharing 🤝
@SanjaySingh-ud5ju
@SanjaySingh-ud5ju 4 жыл бұрын
Very short, simple and clear explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for acknowledging 😊
@deepanshurana8697
@deepanshurana8697 2 жыл бұрын
In second example how can u cancel the x variable line ????
@bheemappabheem4074
@bheemappabheem4074 4 жыл бұрын
Good explain I never seen this much easy explain....
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Do share with others too😊
@nijanapuramrajesh6619
@nijanapuramrajesh6619 4 жыл бұрын
Great way of explanation...thank you.... Madam
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
You're welcome 😊Keep learning, keep sharing ✌
@parthkapoor7496
@parthkapoor7496 5 жыл бұрын
Thank you mam for such a great explanation ☺☺☺
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Completely my pleasure 😊
@monukumarshekhar5582
@monukumarshekhar5582 22 күн бұрын
Amazing explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 21 күн бұрын
Thanks for acknowledging. Keep learning, keep supporting ✨
@fathimanavas483
@fathimanavas483 Жыл бұрын
Simple n understanding 💯
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Keep learning, keep supporting 😊
@surajthakur3502
@surajthakur3502 4 жыл бұрын
Amazing example amazing explained.. Keep it continue
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for acknowledging. Please share it with your other friends..... It may help them too😊
@chandankr.1459
@chandankr.1459 2 жыл бұрын
Why you not remove S in 2 questions on Step-1 . S also not generate any terminal
@aadimrinal9561
@aadimrinal9561 Жыл бұрын
X is also generating
@the_art_lake
@the_art_lake 8 ай бұрын
Thank you for teaching this concept in a simple way
@CSEconceptswithParinita
@CSEconceptswithParinita 8 ай бұрын
My pleasure! Keep learning, keep supporting ✨
@nikhil78980
@nikhil78980 3 ай бұрын
Thank u mam u helped me in solving these type of questions.
@CSEconceptswithParinita
@CSEconceptswithParinita 3 ай бұрын
My pleasure. Keep learning, keep supporting ✨
@mehervardhan2177
@mehervardhan2177 Жыл бұрын
u saved our life tommorow end sem tq
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Wishing you all the best for your exam tomorrow 😊 Keep learning, keep sharing!
@saranyadoredla1162
@saranyadoredla1162 3 жыл бұрын
Thank u so much mam for the clear explanation 🥰
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
My pleasure 😊 Keep learning, keep sharing ✌
@t.udhayaumabharathii6055
@t.udhayaumabharathii6055 Жыл бұрын
Good explanation... 👏👏👏Tq mam😊
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Keep learning, keep sharing 😊
@alexgeorge6815
@alexgeorge6815 7 ай бұрын
What's the correct order in order to reduce the grammar , first do the removal of useless then removal of null then removal of unit production is this the order? Please reply
@prasadbabu5584
@prasadbabu5584 2 ай бұрын
Tquu soo much for this example mam
@CSEconceptswithParinita
@CSEconceptswithParinita 2 ай бұрын
My pleasure. Keep learning, keep supporting ✨
@wowwhatavideo2984
@wowwhatavideo2984 5 жыл бұрын
Such a beautiful handwriting 😍
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks dear😁
@jehadmaani5481
@jehadmaani5481 Ай бұрын
In the second example, is removing X correct?
@akshathaanayak
@akshathaanayak 2 жыл бұрын
Neatly explained.... Amazing
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
My pleasure 😊 Keep learning, keep sharing ✌
@ThePaci93
@ThePaci93 3 жыл бұрын
Amazing lesson. Thanks 🥰
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Keep learning, keep supporting ✌😊
@rrahulrroyr
@rrahulrroyr 5 жыл бұрын
Thank you for this discussion ...
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
My pleasure 😊
@SamarthKasar9924
@SamarthKasar9924 2 ай бұрын
Thanks a lot Madam ❤❤
@CSEconceptswithParinita
@CSEconceptswithParinita 2 ай бұрын
My pleasure 😊 Keep learning, keep supporting ✨
@sudiptahajra8974
@sudiptahajra8974 5 жыл бұрын
Thanks for the topic
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
My pleasure 😊
@krishnadisawal1817
@krishnadisawal1817 2 жыл бұрын
Nice explanation mam thank u
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌️
@zoyozone
@zoyozone 2 жыл бұрын
Thank u so mach mam ✅
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
My pleasure 😊
@soumyasingh1986
@soumyasingh1986 4 жыл бұрын
Ma'am my grammar is S-aAa , A-Sb/bCC/DaA , C-abb/DD, D-aDA , E-aC so ma'am after removing the non-generating symbols S will produce absilen as A will be removed and then C will be unreachable. So then what will be the answer?
@apoorvsingh2962
@apoorvsingh2962 2 жыл бұрын
after removing both non terminating and non reachable strings the answer is S-> aAa , A-> Sb
@nitishchoudhary201
@nitishchoudhary201 3 жыл бұрын
Thanks 😊 a lot
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Keep learning, keep supporting ✌😊
@nitishchoudhary201
@nitishchoudhary201 3 жыл бұрын
@@CSEconceptswithParinita Yes❤️
@nayanjadhav4672
@nayanjadhav4672 4 жыл бұрын
Thank nice explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Keep learning, keep sharing😊
@nayanjadhav4672
@nayanjadhav4672 4 жыл бұрын
@@CSEconceptswithParinita plz upload videos on regular expression to dfa conversion or dfa to regular expression conversion
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
@@nayanjadhav4672 I've already uploaded some, you may check them out
@niveditahajra9325
@niveditahajra9325 5 жыл бұрын
Great explanation!!
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks 😊
@muhammedanask8556
@muhammedanask8556 5 жыл бұрын
Good work.thanks
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
You're welcome 😊
@sananqaisar9048
@sananqaisar9048 5 жыл бұрын
nice you teach good keep the good work mam
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thank you for acknowledging 😊
@csstudent355
@csstudent355 Жыл бұрын
Thanks for sharing.
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
My pleasure! Keep learning, keep supporting 😊
@mdmaaz7817
@mdmaaz7817 6 ай бұрын
Maam thank you soooo much 😭😭😭😭
@CSEconceptswithParinita
@CSEconceptswithParinita 6 ай бұрын
Most welcome 😊 keep learning, keep supporting ✨
@fullstackdeveloper2025
@fullstackdeveloper2025 2 жыл бұрын
tqsm..
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌😊
@niveditahajra9325
@niveditahajra9325 5 жыл бұрын
Nice topic
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
:) :)
@arijitroy2001
@arijitroy2001 2 ай бұрын
What is terminal? How r u determining it?
@StoriesWithNayeem
@StoriesWithNayeem 2 жыл бұрын
Thanks
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
My pleasure!
@user-bm4pw1ke2n
@user-bm4pw1ke2n 4 жыл бұрын
In 2nd example shouldn't there be a terminal or non terminal only
@ashugarg3196
@ashugarg3196 5 жыл бұрын
please make videos on previous year sql question
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
You mean previous year SQL questions asked in GATE?
@ashugarg3196
@ashugarg3196 5 жыл бұрын
@@CSEconceptswithParinita yes
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Okay sure.... I'll upload and provide you link🙂
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Hey Shashank, find these uploaded videos as per your request and let me know if they're helpful: kzbin.info/www/bejne/d4nXfIl-aLaWaLs kzbin.info/www/bejne/n3iqZKComduHq8k kzbin.info/www/bejne/d4nXfIl-aLaWaLs
@sudiptahajra8974
@sudiptahajra8974 5 жыл бұрын
@@CSEconceptswithParinita thank you for these 3 videos. They are helpful
@gayathri-8-i6s
@gayathri-8-i6s 2 жыл бұрын
Superb💥
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@tejedikuda7848
@tejedikuda7848 3 жыл бұрын
Nice explanation!!
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Keep learning, keep sharing 😊✌
@pouriasameti4281
@pouriasameti4281 2 жыл бұрын
good enough
@faizansaqeeb3390
@faizansaqeeb3390 4 жыл бұрын
Wonderful
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for acknowledging
@saiyampatil8744
@saiyampatil8744 Ай бұрын
best
@CSEconceptswithParinita
@CSEconceptswithParinita Ай бұрын
Keep learning, keep supporting ✨
@abubakarizhar5608
@abubakarizhar5608 Жыл бұрын
Is useless and non generating same thing?
@ezcoding69
@ezcoding69 Жыл бұрын
i am writing for the future students : useless means that are non generating or non reachable....one of them
@subhashnarkidamilli9230
@subhashnarkidamilli9230 3 жыл бұрын
👏👏👏👏👏👏
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
🙂🙂
@saiefhaque2499
@saiefhaque2499 2 жыл бұрын
perrrrfect
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@tupham-ge4de
@tupham-ge4de 10 ай бұрын
what is the non-generating?
@CSEconceptswithParinita
@CSEconceptswithParinita 10 ай бұрын
The variable that is not generating further
@pandrakulapriyanka3951
@pandrakulapriyanka3951 3 жыл бұрын
suberb content
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Thanks for acknowledging 😁 Keep learning, keep supporting ✌😊
@nishanthmurugan5502
@nishanthmurugan5502 5 жыл бұрын
Super ka
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thank you 😊
@anonymousgod2506
@anonymousgod2506 4 жыл бұрын
In example 2 S Starting symbol doesn't have any terminal string then why you are included S in the production mam.Plz clear my doubt mam...
@floki1105
@floki1105 4 жыл бұрын
we shouldn't remove starting symbol
@anonymousgod2506
@anonymousgod2506 4 жыл бұрын
@@floki1105 ok thankyou 😄
@sasiganesh8860
@sasiganesh8860 5 ай бұрын
@achebacche
@achebacche Жыл бұрын
Tcs 🎉🎉😊
@AlgomorphTeam
@AlgomorphTeam Күн бұрын
Nails mast he mam
@CSEconceptswithParinita
@CSEconceptswithParinita Күн бұрын
Hahaha
@compc_59_manishyadav77
@compc_59_manishyadav77 2 жыл бұрын
noice!!!
@bibhupradhan1740
@bibhupradhan1740 2 жыл бұрын
SaAa, ASb | bCC | DaA, C abb | DD, EaC, DaDA iska ans kya hoga mam
@anjalisingh-sx5ct
@anjalisingh-sx5ct 4 жыл бұрын
2nd ques S should be removed as non generating
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
But S is the starting symbol. We never remove the starting symbol
@anjalisingh-sx5ct
@anjalisingh-sx5ct 4 жыл бұрын
@@CSEconceptswithParinita thankxx
@jairajsingh1850
@jairajsingh1850 4 жыл бұрын
symBALL
@PoojaKumawat-x7e
@PoojaKumawat-x7e 6 ай бұрын
Symboools😂
@pranathigomez5225
@pranathigomez5225 3 жыл бұрын
Puku anav kfu
@vishnuyadav8433
@vishnuyadav8433 2 жыл бұрын
Speak in Hindi
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
How to remove null productions from Context Free Grammar in theory of computation
10:23
CSE concepts with Parinita
Рет қаралды 59 М.
Grammars, parsing, and recursive descent
30:31
Kay Lack
Рет қаралды 23 М.
How to Stop Procrastinating and Finally Take Action
16:31
Ali Abdaal
Рет қаралды 108 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 26 МЛН
Simplification of CFG (Reduction of CFG)
13:57
Neso Academy
Рет қаралды 1 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Simplification of CFG (Removal of Null Productions)
8:31
Neso Academy
Рет қаралды 705 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН