Identify type of grammar (Chomsky: type 0, type 1, type 2, type 3) in theory of computation

  Рет қаралды 68,747

CSE concepts with Parinita

CSE concepts with Parinita

Күн бұрын

Пікірлер: 121
@c.d.premkumar6867
@c.d.premkumar6867 2 жыл бұрын
EXCELLENT. I've never seen any video so far that explains identification of types of grammar so very clearly along with examples.
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@kastotonight1693
@kastotonight1693 Күн бұрын
you are an absolute life savior for real, i have an exam tommorow and u don't know how your explanation really saved me ❤
@CSEconceptswithParinita
@CSEconceptswithParinita Күн бұрын
I'm always happy to help..... Wishing you all the best for your upcoming exam 😊
@wickedotaku5793
@wickedotaku5793 5 жыл бұрын
You're the best , the explanation couldn't be any better ,got every single points you taught in this video easily ,tysm Mam
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thank you for your pleasing acknowledgement 😊
@floki1105
@floki1105 4 жыл бұрын
Finally someone without using fancy words to confuse people Good video👍
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for acknowledging 😊
@sunnytiwari3321
@sunnytiwari3321 5 жыл бұрын
Thank you very very... Concept is totally clear..
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Glad to know that :)
@40.50
@40.50 2 жыл бұрын
mam, tell me one thing that in Type 3: You said that V->VT*|T* or V->T*V|T* means right side can produce list of terminals at right side of the grammer, then why you said the X->abc is not Type 3 at 9:21, why you declare that X->abc is not type 3???
@manaswarke7764
@manaswarke7764 9 ай бұрын
Excellent!! I totally understood this concept as well! As it's in my exam day after tomorrow
@CSEconceptswithParinita
@CSEconceptswithParinita 9 ай бұрын
All the best for your exam. Please share the videos with your classmates too if you found it helpful ✨
@joshuasunday3147
@joshuasunday3147 Жыл бұрын
Best explanation on this concept so far!! Thank you
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Thanks for acknowledging 😊
@SanjaySingh-ud5ju
@SanjaySingh-ud5ju 4 жыл бұрын
This is one of the best explanations that I came across 👌👌👌👌
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for acknowledging 😊
@rrahulrroyr
@rrahulrroyr 5 жыл бұрын
So clearly explained ... Thank you
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
My pleasure 😊
@saraswatibalotiya
@saraswatibalotiya 4 жыл бұрын
Tysm ma'am .I understood every concept cleary by seeing your video
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
My pleasure! If you really found the video helpful, please share it with your friends too✌😊
@RadheshVayeda
@RadheshVayeda 5 жыл бұрын
Simple and awesome explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for the acknowledgement 😊
@mhamadnazm7588
@mhamadnazm7588 5 жыл бұрын
Very nice explained thank you
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Completely my pleasure 😊
@jasmelle3543
@jasmelle3543 4 жыл бұрын
thanks you so much you saved my life
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
My pleasure 😊 Keep learning, keep sharing ✌
@ilmakhan1946
@ilmakhan1946 Ай бұрын
Amazing lacture
@CSEconceptswithParinita
@CSEconceptswithParinita Ай бұрын
Keep learning, keep supporting ✨
@sayantaniguha8519
@sayantaniguha8519 3 жыл бұрын
10:58 - Can u explain that with an example ? You didn't mention anything like that in the aforesaid rules ..
@aditisen3918
@aditisen3918 4 жыл бұрын
Thank you for the clear explanation!
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
My pleasure 😊
@prettylittlelife3735
@prettylittlelife3735 Ай бұрын
finally i found it. Thank you so much
@CSEconceptswithParinita
@CSEconceptswithParinita Ай бұрын
Happy to help ✨
@ongolupushparani6350
@ongolupushparani6350 3 жыл бұрын
explanation is very clearly thank u so much mam
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
My pleasure 😊 Keep learning, keep supporting ✌
@samitkhanal1737
@samitkhanal1737 4 жыл бұрын
thanks for such a awesome explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
You're welcome. Keep learning, keep sharing ✌😊
@samitkhanal1737
@samitkhanal1737 4 жыл бұрын
@@CSEconceptswithParinita S->AB this will be TYPE 3 OR TYPE 2 (i think type 2 not sure about this question ..help me) A->Ca B->Ba B->Cb B->b C->cb C->b
@niveditahajra9325
@niveditahajra9325 4 жыл бұрын
Lovely explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Thanks for acknowledging 😊
@shubhampandey1775
@shubhampandey1775 3 ай бұрын
Awesome Explanation
@CSEconceptswithParinita
@CSEconceptswithParinita 3 ай бұрын
Glad you liked it. Keep learning, keep supporting ✨
@harshshukla9589
@harshshukla9589 3 жыл бұрын
Thanku so much mam, for clearing most of my doubts 😊
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
My pleasure 😊 Keep learning, keep supporting ✌
@rabindranathhajra168
@rabindranathhajra168 5 жыл бұрын
Very nice examples e
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for the acknowledgement 😊
@francescodefulgentiis907
@francescodefulgentiis907 2 жыл бұрын
this was exactly what i was looking for, tysm
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌️ 😊
@naturing571
@naturing571 2 жыл бұрын
Great sister Keep up the good work
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Keep learning, keep sharing ✌ 😊
@nasimfatima6598
@nasimfatima6598 4 жыл бұрын
Thanks alot ❤️💖👍
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
My pleasure 😊 Keep learning, keep supporting 💯
@dimplesgirl2050
@dimplesgirl2050 5 жыл бұрын
Very cool 😍😍
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks 😊☺️
@dimplesgirl2050
@dimplesgirl2050 5 жыл бұрын
@@CSEconceptswithParinita never mind honey 😍
@dimplesgirl2050
@dimplesgirl2050 5 жыл бұрын
Miss Can i talk to you on facebook
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
@@dimplesgirl2050 yes, you can ping me there
@dimplesgirl2050
@dimplesgirl2050 5 жыл бұрын
@@CSEconceptswithParinita what's the name of Ur Facebook
@niveditahajra9325
@niveditahajra9325 5 жыл бұрын
Well explained
@CSEconceptswithParinita
@CSEconceptswithParinita 5 жыл бұрын
Thanks for your feedback 😊
@radicalgames9256
@radicalgames9256 Жыл бұрын
Must type 3 grammars have only one terminal or one terminal and one variable? Or can they have for example two terminals and one variable? Like S -> aaB
@zakariaboucetta
@zakariaboucetta Жыл бұрын
In type 3 the right side should have : Vt Vn (one non terminal & one terminal) Or Vn Vt (same as first but reversed the order) or Vt (one terminal). This is the only 3 cases for type 3 grammar.
@odim_1936
@odim_1936 10 ай бұрын
What about epsilon​@@zakariaboucetta
@zakariaboucetta
@zakariaboucetta 10 ай бұрын
depends if you count that epsilon a terminal or not , u should ask ur professor about it , in my uni in algeria (third world) professor cosider it a terminal so its considered as type 3 grammar (case of Vn --> epsilon) @@odim_1936
@shaileshkumarsingh6983
@shaileshkumarsingh6983 8 ай бұрын
i have one doubt , clearly as you have mentioned , for the first example that we need to check the first variable that it is a terminal or nonterminal , and in the given example the first equation S ---> AcaB , this one does not seems to be type 1 , other below equations are right and matches the condition to be in type 1 , but i am not sure about the first equation , because here that S is a variable , and it is giving a sequence of terminals and non terminals (AcaB) so it wont fall under type 1 , please clarify my doubt
@reelswala-fo8bg
@reelswala-fo8bg Ай бұрын
excellent mam
@CSEconceptswithParinita
@CSEconceptswithParinita Ай бұрын
Keep learning, keep supporting ✨
@sweetygangane4551
@sweetygangane4551 2 жыл бұрын
For checking we have to check from type 3 because type 3 automatically type 0,1,2 -----✓✓✓✓✓✓
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
Right
@pujadebnath7514
@pujadebnath7514 Жыл бұрын
Duniya ghum k ayee samajh mein nahi ayee.. apki video 1 hi dekh k aa gayee..
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Haha, happy to help you 😄
@naveensrivastava5977
@naveensrivastava5977 Жыл бұрын
very nice video
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Thanks for acknowledging 😊
@c.danielpremkumar8495
@c.danielpremkumar8495 3 жыл бұрын
Excellent !
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Keep learning, keep sharing ✌ 😊
@nitnelavspetorials
@nitnelavspetorials 2 жыл бұрын
I have these rules: X -> xXY | xyz yY -> yyz zY -> Yz Explain me why is this of type 0 pleaseee
@p8051a
@p8051a 2 жыл бұрын
I would say this is type 1 not type 0..
@nitnelavspetorials
@nitnelavspetorials 2 жыл бұрын
@@p8051a Explain your judgement please
@p8051a
@p8051a 2 жыл бұрын
@@nitnelavspetorials X -> xXY | xyz : not type 3 as it produces >1 terminal characters as explained in the video so this is type 2 (and type 1 of course) yY -> yyz : has a terminal on the left side so type 1 zY -> Yz : also has a terminal on the left side so also type 1 so we have type 2, type 1 and type 1 again so the grammar is type 1. I don't see any reason for this to be type 0, correct me if I'm wrong.
@nitnelavspetorials
@nitnelavspetorials 2 жыл бұрын
@@p8051a well, according to my curriculum and the answer I chose at my exam, G = xXY | xyz, yY -> yyz, zY -> Yz}, X> is of type 0. The rules presented in the video are a bit different from what we've been taught... Though, my teacher marked my answer as correct (which was of type 0). This is the judgement I made: Every Grammar is of type 0 by default, but that is the general case. We are trying to find the most specific type of the Grammar we have. So, despite Grammar 3 being 0 as well, we would say it's 3 of type. Grammars are defined by N (alphabet of nonterminals), Sigma (alphabet of terminals), P (grammar's alphabet - aka the rules), and S (starting symbol). G = . In order for a grammar to be of a certain type, all of its rules (grammar's alphabet P) must meet the conditions of the type (if two of three rules satisfy grammar 3 type, but the other doesn't, then it won't be of type 3). The thing with Grammar type 1 we've been taught: they should be dependant on context (αAβ → αγβ), A transcribed with γ ≠ λ in context α .. β (monoton |A| ≤ |γ|) or S → λ if S ⊄ αγβ (just a bunch or random characters which didn't mean too much at first to me, but seeing the example might clear it). yY -> yyz ~~~ we can write that as λyYλ -> λyyzλ, where λ is the empty string. If we do that, then we can check the condition of Type 1 (α = λy, A = Y, γ = yz and β = λ) and it's respected. zY -> Yz ~~~ we can't write that as λzYλ -> λYzλ. When we try to do the same thing as in the previous example, then we get something A = Y. But then we can't make it of form αAβ → αγβ. If we try to do that, then (α A β → α γ β) == (λz Y λ → λ Y zλ) ---- here is the problem with type 1. alpha must be the same to the left and to the right and also beta. A == Y, but λz != λ (alpha != alpha) and λ != zλ (beta != beta). So, it must be of type 0. Idk if I did a 100% great explanation, but the idea is that in the video there has been thaught a thing and at univiersities a different one. I'd stick with the one at university tho
@p8051a
@p8051a 2 жыл бұрын
@@nitnelavspetorials I replied based on the rules stated in this video. What you say makes a lot of sense, I think I've made a simplistic approach; yours is more more elaborate yet also practical since I didn't bother to actually construct a string based on the rules. I think you're right!Thanks for clarifying:)
@alex-dn9to
@alex-dn9to 3 жыл бұрын
i will now get an A on my test... fine :)
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Glad to know that 😊
@sadiaazam4255
@sadiaazam4255 2 жыл бұрын
i have a confusion in 2nd example it have both small and capital on RHS so how it can be type 2
@joshuasunday3147
@joshuasunday3147 Жыл бұрын
The only restriction for type 2 is that A must contain only one variable
@akhilpratapsingh3223
@akhilpratapsingh3223 2 жыл бұрын
Mam in second example X->a......and a is terminal....so how it is type 2 grammar because condition of type 2 grammar is alpha belongs to variable?
@slowdown_
@slowdown_ 2 жыл бұрын
because alpha belongs to variable, it is type 2. you basically answered it yourself
@BulbulTheMeow
@BulbulTheMeow 4 жыл бұрын
Mam in ex. 1 S->ACaB is of type 2 isn't it? Then why dont we consider this point also? The rest 3 I understand, are of type 1 but this comes under type 2 Please correct Me if I'm wrong Eagerly waiting thank you in adv.
@KamalHussain-mk9cu
@KamalHussain-mk9cu 4 жыл бұрын
thank u mam
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Keep learning, keep supporting 🤝✨
@top5amharic467
@top5amharic467 3 жыл бұрын
i wish you ware my teacher
@CSEconceptswithParinita
@CSEconceptswithParinita 3 жыл бұрын
Haha thanks
@hema697
@hema697 4 жыл бұрын
Tq mam
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
You're welcome 😊
@seemapatil4547
@seemapatil4547 4 жыл бұрын
Best
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
Keep learning, keep sharing 😊
@ElifArslan-l9g
@ElifArslan-l9g 2 жыл бұрын
thank you
@CSEconceptswithParinita
@CSEconceptswithParinita 2 жыл бұрын
You're welcome
@shamithrao6792
@shamithrao6792 4 жыл бұрын
X- aS,bS,cS,E what type??
@shamithrao6792
@shamithrao6792 4 жыл бұрын
Please help
@ShubhamRajput-li3qm
@ShubhamRajput-li3qm 4 жыл бұрын
@@shamithrao6792 X->type 3,type 3,type 3,type2
@samitkhanal1737
@samitkhanal1737 4 жыл бұрын
S->AB this will be TYPE 3 OR TYPE 2 (i think type 2 not sure about this question ..help me) A->Ca B->Ba B->Cb B->b C->cb C->b
@shamithrao6792
@shamithrao6792 4 жыл бұрын
Type 3 bro
@ShubhamRajput-li3qm
@ShubhamRajput-li3qm 4 жыл бұрын
@@shamithrao6792 I think it's type 2 bro.
@jasmelle3543
@jasmelle3543 4 жыл бұрын
type 2
@hemanthkumarvaddipalli5
@hemanthkumarvaddipalli5 10 ай бұрын
it is type 3
@henoktademe1491
@henoktademe1491 7 ай бұрын
❤❤❤
@Ammanlifestylevlog
@Ammanlifestylevlog 8 ай бұрын
Goood
@CSEconceptswithParinita
@CSEconceptswithParinita 8 ай бұрын
Keep learning, keep supporting ✨
@rock20711
@rock20711 Жыл бұрын
maaaaaaaaaaaaaaaaaaaaaaaaaaaaaaany thanks
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
You're welcome 😁 Keep learning, keep sharing!
@madar1
@madar1 Жыл бұрын
GR8
@CSEconceptswithParinita
@CSEconceptswithParinita Жыл бұрын
Keep learning, keep supporting 😊
@GlyGlue
@GlyGlue 3 жыл бұрын
That's a type 0 grammar
@KhanKhan-z1c8o
@KhanKhan-z1c8o Жыл бұрын
Kash aap apki face ki video k sath zamjhati to me apko yaad krke apke ques.. solve krleta
@aryanmadhukar6729
@aryanmadhukar6729 8 ай бұрын
first wala type zero hae
@dhanushsivajaya1356
@dhanushsivajaya1356 4 жыл бұрын
Thankyou maam
@CSEconceptswithParinita
@CSEconceptswithParinita 4 жыл бұрын
You're welcome😊 Keep learning, keep sharing✌
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
2.18 Types of Grammar and Chomsky Hierarchy  ||TOC|| FLAT
14:38
t v nagaraju Technical
Рет қаралды 47 М.
Chomsky Hierarchy - Computerphile
6:57
Computerphile
Рет қаралды 241 М.
Lec-5: What is Grammar in TOC | Must Watch
11:08
Gate Smashers
Рет қаралды 1 МЛН
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,5 МЛН
What's Your ENGLISH LEVEL? Take This Test!
21:31
Brian Wiles
Рет қаралды 3,9 МЛН
Chomsky Classification of Grammar || GATECSE || TOC
26:13
THE GATEHUB
Рет қаралды 150 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 45 М.