In this turing machine number of a that equal to the number of b and c .pda cannot do this because in pda only one comparision is possible using st…
Read moreRegular expression (b(a+b)*) accept by dfa C code #include<stdio.h> #include<string.h> int dfa=0; char item; void trasition0(char c) { …
Read moreDfa that accept regular expression (a*b) C code String accepted by language ={b,ab,aab,aaab,aaaab..................} #include<stdio.h> #inclu…
Read moreDfa that accept a regular expression (a+ ) C code Regular expression=a+ String accepted by regular expression ={a,aa,aaa,aaaa,aaaaa,aaaaaa,aaaaa…
Read moreDfa that accept a regular expression (aa*b ) C code Regular expression=aa*b String accepted by regular expression ={ab,aab,aaab,aaaab,aaaaab....…
Read moreDfa that accepts string on {0,1} if and only if the value of string interpreted as a binary representation of an integer is divisible by 2 C code. …
Read more2PDA that accept a language {L=a^nb^nc^n where n>0}C code L=a^nb^nc^n String accepted by this language is =[abc,aabbcc,aaabbbccc,aaaabbbbcccc...…
Read morePushdown automata(pda) that accept a language a^nb^2n(L=a^nb^2n where n>0) c code L={a^nb^2n where n>0} String accept by language ={abb,aabb…
Read morePushdownautomata(PDA) that accept a language L={WcW^r)where W={a,b} C code String accepted by language L={WcW^r)where W={a,b} ={abcba,aca,bca,bcb,b…
Read morePushdown automata(PDA) that accept language L={a^nb^m|n,m>0 and n!=m} String accepted by language ={abbb,aaab,aaaab,aaab........................…
Read moreC code of DFA that accept a string that end with 1. #include<stdio.h> #include<string.h> int dfa=0; void trasition0(char c) { if(c==…
Read moreC code of DFA that accept a string that have start with 1. #include<stdio.h> #include<string.h> int dfa=0; void trasition0(char c) { i…
Read moreDeterministic finite automata(DFA) simulation in C code C code of DFA that accept a string that have consecutive 11 as substring. #include<stdio…
Read moreDeterministic finite automata(DFA) simulation in C code C code of DFA that accept a string that have atleast one 1 . #include<stdio.h> #includ…
Read moreRice Theorem in Theory of computation Any non-trivial property of the language recognizable by a turing machine is undecidable. Property of a langu…
Read moreModification of Turing Machine Simple Turing machine has recognization and computability capability.Simple turing machine use read and write tape i…
Read moreDecidability and Undecidability Decidability It is also known as solvability and tractable problems.if problem have a solution then this is solvabl…
Read moreNormal form for CFG Restrict the right hand side of the production rules in different manner this result into different normal form.if CFG and prod…
Read morePost Correspondance Problem Post Correspondance Problem is a combinatorial problem formulated by Emil Post in 1946. A correspondance system P is a fi…
Read moreChomsky Hierarchy Noam Chomsky has classified all grammars in four categories Type 0.(phrase structured grammars). Type 1.(Context sensitive gramma…
Read moreCopyright (c) 2021 NS All Right Reseved
Social Plugin