Properties of Context Free Languages Hindi
Unit 2
Types of Finite Automata
Topic 9 : Properties of Context Free Languages Hindi
Union : यदि L1 और L2 दो context free languages है |तो उनके union L1 ∪ L2 भी Context Free होंगे
L1 = { anbncm | m >= 0 and n >= 0 } and L2 = { anbmcm | n >= 0 and m >= 0 }
L3 = L1 ∪ L2 = { anbncm ∪ anbmcm | n >= 0, m >= 0 } is also context free.
L1 कहता है कि a का number b के number के बराबर होनी चाहिए और L2 का कहना है कि b का Number c के number के बराबर होनी चाहिए। उनका union कहता है कि दो conditions में से कोई एक true है। तो यह Context Free languages भी है।
Concatenation :
यदि L1 और यदि L2 दो Context Free languages हैं, तो उनका concatenation L1.L2 भी Context Free होगा। उदाहरण के लिए
L1 = { anbn | n >= 0 } and L2 = { cmdm | m >= 0 }
L3 = L1.L2 = { anbncmdm | m >= 0 and n >= 0} is also context free.
L1 कहता है कि a का number b के number के बराबर होनी चाहिए और L2 का कहना है कि c number d के number के बराबर होनी चाहिए। उनका concatenation कहता है कि पहले का number b के number के बराबर होनी चाहिए, फिर C का number D के number के बराबर होनी चाहिए। तो, हम एक PDA बना सकते हैं जो पहले a के लिए push करेगा , और b के लिए POP और, d के लिए c के तत्कालीन POP के लिए push करेगा। तो यह pushdown automata द्वारा Accept किया जा सकता है, इसलिए यह context free है।
Kleene Closure :
यदि L1 context free है, तो इसका Kleene closure L1 * भी context free होगा। उदाहरण के लिए,
L1 = { anbn | n >= 0 }
L1* = { anbn | n >= 0 }* is also context free.
Intersection and complementation :
यदि L1 और यदि L2 दो context free language हैं, तो उनके intersection L1 need L2 को context free होने की आवश्यकता नहीं है। उदाहरण के लिए, L1 = {abncm | n> = 0 और m> = 0} और L2 = (ambncn | n> = 0 और m> = = 0) L3 = L1 2 L2 = {abncn | n> = 0} context free होने की आवश्यकता नहीं है। L1 कहता है कि a की संख्या b की संख्या के बराबर होनी चाहिए और L2 का कहना है कि b की संख्या c की संख्या के बराबर होनी चाहिए। उनके intersection का कहना है कि दोनों conditions को true होने की जरूरत है, लेकिन push down automata केवल दो की तुलना कर सकता है। इसलिए इसे push down automata द्वारा स्वीकार नहीं किया जा सकता है, इसलिए यह context free नहीं है। इसी प्रकार, context free language L1 का complementation जो - * - L1 है, उसे context free करने की आवश्यकता नहीं है।
Deterministic Context-free Languages
Deterministic CFL | CFL का Sub set है जिसे Deterministic PDA द्वारा मान्यता दी जा सकती है। Deterministic PDA में किसी दिए गए state और input symbol से केवल एक Move होता होता है, अर्थात, इसके पास विकल्प नहीं है। DCFL होने के लिए एक language के लिए यह स्पष्ट होना चाहिए कि PUSh या POP कब है।
Related Post
- What is Automata machine in hindi | Examples of automata machines
- Finite Automata as a language acceptor and translator | Deterministic Finite Automata (DFA) | Nondeterministic Finite Automata(NFA) in Hindi
- What is Moore machines and mealy machines in Hindi
- What is Turing machine (composite machine) in toc in hindi
- Conversion from Mealy to Moore and vice versa in Hindi
- Non Deterministic Finite Automata in Hindi (NDFA)
- Deterministic Finite Automaton in Hindi (DFA) | Deterministic Finite-State Machine (DFSM)
- Conversion of NDFA to DFA in Hindi
- Arden's Theorem in TOC in Hindi
- Minimization of DFA in Hindi (Minimization of Automata Machines)
- Regular Expression in TOC in Hindi
- Union process in DFA | What is Union process in TOC
- Intersection of Finite Automata in Hindi
- Properties of Context Free Languages Hindi
- Two-way Deterministic Finite Automaton (2DFA) in Hindi
- Types of Grammar in TOC in Hindi | Chomsky Hierarchy in Theory of Computation
- Derivation Tree in TOC in Hindi
- Ambiguity in Grammar in TOC in Hindi
- Simplification of context free grammar in Hindi
- Conversion of grammar to automata machine and vice versa in Hindi
- Chomsky normal form and Greibach normal form in hindi
- What is Pushdown Automata in TOC in Hindi
- Example of PDA in Hindi | Example of Pushdown Automata in Hindi
- Deterministic pushdown automaton And Non-Deterministic pushdown automaton in Hindi
- Conversion of PDA Into Context Free Grammar and Vice Versa | PDA in TOC in hindi | Push Down Automata in Hindi | Context Free Grammar in Hindi
- CFG equivalent to PDA in hindi | context free grammar equivalent to push down automata in hindi | toc tutorial in hindi | theory of computation in hindi
- Petri Net Model in Hindi | Theory of Computation (TOC) Explained
- Techniques for Turing Machine Construction in Hindi
- Universal Turing Machine and Multitape in Hindi
- Multihead Turing Machine और Multidimensional Turing Machine की विशेषताएँ और अंतर
- NP Complete Problem in Hindi