Derivations from a Grammar

  Рет қаралды 710,714

Neso Academy

Neso Academy

Күн бұрын

Пікірлер
@nunemuntalavardhangoud9358
@nunemuntalavardhangoud9358 3 жыл бұрын
I think at the end ,the generalized expression should have m>=1 and n>=1
@arijeetsutradhar5055
@arijeetsutradhar5055 2 жыл бұрын
Yahh
@dontknow4523
@dontknow4523 Жыл бұрын
Yeah
@bvbyballena472
@bvbyballena472 Жыл бұрын
Yeah
@harshsonar9346
@harshsonar9346 Жыл бұрын
yeahh
@AnxiousDrK
@AnxiousDrK Жыл бұрын
True
@piratedvirus
@piratedvirus 7 жыл бұрын
Give this man an Award! Wow 6 months of semester covered in 96 videos...
@zoxomonocovo
@zoxomonocovo 5 жыл бұрын
This was 6 months of semester? This was covered within the first 4 weeks of the semester? Is my degree different?
@visheshkwatra2279
@visheshkwatra2279 4 жыл бұрын
@@zoxomonocovo Indian unis man
@shivanksingh8154
@shivanksingh8154 2 жыл бұрын
And I have covered it only 3 days 🤣🤣🤣🤣
@ayesha5313
@ayesha5313 10 ай бұрын
I swear😂
@chaitanyaphaneendra3111
@chaitanyaphaneendra3111 9 ай бұрын
get lost
@psaikiran9831
@psaikiran9831 4 жыл бұрын
Watched these videos and covered syllabus of whole semester in just 3 days. Thanks a lot
@robertjimenez5608
@robertjimenez5608 2 жыл бұрын
i dont really understand the point of that since youre not really going to be able to encode everything properly
@arpitpathak7917
@arpitpathak7917 2 жыл бұрын
i did in 6 hrs that also today
@rando9232
@rando9232 2 жыл бұрын
@@arpitpathak7917 I did it in 2 mins. My mother went to make Maggi and I started watching this playlist. I completed it before she was done.
@oksowhat
@oksowhat 2 жыл бұрын
@@robertjimenez5608 point is that this course is useless for 99% of the people, still it is taught for no reason to everyone
@robertjimenez5608
@robertjimenez5608 2 жыл бұрын
@@oksowhat true
@jelenavaryukhicheva1197
@jelenavaryukhicheva1197 3 жыл бұрын
Thank you for this channel. You are saving my "Fundamentals of Computer Science" grade and actually give some education on this topic. Unlike my current university. Also m, n >0
@vscode4232
@vscode4232 2 жыл бұрын
Which linearity is this? Ex 1
@fuzi_blossom
@fuzi_blossom 2 жыл бұрын
Sir for the last question for G3 m>=1,n>=1 or m>=0,n>=0? I suppose it must be 1 as minimum power of ab is 1,1
@ghyr3740
@ghyr3740 6 жыл бұрын
sir, you teach us in a very good manner this videos are very much helpful for me. In the lecture m>0 and n>0
@elyasaf755
@elyasaf755 5 жыл бұрын
Thank you sir for the videos! they are great! One mistake though: in example 3, epsilon isn't in the language, therefor m & n can't be equal to 0, it should be m>0 & n > 0.
@AmitSingh-1916
@AmitSingh-1916 4 жыл бұрын
yaa m and n >= 1 must be
@programmer6953
@programmer6953 2 жыл бұрын
@@AmitSingh-1916 you are saying yeah and answering completely different answer in here ,commentor says >0 ur saying >=1 which one exactly comments of this videos makes me sick
@SumanRajak-gb1yh
@SumanRajak-gb1yh 2 жыл бұрын
@@programmer6953 bro >0 and >=1 is same....🥲
@Debarshi_Choudhury
@Debarshi_Choudhury 7 жыл бұрын
m>0 and n>0
@prateekkaushik5847
@prateekkaushik5847 7 жыл бұрын
Debarshi Choudhury agreed
@arijitchatterjee928
@arijitchatterjee928 7 жыл бұрын
m>=1,n>=1
@vinjamurisatyakrishna3332
@vinjamurisatyakrishna3332 7 жыл бұрын
good observation
@BetioLopezMenendez4
@BetioLopezMenendez4 7 жыл бұрын
You right, it would be m >= 0 and n >= 0 if in the grammar we had A->E and B->E
@naseer_alam57
@naseer_alam57 3 жыл бұрын
@@arijitchatterjee928 both have same meaning either m>0,n>0 or m>=1,n>=1 Because here m and n both are integers...
@kartikamashal6408
@kartikamashal6408 4 жыл бұрын
Sir in example 1 Step 2 you substituted the value of "aA" And again in step 3 but by you didnt substituted in step 4 even its having "aA"
@dinesh.p8642
@dinesh.p8642 3 жыл бұрын
we can take any production rule and use them. But in the end, u need to derive a string by follwoing prodcution rules. Instrutor tookl it coz it is allowed to take. U can try other rules and apply them.
@pranavnyavanandi9710
@pranavnyavanandi9710 2 жыл бұрын
Don't focus too much on that example right now. It is not regular grammar.
@amulyaarun6617
@amulyaarun6617 7 жыл бұрын
best learning tutorial channel
@souvikbanerjee9728
@souvikbanerjee9728 6 жыл бұрын
last problem- m>=1,n>=1
@mahmoodal-bunni9293
@mahmoodal-bunni9293 2 жыл бұрын
Crystal clear. Well done. Thanks.
@peacewalker8030
@peacewalker8030 2 жыл бұрын
Correct me if I am wrong But in Example - 3 it should be m >= 1 & n >= 1
@jr.shivendra4271
@jr.shivendra4271 6 жыл бұрын
In example-1 the grammer is "regular grammer".. so language generated by it would be regular language. Here language generated is of type (a^n b^n).which we have already proved irregular by "pumping lemma"....what you say about it ....?????
@ChristianBurnsShafer
@ChristianBurnsShafer 6 жыл бұрын
The techniques used here are not specific to regular grammars.
@jr.shivendra4271
@jr.shivendra4271 6 жыл бұрын
Yeah.... Later I realise that..
@swathinr4286
@swathinr4286 5 жыл бұрын
Thank you so much. It's been really helpful for students.
@Ansari_Zubair
@Ansari_Zubair 5 жыл бұрын
In example 1 why did not put tha value of aA instead of A in line 3, Is Answer correct,i think it should be (a**3+n)(b**2+n)..
@edutech8909
@edutech8909 Жыл бұрын
Thank you sir! God bless you.
@paolocatalbas630
@paolocatalbas630 6 ай бұрын
In G1, why did you execute "aA" twice?
@stjgeeks4713
@stjgeeks4713 2 жыл бұрын
9:17 I think it would be m>=1 and n>=1
@raj-nq8ke
@raj-nq8ke 3 жыл бұрын
At last >= symbol should be replaced by > as string can't be null by production rule.
@theindianpaladin
@theindianpaladin 2 жыл бұрын
Thank you. I was struggling with grammar. All doubts cleared
@Aditya-kumar-129
@Aditya-kumar-129 3 жыл бұрын
In the last example A small correction m>=1, n>=1
@shravankumarbolisetty3236
@shravankumarbolisetty3236 5 жыл бұрын
In Ex-3 it should be m>0&n>0.
@manoramahajare1493
@manoramahajare1493 4 ай бұрын
Nice explanation 😇😇
@ElifArslan-l9g
@ElifArslan-l9g Жыл бұрын
thank you
@poojithak3796
@poojithak3796 5 жыл бұрын
Thank you so much sir .
@vishalkumar-ln8kf
@vishalkumar-ln8kf 2 жыл бұрын
at 9:19 m and n will not be greater and equal to 0 but m and n will be greater than or equal to 1...i.e m>=1 and n>=1
@PetBuddies
@PetBuddies 2 жыл бұрын
Yes, you are right, I was going to write in the comment section about this matter, But you already wrote it. this is really important. Can the channel please review and add a comment and pin it to the top, so that in future people may learn the accurate one
@harshitsharma5647
@harshitsharma5647 4 жыл бұрын
Thankyou very much Sir for this series 🙂🙂
@athukutti
@athukutti 4 жыл бұрын
m>0 and n>0 if it >=0 there will be a power like a^0 and Which will be 1 anyway superb class
@vicodevv
@vicodevv 2 жыл бұрын
God bless you!
@taylorenglish6237
@taylorenglish6237 3 жыл бұрын
Thank you so much. You helped this become so clear to me.
@miracleozioma1476
@miracleozioma1476 Жыл бұрын
Thanks a lot 🙌
@merkelwave1654
@merkelwave1654 2 жыл бұрын
thanks again King!
@adityatyagi898
@adityatyagi898 3 жыл бұрын
At 9:15 there should be n>0, m>0
@fifyfarisha9851
@fifyfarisha9851 4 жыл бұрын
Thanks for the video sir! I immediately understand your lectures. I have a question. What if it contain S-> SAB | (lamda). What do i do with S?
@supersakib62
@supersakib62 Жыл бұрын
CLear CUt EXplanation.. Thanks a lot
@rajamurthysraj9636
@rajamurthysraj9636 5 жыл бұрын
Thanks a lot sir......its so helpful to me......
@akshintalaakshith4921
@akshintalaakshith4921 3 жыл бұрын
For the last example in the video m>=1 and n>=1
@brilliazz
@brilliazz 3 жыл бұрын
Thank you sir
@AhamedKabeer-wn1jb
@AhamedKabeer-wn1jb 4 жыл бұрын
THank you Sir..
@garogarabed6196
@garogarabed6196 4 жыл бұрын
Amazing video man!! Thanks a lot!
@kishorkumarkhadka5877
@kishorkumarkhadka5877 7 жыл бұрын
Could we not generalize L(G3) as {a^+ b^+ } ? . a^+ and b^+ meaning the positive closure of a and b respectively .
@ChristianBurnsShafer
@ChristianBurnsShafer 6 жыл бұрын
The generalization you have given is correct.
@pranavnyavanandi9710
@pranavnyavanandi9710 2 жыл бұрын
It's called Kleene Plus operator.
@pragatisahu5047
@pragatisahu5047 6 жыл бұрын
Great explanation.
@deanwalker3956
@deanwalker3956 5 жыл бұрын
Thank you.
@m.naveedakram5488
@m.naveedakram5488 5 жыл бұрын
great work sir
@gowrivinaykamalakars7818
@gowrivinaykamalakars7818 2 жыл бұрын
In example 3: m>=1 and n>=1
@bishalsen1049
@bishalsen1049 6 жыл бұрын
How in L(3) = (a^m ,b^n | m>=0 , n>=0) I thought it would be L(3)= (a^m, b^n | m>0 , n>0)
@ChristianBurnsShafer
@ChristianBurnsShafer 6 жыл бұрын
Yes, there is an error in the video as many other comments have already made clear.
@siriousllyy
@siriousllyy 4 жыл бұрын
Thank u sooooo much
@mohamadtabbakh9887
@mohamadtabbakh9887 7 ай бұрын
General question: What's the difference between a regular expression and a regular language summary?
@AMANSINGH-mj7lf
@AMANSINGH-mj7lf 6 жыл бұрын
m n should be >=1
@denvermaloba71
@denvermaloba71 3 жыл бұрын
Thanks man
@ashutoshranjan4644
@ashutoshranjan4644 2 жыл бұрын
Is sir correct at the last example? Value of m and n should be greater than 1 or 0
@gurpremsingh
@gurpremsingh 3 жыл бұрын
In the first example why did we stop substituting 'aA' for 'aaAb', why perform 'A->∈' after substituting only 2 times?
@emperorcleon89
@emperorcleon89 3 жыл бұрын
I think you can repeat many times you want as long as the 'aA' exist and you can also end it anytime using 'A->e'. its up to you
@sampathkavala6976
@sampathkavala6976 3 жыл бұрын
In L(G3),m,n>=1 should be there instead of m,n>=0
@gauthamganesh2331
@gauthamganesh2331 2 жыл бұрын
thank you!
@karmilahanum183
@karmilahanum183 4 жыл бұрын
good explaination!!!!
@vincenzopalazzo173
@vincenzopalazzo173 4 жыл бұрын
Thanks!
@wissalboulf699
@wissalboulf699 9 ай бұрын
Thank you so mat ch
@1839_RAVISHANKARSUMAN
@1839_RAVISHANKARSUMAN Жыл бұрын
There's a slight mistake at 9:25 I guess, it should have been { where m>=1 and n>=1 } and not 0
@jesselcherian4370
@jesselcherian4370 2 жыл бұрын
Sir is there any notes or pdfs of the topics?
@ProfessionalTycoons
@ProfessionalTycoons 6 жыл бұрын
very good video.
@joyjitpatra
@joyjitpatra 4 жыл бұрын
In example 1 the result we got is in the form a^nb^n..But we know this language can't be accepted by Finite Automata...I'm confused..Plz explain...
@jayparekh7598
@jayparekh7598 4 жыл бұрын
Yeah bro you are right.
@jayparekh7598
@jayparekh7598 4 жыл бұрын
If you got answer then tell me i am also confused.at this.
@jayparekh7598
@jayparekh7598 4 жыл бұрын
Dude in the G1 it is not the regular grammar because it is not follows rule of neither Left Linear Gramar nor Right Linear Grammar.so generated language can be irregular.i got answer just now😂😂
@prantobhoumik6586
@prantobhoumik6586 4 жыл бұрын
no.1 example is not regular...as it gives a->E (efcynol) ,regular language doesnot generate empty symbol for any input. in regular it only gives non terminal or terminal symbol as output belongs to - (V U T) set
@wrestlingkingdom1531
@wrestlingkingdom1531 5 жыл бұрын
sir how can we generate production rules if its not given in the question itself can you explain please
@umamanikantaikkurthi
@umamanikantaikkurthi 2 ай бұрын
9:20 i think m>=1 , n>= 1
@samarthtandale9121
@samarthtandale9121 2 жыл бұрын
So, A Language is - Generated by Grammar, Represented by Regular Expression & Accepted by Automaton. This is what I have got so far ...
@shambhurajput2503
@shambhurajput2503 2 жыл бұрын
In example 3, you missed lambda for A and B as well.
@yasamindev
@yasamindev 4 жыл бұрын
thank you.
@genericpurpose7050
@genericpurpose7050 2 жыл бұрын
Thanks a lot :)
@musicandpoems4620
@musicandpoems4620 6 жыл бұрын
Can we keep on substituting aA as aab??????....
@anishNath213
@anishNath213 11 ай бұрын
Sir last one L(G3) = { a^m b^n | m>=1 and n>=1 } hoga ???
@anshgupta8860
@anshgupta8860 5 ай бұрын
yes
@voice6905
@voice6905 4 жыл бұрын
in example 3 m,n >=1
@lovestehloz
@lovestehloz 3 жыл бұрын
What playlist is this video in?
@DEV-wy8cr
@DEV-wy8cr 2 жыл бұрын
Sir, I think m>=1 and n>=1 at 9:17
@oxysam37
@oxysam37 2 жыл бұрын
sir? i think in g3, condition should be m>0,n>0.
@khushpreetsingh3797
@khushpreetsingh3797 6 жыл бұрын
Thanku really helpful
@Doubleagentaron
@Doubleagentaron 4 жыл бұрын
is g1 left linear or right linear? 3:00
@abhishektripathi6560
@abhishektripathi6560 4 жыл бұрын
right linear
@suborno9249
@suborno9249 2 жыл бұрын
In the scenario when it was aaAbb why havent you used A->€ in there??
@raht9578
@raht9578 2 жыл бұрын
it should be m>0 and n>0
@shubhrajyotipoddar1684
@shubhrajyotipoddar1684 2 жыл бұрын
correction m>=1, n>=1
@yashwanthgowda1517
@yashwanthgowda1517 Жыл бұрын
I think m and n should be greater than 1 , in the last 9:22
@kushwanthkapa2041
@kushwanthkapa2041 4 жыл бұрын
can we write example 3: a+b+ like this
@aniketsamudre4895
@aniketsamudre4895 2 жыл бұрын
m,n should be greater than 0 in example 3
@devmahad
@devmahad Жыл бұрын
Basic dry run of a grammer
@redrose9089
@redrose9089 Жыл бұрын
I have a doubt in the grammer G1 which u substitute the aA to aaAb for to steps and at the 3rd step why u substitute A->epsilon and why we subsite the A tends to epsilon in the first step of the grammer please explain
@redrose9089
@redrose9089 Жыл бұрын
And this the in finite grammer or not
@vedantmondkar9963
@vedantmondkar9963 3 жыл бұрын
Why aB and Ab can't be genereated at 4:57
@shaikhmoin849
@shaikhmoin849 3 жыл бұрын
Because we got terminal symbols and further expansion is not possible
@piratesir4450
@piratesir4450 3 ай бұрын
For getting the language We want to stop at some point not go further that's why.
@csk877
@csk877 5 ай бұрын
HOW CAN I GET NOTES
@video5083
@video5083 6 жыл бұрын
Is , for example string "aAb" a string generated from grammar in example 3, or capital "A" is not allowed to be in final string?
@ayubi3642
@ayubi3642 2 жыл бұрын
"A" is a non-terminal symbol which means it cannot be in the final string. Final strings must only have terminal symbols which are "a" and "b" in this case
@aleksjabraka8126
@aleksjabraka8126 6 жыл бұрын
why did u substitute the 2nd relation twice?
@JoydeepDasBIT
@JoydeepDasBIT 6 жыл бұрын
Its up to you. We can generate any string using any number of substitutions.
@Ansari_Zubair
@Ansari_Zubair 5 жыл бұрын
@@JoydeepDasBIT then why did not do the same at step 4 in example 1
@gowrigembali6419
@gowrigembali6419 4 жыл бұрын
@@Ansari_Zubair that is your wish bro we can complete the step onces also
@shaikhmoin849
@shaikhmoin849 3 жыл бұрын
@@JoydeepDasBIT thanks a lot bro
@mahimarnabhajra376
@mahimarnabhajra376 6 жыл бұрын
Are these examples of regular grammar or just grammar?
@ChristianBurnsShafer
@ChristianBurnsShafer 6 жыл бұрын
These are examples of how to construct a language based on a grammar. The techniques are not limited to regular grammars.
@rishabhsoni40
@rishabhsoni40 6 жыл бұрын
sir, in last you said that m,n>=0 how? they must be >=1
@Vengeance_W
@Vengeance_W 2 жыл бұрын
I think that in the last minute of the video n>0 and m>0 , not equal.
@sadiqsonalkar
@sadiqsonalkar 5 жыл бұрын
Last sum last step is hard. How come it is equal to 0. It should be greater or equal to 1 . Right??? 🙄🙄
@mohmmadalishaikh2149
@mohmmadalishaikh2149 3 жыл бұрын
yes i also have same doubt
@liliasade7069
@liliasade7069 4 жыл бұрын
Sir Please can you help me to find a language generated by this grammars
@kevinjeanmichel3824
@kevinjeanmichel3824 6 жыл бұрын
what about m+n=2k+1 with k,m,n>=0 ? some idea please
@ProfessionalTycoons
@ProfessionalTycoons 6 жыл бұрын
can L(G2) be also empty string?
@josipcuric8767
@josipcuric8767 Жыл бұрын
No. Non of the productions are of the form X -> ε
@a_05_abhinandasar40
@a_05_abhinandasar40 5 жыл бұрын
in g3 grammar : m,n>=1
@ritikharshe1898
@ritikharshe1898 4 жыл бұрын
Yes i think so
@aditisharma6755
@aditisharma6755 7 жыл бұрын
Sir, in example 3, why m,n=0? a and b to the power will give null and null is not accepted in the language.
@elsyfernandes9821
@elsyfernandes9821 7 жыл бұрын
hey.. even i felt the same.. Can you explain me if you have understood ?
@UtkarshTyagi
@UtkarshTyagi 6 жыл бұрын
or m>0,n>0
@supriya3209
@supriya3209 7 жыл бұрын
thankyouuuu
@gayatriparikh578
@gayatriparikh578 Жыл бұрын
Sir in question 3 how we get infinite string
@davidokeke5339
@davidokeke5339 7 ай бұрын
I think 🤔 it's a recursive process , substituting A-> aA instead of a will continue to give aA until u decide to leave it as a single symbol a
@continnum_radhe-radhe
@continnum_radhe-radhe Жыл бұрын
❤❤❤
Context Free Grammar & Context Free Language
7:52
Neso Academy
Рет қаралды 1,3 МЛН
Derivation Tree (Left & Right Derivation Trees)
12:33
Neso Academy
Рет қаралды 980 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 21 МЛН
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 35 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Pumping Lemma (For Regular Languages)
8:08
Neso Academy
Рет қаралды 1,3 МЛН
Theory of Computation: Construction of CFG - Examples
21:18
Anita R
Рет қаралды 313 М.
Elementary School in China
9:08
MindYourDecisions
Рет қаралды 10 М.
Regular Grammar
10:14
Neso Academy
Рет қаралды 836 М.
Pumping Lemma (For Regular Languages) | Example 1
14:16
Neso Academy
Рет қаралды 1,2 МЛН
Context-Free Grammars (CFGs): 5 Easy Examples
19:03
Easy Theory
Рет қаралды 54 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 21 МЛН