03:17 Chomsky classification of grammar 06:34 Chomsky Classification of Grammar 09:51 Type 0 grammar is defined using 4 tuples: V, T, P, S 13:08 Chomsky classification of grammar 16:25 Chomsky classification of type 1 grammar 19:42 Representation of grammar and Chomsky Classification 22:59 Chomsky classification defines type 2 and type 3 grammar 26:13 Chomsky classification of grammars involves left linear and right linear grammars.
@almazakhtar4834 Жыл бұрын
the most underrated channel for automata🤌...simple and point to point explanation =best explanation🙏
@katw4342 жыл бұрын
pure youtube per iss subject ko aap se acha koi nhi padata aap padate ho toh sab samaj aata hai
@sumaghosh82426 ай бұрын
Gate smashers is there
@abcde9236 ай бұрын
I@@sumaghosh8242toc me ye top pe hai pura content serial wise 😊
@harshh_15733 ай бұрын
Sachhe gyan ki ekmatra pehchan hai ki aap jo chiz aapne khud samjhu hai usko dusro ko bhi smjha sako
@IronmanDon-my6fwАй бұрын
@@sumaghosh8242he has not covered all things though it's helpfull for semester exams only
@rohankhandare2967 Жыл бұрын
I've watched all other videos but this one is very crystal clear and understandable ,really helpful .keep it up sir .
@sahilanand302 жыл бұрын
Legends studying last night before exams Thanks sir 💖
@sanjeevrao75296 ай бұрын
right sir
@RohitKumar-gx5zxАй бұрын
Context-Free Languages (CFLs) are Type 2 in the Chomsky hierarchy. They sit above Regular Languages (Type 3) but below Context-Sensitive Languages (Type 1) and Recursively Enumerable Languages (Type 0). Type 3 (Regular Languages) are simpler than context-free languages and can be recognized by finite automata, which have no memory stack. Type 2 (Context-Free Languages) can be recognized by pushdown automata, which have an additional stack for memory, making them more powerful than finite automata. This allows CFLs to handle nested structures, like balanced parentheses or recursion in programming languages, which regular languages cannot. Type 1 (Context-Sensitive Languages) are more powerful than context-free languages. These languages require a more complex computational model (linear-bounded automaton), and their grammar allows rules where the left side of a production can be longer than the right side. Type 0 (Recursively Enumerable Languages) are the most powerful and can be recognized by Turing machines, which can simulate any computation. These languages encompass all others but are much more complex and less efficient to parse. Key Differences: Context-Free Languages (CFLs) can handle recursion and nested structures (e.g., matching parentheses in programming languages), but they can't handle some constructs that require context (e.g., matching an equal number of as, bs, and cs in the string "a^n b^n c^n"). Context-Sensitive Languages (CSLs) are more powerful than CFLs and can handle certain dependencies between different parts of a string that context-free grammars cannot. For example, CSLs can describe languages where the number of symbols from different sets must match (e.g., "a^n b^n c^n"). Summary of Chomsky Hierarchy: Type 3: Regular Languages (RL) Simple rules, recognized by finite automata. Example: a*, valid phone numbers. Type 2: Context-Free Languages (CFL) One non-terminal on the left side of each production rule, recognized by pushdown automata. Example: Arithmetic expressions, programming languages syntax. Type 1: Context-Sensitive Languages (CSL) Rules can have context-dependent production, recognized by linear-bounded automata. Example: Some programming languages and more complex syntactic structures. Type 0: Recursively Enumerable Languages (RE) Unrestricted grammar, recognized by Turing machines. Example: Complex natural languages and certain computations. Conclusion: Context-Free Languages are an important class of languages in the Chomsky hierarchy because they describe many of the syntactical structures in programming languages. They are more powerful than regular languages but less powerful than context-sensitive languages. Understanding where CFLs fit in the hierarchy helps in designing compilers, interpreters, and understanding the complexity of different languages.
@prabhleenkaur_2938 ай бұрын
the best channel for TOC
@tausifansari86512 жыл бұрын
Very helpful video sir. Simple way to teaching.i will waiting for more videos. Thank u so much sir.
@ninjahyper335 Жыл бұрын
Sir aab lagra hai kuch toh ukhad liya hai TOC ka nahi toh samaj hi nahi aara tha 😂❤️ Thank you so much ❤
@panvirsingh94288 ай бұрын
Best channel for toc
@technopal79693 жыл бұрын
Sir, you are the best teacher on KZbin.
@anishsingh90437 ай бұрын
G = {V,T,P,S} Type 0 : Unrestricted Grammar : Turing machine Rule : NT -> (NT+T)* Note : There should be a non terminal defining a set of terminal or non terminal a->S fail Type 1 : Context Sensitive Grammar : Linear bounded Automata Note : There should be no null production in NT->(NT+T)+ |LHS|a/e; If this is done then S should not come on the RHS at any time. Type 2 : Context Free Grammar : Push Down Automata Note : |LHS|=1 Null production is allowed anywhere Type 3 : Regular Grammar : Finite Automata Note : It should be either RLG or LFG, right/left linear grammar, it shouldnt be a combination S->aS/Sb is wrong,so it is not type 3
@fukrajvd8 ай бұрын
Wait till end you get better understanding and tackle with question❤
@omthorat49628 ай бұрын
Explained in a very easy and helpful manner 👏🏻👏🏻👏🏻
@Vlogs_23019 күн бұрын
Sab achhese samj aa gaya sir❤
@bhawarthpadwal1522 жыл бұрын
thankyou... you explained this in a simplest way!
@pavanesharya57963 жыл бұрын
You're to good man.. Thankq Sir..
@DeeptiMohapatra-x6s11 ай бұрын
Excellent teaching style
@sakshimarne6267 Жыл бұрын
I really like this video. Very well explained 😃
@quarkacademy782 жыл бұрын
sir kl paper hy apka video daykh kar pura samajh agaya.
@myknowledgehouse22824 жыл бұрын
superb video
@gokugohan59942 жыл бұрын
Nice explanation sir 👍
@anushthakumari23932 жыл бұрын
Finally understood this topic, nice video
@sonalidigar49687 ай бұрын
best video for toc
@panvirsingh94288 ай бұрын
Best playlist
@ukritik325 Жыл бұрын
Thanks for suitable explanation sir
@omnas76342 жыл бұрын
Best explanation 👍👍
@41_ZakiKhan9 ай бұрын
Thanks shoeb sir✅
@Hey_im_here Жыл бұрын
Best teacher❤
@brayanrai28802 жыл бұрын
Nice explaination sir
@manjunathmulimani6926 Жыл бұрын
Best explanation sir
@somanyamaan5010 Жыл бұрын
Good explaination
@gamersgame43 Жыл бұрын
amazing explanation
@UmerKhan-ro3dy Жыл бұрын
Best
@RajBharad2 жыл бұрын
Best vidio
@aboveallff7698 Жыл бұрын
Thanx bro❤🎉
@anitarajvanshi52882 жыл бұрын
Thank you sir 🙏
@chandravijaynagesh11172 жыл бұрын
ɢᴀᴊᴀʙ ꜱɪʀ
@Gaurav-vl6ym Жыл бұрын
thank you sir ji
@ChandanKumarSWF10 ай бұрын
thank you sir
@tanishqyadav9379 Жыл бұрын
sir aB--> AB i also Type 0
@nishantkumar1360 Жыл бұрын
Bhaishab pair kaha h aapke🙌
@subhash07092 Жыл бұрын
Y€ vT*/T* Then Y€ V, means y belongs to single variable only S-> A , is it true