Generating CFG from regular expression | context free grammar | RE to CFG | CFG from RE | cfg to re

  Рет қаралды 104,322

CSE concepts with Parinita

CSE concepts with Parinita

Күн бұрын

Пікірлер: 124
@charlottehuntington9506
@charlottehuntington9506 4 жыл бұрын
Dear mam you gave me confidence that i can clear my toc exam.the way you teach is more understandable than my proffessor tech us in lecture.❤
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
I'm really happy to know that 😊 Keep learning, keep sharing ✌
@G24fg
@G24fg 9 ай бұрын
thank youuuuuuuuuuuuuuuuuuuuu💗💗💗💗💗💗💗
@CSEconceptswithParinita
@CSEconceptswithParinita 9 ай бұрын
Glad it was helpful! Keep learning, keep supporting 🙂
@tamzidchowdhury472
@tamzidchowdhury472 4 жыл бұрын
God bless you, you explained way better than my professor, who I paid $10k
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Happy to help😊
@SandeepNairYoutube
@SandeepNairYoutube 18 күн бұрын
Clear and detailed explanation. After reading the theory part, I am able to understand the working after seeing this video.
@CSEconceptswithParinita
@CSEconceptswithParinita 17 күн бұрын
Happy to hear that! Keep learning, keep supporting ✨
@ANGELS542
@ANGELS542 3 жыл бұрын
THANK YOU SO MUCH! THANKS TO YOUR VIDEO I WAS ABLE TO DO AN EXERCISE I'VE BEEN TRYING SINCE YESTERDAY
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
I'm glad to hear this😊 keep learning, keep supporting 🤝
@jackalvarez6301
@jackalvarez6301 Жыл бұрын
THANK YOU! Studying night before. best explanation on yt for CGF! Commenting for algorithm! thank you!!!!!!
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Thank you for acknowledging 😊 Keep learning, keep sharing ✌️
@ancientstories1648
@ancientstories1648 4 жыл бұрын
Mam, you are a great teacher, understood the whole concept clearly and tomorrow is my exam!!!
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Glad to know that. Wish you all the best for your exam :)
@ancientstories1648
@ancientstories1648 4 жыл бұрын
@@CSEconceptswithParinita Thank you mam, it was great :)
@umeshpatil1759
@umeshpatil1759 4 жыл бұрын
thank you very much. crystal clear concept. thanks once again. my online graded assignment is going on. thanks
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Happy to help😊 Keep learning, keep sharing ✌
@SanjaySingh-ud5ju
@SanjaySingh-ud5ju 5 жыл бұрын
It is really one of the best explanations available online
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for such a compliment 😊
@anunawaz7158
@anunawaz7158 Жыл бұрын
Teacher you teach in a fabolous way
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Thanks for acknowledging! Keep learning, keep sharing 😊
@Arnankhan
@Arnankhan 4 жыл бұрын
I believe this is also correct. For the first problem: S -> ASB|aa A -> a|b|lambda B -> a|b|lambda For the second problem: S -> ASB|1 A -> 0|lambda B -> 0|1|lambda
@MBindu-kc2nj
@MBindu-kc2nj 2 жыл бұрын
Very helpful .Thank you man
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌️🙂
@p2p2p2p2p2p
@p2p2p2p2p2p 2 жыл бұрын
best explanation!
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@p2p2p2p2p2p
@p2p2p2p2p2p 2 жыл бұрын
@@CSEconceptswithParinita thank you so much for your help! you are a great teacher!
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
I'm glad to hear that🙂
@sarba85528
@sarba85528 Жыл бұрын
Thank you!
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Keep learning, keep sharing 😊
@dcdamnchill6729
@dcdamnchill6729 2 жыл бұрын
nice explanation mam,Thank you
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing 🙂
@ahmedshafraz1538
@ahmedshafraz1538 4 жыл бұрын
Very nice explanationn thanxxx alot
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
You're welcome. Keep learning, keep sharing ✌😊
@Unhappenedbefore
@Unhappenedbefore 2 жыл бұрын
you made it so easy keep growing
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing 😊
@gautamhelange2769
@gautamhelange2769 5 жыл бұрын
Easy Explanation...Thank You.
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
You're welcome 😊
@furkanekici236
@furkanekici236 2 жыл бұрын
what a thorough and lovely explanation! thanks.
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
My pleasure 😊 Keep learning ,keep sharing ✌
@devconteh
@devconteh 4 жыл бұрын
Thanks. this is really a great tutorial. very easy and clear explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
My pleasure😊 Keep learning, keep sharing ✌
@targeto12
@targeto12 2 жыл бұрын
5:43 rip insect you will be missed
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Good observation 😂😂
@abhishekjain3320
@abhishekjain3320 5 жыл бұрын
Thanks a lot mam😘
@c.d.premkumar6867
@c.d.premkumar6867 2 жыл бұрын
Excellent !
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@sakshitagalpallewar9393
@sakshitagalpallewar9393 5 жыл бұрын
Thank you mam 😊 nice explanation 👍
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks dear for the acknowledgement 😊
@TheGamingIndustry-YT
@TheGamingIndustry-YT 9 ай бұрын
best explaination in youtube, thankyou so much mam :-)
@CSEconceptswithParinita
@CSEconceptswithParinita 9 ай бұрын
I'm glad to hear that! Keep learning, keep supporting 🙂
@adithnarein8420
@adithnarein8420 3 жыл бұрын
ooof you saved my ass this sem. 😀😂
@ashwidafernando7178
@ashwidafernando7178 9 ай бұрын
Thanks ma'am. Very clear
@CSEconceptswithParinita
@CSEconceptswithParinita 9 ай бұрын
Glad it helped! Keep learning, keep supporting 🙂
@themoneymanic
@themoneymanic 3 жыл бұрын
Great thank you
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
My pleasure 😊Keep learning, keep sharing ✌
@sudiptahajra8974
@sudiptahajra8974 5 жыл бұрын
Awesome explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for the acknowledgement 😊
@luksubsriprasert1540
@luksubsriprasert1540 3 жыл бұрын
You save my life .
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Keep learning, keep supporting 🤝
@yashupadhyay576
@yashupadhyay576 5 жыл бұрын
Thank you so much mam🙏
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Completely my pleasure 😊
@aalhadpatwardhan4827
@aalhadpatwardhan4827 2 жыл бұрын
Thank you :D
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@diwang4572
@diwang4572 3 жыл бұрын
India might not have defeat Hitler, it may not have sent the first man to the Moon, but its great people did save millions of suffering Computer Science students :D
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Hahaha
@punithgowda1649
@punithgowda1649 3 жыл бұрын
We have other achievements but it's ok
@usmantahir2314
@usmantahir2314 3 жыл бұрын
. a. Explain why some programming languages require automatic memory management (“garbage collection”) for program execution? b. At a given point in the execution of a program, what can be considered as garbage? How can garbage be located in memory?
@chandrasri2037
@chandrasri2037 3 жыл бұрын
Thankyou 🥺❤️
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
My pleasure 😊 Keep learning, keep sharing ✌
@giteprashant1999
@giteprashant1999 5 жыл бұрын
nice teaching mam 😯
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for your feedback 😊
@niveditahajra9325
@niveditahajra9325 5 жыл бұрын
Very clear explanation!
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for your feedback 😊
@rrahulrroyr
@rrahulrroyr 5 жыл бұрын
Thank you a lot for the overall idea !!
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
My pleasure 😊
@gaurigarole19
@gaurigarole19 5 ай бұрын
Thank you mam❤
@CSEconceptswithParinita
@CSEconceptswithParinita 5 ай бұрын
Most welcome 😊 keep learning, keep supporting ✨
@usmantahir2314
@usmantahir2314 3 жыл бұрын
Q2. Consider the following Context Free Grammar (CFG) 𝑆 → 𝐴𝑎 | 𝐵𝐴𝑏 𝐴 → 𝐵𝐵 | 𝑐 𝐵 → 𝑆𝑑 | 𝑒 where {a, b, c, d, e} is the set of terminal symbols. a. Give a right-most derivation of ecadeb. b. Give a left-most derivation of ecadeb. c. Compute FIRST and FOLLOW for this grammar? d. Discuss whether CFG is ambiguous or not and draw the parsing tree?
@soumyadeeproy9638
@soumyadeeproy9638 4 жыл бұрын
Thanks mam
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
My pleasure 😊
@rabindranathhajra168
@rabindranathhajra168 5 жыл бұрын
Nicely explained 👏👏
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for the acknowledgement :)
@ayushgupta4803
@ayushgupta4803 2 ай бұрын
thank you
@CSEconceptswithParinita
@CSEconceptswithParinita 2 ай бұрын
Welcome! Keep learning, keep supporting ✨
@magedrefat1658
@magedrefat1658 3 жыл бұрын
Amazing! You made my day ^_^
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Keep learning, keep sharing ✌😊
@vibharajput9085
@vibharajput9085 4 жыл бұрын
Thnku mam ☺
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
You're welcome. Keep learning, keep sharing ✌😊
@umairalitv3546
@umairalitv3546 3 жыл бұрын
RE is this (a+b)* generate two CFGs ?? Kindly solve this
@hawk3ye32
@hawk3ye32 4 жыл бұрын
what is cfg for ab^naa^n?
@somyasahu2000
@somyasahu2000 4 жыл бұрын
Nice🙂
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thank you 😊
@batucanedison
@batucanedison 3 жыл бұрын
How about R = (b*ab*ab*)*b*
@atharvashinde55
@atharvashinde55 Жыл бұрын
hello mam 0(0+1)*01(0+1)*1 how can we solve this one confused little bit
@anunawaz7158
@anunawaz7158 Жыл бұрын
But telegram we can't share our problem beczause its mute.
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Share in whatsapp group / LinkedIn/ Facebook
@Pcp1944
@Pcp1944 11 ай бұрын
Yeh log sirf easy question hi solve karte hai , who agree with me hit a like🙃
@CSEconceptswithParinita
@CSEconceptswithParinita 11 ай бұрын
Kyuki ham ye sochke video banate hai ki jinko ye topic nahi aata, vo video dekhke ye topic seekh jaaye. And for that purpose, direct complicated example nahi le sakte as we have to think about a wider audience 🙃
@anunawaz7158
@anunawaz7158 Жыл бұрын
Agar hame kuch poochna can we contact theough telegram or some where?
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Through any of my social media handles
@apurbapradhan99
@apurbapradhan99 4 жыл бұрын
in case of 2nd example if we use B instead of A .......... S=B1B B=0B/1B/^ is this correct?
@venkateshkasat6508
@venkateshkasat6508 4 жыл бұрын
Mam how to find CFG for (0)*(1(0+1)*
@vekyyy
@vekyyy 2 жыл бұрын
A heads up, in the first example in your language L you marked "bbbaa" as a part of the language while it isn't This is because the (a+b)* group requires at least one letter "a" and exactly one "b" per repetition if the group exists; the CFG you have used would also recognize "baab" as a part of its language That being said, the CFG that I would use here is S -> AS | aaS | eps A -> aA | ab | eps This grammar should now NOT recognize "bbbaa" nor "baab" as a part of the language If I'm wrong feel free to correct me; I'm still trying to learn how to properly translate regex into CFG which basically brought me to watch this video! EDIT: Similar mistake happens in the second example Because of B -> 1B grammar will accept 11111 as a part of its language
@ChocoFeather
@ChocoFeather 2 жыл бұрын
(a+b)* means 0 or more occurences of combination of a and b (a+b)+ means 1 or more occurences of combination of a and b so, the video is correct, you got confused, got it?
@vekyyy
@vekyyy 2 жыл бұрын
@@ChocoFeather nope... I even gave explanations why they don't work (a+b)* indicates that if there's a "b" there MUST also be at least one "a" beforehand => "bbbaa" does not belong to the language L in the first example because it does NOT have at least one "a" before each "b", similar logic also applies to the example "baab" and the mistake repeats itself with (0+1)* once again
@ChocoFeather
@ChocoFeather 2 жыл бұрын
@@vekyyy so, 'bb' doesn't belong to the language of this regex: (a+b) ?
@ChocoFeather
@ChocoFeather 2 жыл бұрын
Or in (a+b)* ?
@vekyyy
@vekyyy 2 жыл бұрын
@@ChocoFeather indeed (a+b)* => L = {ab, aab, aaab, abab, abaab ...} However: (a*b)* => L = {b, bb, ab, aab, bbaabbaaaabbbb, ...}
@seenu9036
@seenu9036 4 жыл бұрын
The ant on the book distracted me a lot.. :p
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Apologies for that😂😂
@seenu9036
@seenu9036 4 жыл бұрын
@@CSEconceptswithParinita its fine i was just kidding.. and thank you for teaching the concepts.. tomorrow i have exam.. whis me luck. 😁.
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Wish you all the best dear✌💯
@seenu9036
@seenu9036 4 жыл бұрын
@@CSEconceptswithParinita thank u thank u..
@devi8755
@devi8755 5 ай бұрын
Who
@s.r.somyasamapika4474
@s.r.somyasamapika4474 5 жыл бұрын
U r explaining too much which is disgusting... Otherwise its a praiseworthy explanation..
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thank you Somya for your opinion. Can you please elaborate what actually you didn't like?
@litlabproductions2043
@litlabproductions2043 5 жыл бұрын
Somya you sound brainless.. Free help given by someone who you don't even know.. Likely wants to help everyone succeed, how about you upload a video so we can laugh at you incompetence? Or sit down and learn your place.
@litlabproductions2043
@litlabproductions2043 5 жыл бұрын
@@CSEconceptswithParinita The video is outstanding, really helped me after hours of searching. Some people just aren't happy..lol
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
@@litlabproductions2043 thank you so much! The support of people like you keeps me going 😊
@Khalidkhanofficial77
@Khalidkhanofficial77 Жыл бұрын
great lecture👍
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Keep learning, keep sharing 😊
Context-Free Grammars (CFGs): 5 Easy Examples
19:03
Easy Theory
Рет қаралды 52 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 20 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 35 МЛН
Theory of Computation: Construction of CFG - Examples
21:18
Anita R
Рет қаралды 302 М.
Conversion of CFG to Chomsky Normal Form
12:58
Neso Academy
Рет қаралды 1 МЛН
Ambiguity in CFGs
6:38
Neso Academy
Рет қаралды 102 М.
Context Free Grammar & Context Free Language
7:52
Neso Academy
Рет қаралды 1,3 МЛН
Conversion of Regular Expression to Finite Automata - Examples (Part 1)
8:54
Regular Grammar
10:14
Neso Academy
Рет қаралды 823 М.
How to remove null productions from Context Free Grammar in theory of computation
10:23
CSE concepts with Parinita
Рет қаралды 53 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН