Use undecidability of allcfg to show problem is undecidable

Assignment Help Theory of Computation
Reference no: EM1387003

Let the following problem ALLCFG: Given CFG G, is L(G) = Σ*? This problem is undecidable. (You do not have to prove this).

(a) Is this problem in RE (class of recursively enumerable languages), in core (class of all languages whose complement is in RE), in both, or in neither? Describe your answer.

(b) Use undecidability of ALLCFG to illustrate that following problem is also undecidable: Given PDA M1 and FA M2, is L(M1) = L(M2)?

Reference no: EM1387003

Questions Cloud

Importance of monetary rewards : How does culture affect the importance of monetary rewards? Provide an example to support your position.
What theory or theories of motivation might describe change : Supporting his theory, since 2001, workers in the United States have enhancement their hours worked while tax rates have dropped. What theory or theories of motivation might describe such a change.
Examine various transfer pricing scenarios which tech sonic : Examine various transfer pricing scenarios which Tech Sonic might adopt and the likely impact of each on the Tech Sonic subsidiaries as well as the parent corporation.
Discuss which concepts are the most important : Discuss which concepts are the most important to consider when designing information security policies and procedures.
Use undecidability of allcfg to show problem is undecidable : Use undecidability of ALLCFG to illustrate that following problem is also undecidable: Given PDA M1 and FA M2, is L(M1) = L(M2)?
Illustrate what environmental factors would have the most : Illustrate what environmental factors would have the most impact on these companies? Illustrate what ratio of environmental scanning to internal analysis should each employ
Indicate the genotype and phenotype parent of and offspring : Explain a specific example of a cross between two parents, each homozygous for different traits, which would result in a phenotype that is distinct from either parental phenotype.
Length of time patron spend at the gymnasium : The manager of a local gymnasium has determined that the length of time patron spend at the gymnasium is normal distributed with mean 80minutes and standard deviation 20 minutes. What is the patrons who spend more than 120 minutes at the gymnasium..
Distinguish between a minimization and maximization lp model : Distinguish between a minimization and maximization LP model. How do you know which of these to use for any given problem?

Reviews

Write a Review

Theory of Computation Questions & Answers

  Write grammar for language comprising of strings

Write down the grammar for language comprising of strings which have n copies of letter a followed by same number of copies of letter b, where n > 0.

  If l recognized by dfa then language left half is regular

We showed to prove that if L can be identified by DFA then the language left half(L) = {x ∈ ∑*|∃y xy ∈ L and |x| = |y|} is also regular; here |x| means length of x.

  Explaining syntactically legal boolean expression

In this problem, we consider a very restricted subset of Boolean expressions. Define an operator to be one of  the four symbols: ¬, ∧, ∨, and →. Define a variable to be one of the five symbols

  Construct and dfa or lr items for grammar

Consider the following grammar: S S (S) | ε. Construct and DFA or LR(0) items for this grammar. Construct SLR(1) parsing table.

  How to express correctness properties in ltl

Express the given correctness properties in LTL. Defne propositions/variables to model the events mentioned in the question. If a parent process calls the blocking waitpid() system call then it is blocked until child process terminates.

  Deterministic finite and non-deterministic finite automata

Describe the difference between a Deterministic Finite Automata and Non-Deterministic Finite Automata. In general, which one is expected to have less number of states ?

  Use algorithm np completeness of any of the problems

Use any algorithm we without writing out details of algorithm. In proving problem NP-complete, you may utilize NP completeness of any of the problems.

  Create a mealy machine which produces the output

Create a Mealy Machine which produces the output of 1 whenever discrepancy in above pattern is detected, and produces the output of 0 otherwise. Write states meaningful names.

  Provide dfa-s accepting the languages over alphabet

Provide DFA's accepting the following languages over alphabet {0,1}. Set of all strings that, when interpreted as the binary integer, is a multiple of 5.

  Front end and back end processes of office automation

Discuss the difference between the front end and back-end processes of office automation? Provide some examples in your workplace or that you come into contact with?

  Interpreting the regular expressions as languages

Show that the following identities hold for regular expressions over any alphabet: epsilon + R*R = R*. These should be done by interpreting the regular expressions as languages.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd