Theory of ComputationTU Board 2080
Write regular expression over a,b that represents a) Strings having exactly two a's and atleast two b's. b) Strings having an even number of a's and each a followed by at least one b.
5Write regular expression over {a,b} that represents
a) Strings having exactly two a's and atleast two b's.
b) Strings having an even number of a's and each a followed by at least one b.
A worked answer is on its wayMeanwhile, read the Theory of Computation notes for this topic.
Discussion
Loading…
More Theory of Computation questions
List the applications of Pumping Lemma. Minimize the following DFA using the Table Filling Algorithm [figure in the original paper]TU Board 208210Define yield in parse tree with example. Convert the following grammar to CNF: aligned S & ASB \\ A & 0AS 0\\ B & SIS A alignedTU Board 208210Distinguish between multi tape and multi track Turing Machine. Design a TM that accepts a string over the alphabet =\a,b\ , such that L=\a^n b^n n 0\ .TU Board 208210Why do we need asymptotic notation? Discuss about alphabet and power of alphabet.TU Board 20825Define ambiguous grammar. How do you use parse tree to show the ambiguity of a grammar?TU Board 20825Given the non deterministic Turing machine, TM = (q0, q1, q2, qf, 0, 1, 0, 1, B, δ, q0, B, qf) with the following transition rules, describe the language…TU Board 20825