Properties of Context Free Languages Hindi

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 Articles

NP Complete Problem in Hindi

NP-Complete problems เคเค• เคฎเคนเคคเฅเคตเคชเฅ‚เคฐเฅเคฃ เคตเคฐเฅเค— เคนเฅˆเค‚ เคœเฅ‹ computational complexity the...

Read More โ†’

Multihead Turing Machine เค”เคฐ Multidimensional Turing Machine เค•เฅ€ เคตเคฟเคถเฅ‡เคทเคคเคพเคเค เค”เคฐ เค…เค‚เคคเคฐ

Multihead Turing Machine เคเค• เคชเฅเคฐเค•เคพเคฐ เค•เฅ€ Turing Machine เคนเฅˆ เคœเคฟเคธเคฎเฅ‡เค‚ เคเค• เคธเฅ‡ เค…เ...

Read More โ†’

Universal Turing Machine and Multitape in Hindi

Universal Turing Machine (UTM) เคเค• เคเคธเฅ€ เคŸเฅเคฏเฅ‚เคฐเคฟเค‚เค— เคฎเคถเฅ€เคจ เคนเฅˆ, เคœเฅ‹ เค•เคฟเคธเฅ€ เคญ...

Read More โ†’

Techniques for Turing Machine Construction in Hindi

Turing Machine เค•เค‚เคชเฅเคฏเฅ‚เคŸเคฐ เคตเคฟเคœเฅเคžเคพเคจ เคฎเฅ‡เค‚ เคเค• theoretical model เคนเฅˆ, เคœเฅ‹ เค•เค...

Read More โ†’

Petri Net Model in Hindi | Theory of Computation (TOC) Explained

Petri Net เคเค• mathematical model เคนเฅˆ เคœเฅ‹ systems เค•เฅ‡ behavior เค•เฅ‹ graphically represent เค•เคฐเคจเฅ‡ เ...

Read More โ†’