Cs476 automata theory and formal languages

Assignment Help Theory of Computation
Reference no: EM13301382

Questions

1. State whether the following statements are true or not. You must give a BRIEF explanation or show a counter example to receive full credit.

(a)  If a language L is decidable then the language L is also decidable.

(b)  Every deterministic Turing machine (DTM) has an equivalent nondeterministic Turing ma­chine.

(c)  There exists a polynomial-time reduction from Boolean Satisfiability Problem (SAT) to Subset Sum Problem (SS).

(d)  If a problem P is NP-complete then the language induced by problem P is undecidable.

2. (20pts) Give a Turing Machine that decides language L = {wln : l'ild = n, w E {0, 1}1.

3. (30pts) Disprove (by reduction) or prove that the following languages are decidable.

(a) L = {(A) : A is a DFA and L(A) = L'(A)} where L' (A) = {7.1) : w E L(A)}

(b) L = {(A, S) : A is a TM and L(A) C S}

(c)  L = {(M1, M2) : M1 and M2 are TMs such that M1 accepts (M2) and M2 accepts (M1)}

4. (30pts) Number 3 is a lucky number (this is the reason why you have 3 assignments). So, we have two problems (both are related with number "3"): 3-SET-PARTITION and 3-GRAPH-PARTITION. Prove that they are NP-Complete.

(a)     3-SET-PARTITION: Let A, B, C be three finite, disjoint sets and let T be a subset of A x B x C. That is, T consists of triples (a, b, c) such that a E A, b E B and c E C. Given A, B, C, T and an integer k, the 3-SET-PARTITION problem decides whether there is a subset M of T (i.e., M C T), such that I* > k and for any two distinct triples (ai, b1, ci) E M and (a2, b2, c2) E M, we have al a2, bi b2 and ci c2.

(b)     3-GRAPH-PARTITION: Given an undirected graph G = (V, E), the 3-GRAPH-PARTITION problem decides whether the vertex set V can be partitioned into three disjoint subsets 3/4_, V2 and V3, such that for any two vertices va E V and vb E V, if (va, vb) E E, then va and vb cannot be placed into the same partition Vi, i E {1, 2, 3}.

Reference no: EM13301382

Questions Cloud

Describe what is the molar mass of the acid : A 0.481 gram sample of an unknown acid (HX) required 28.95 mL of 0.2013 M NaOH for neutralization to a phenolphthalein endpoint. What is the molar mass of the acid
What is the amplitude of the sum of these waves : Sketch a sinusoidal wave with an amplitude of 1 cm and a wavelength of 7 cm. What is the amplitude of the sum of these waves
Evaluate the following as true or false and explain : Suppose there is a tax cut, holding constant government purchases and all other factors affecting the AD curve. Illustrate the short run effects on output and the price level and LABEL them.
What is the difference in the effective annual rates : What is the difference in the effective annual rates (EFF%) charged by the two banks?
Cs476 automata theory and formal languages : CS476: Automata Theory and Formal Languages, State whether the following statements are true or not. You must give a BRIEF explanation or show a counter example to receive full credit.
Explain what is the molarity of the naoh solution : In acid based titration, 33.65mL of an 0.148 M M HCL solution were required to neutralize 25.00 mL of a NaOH solution . What is the molarity of the NaOH solution
What is the magnitude of the current carried by the wire : You are holding a compass 3.50m from a long straight electrical supply wire that is carrying a direct current perpendicularly to the local direction of the Earth's magnetic field. What is the magnitude of the current carried by the wire
Explain what is the molarity of the resulting solution : If 15.0 mL of 4.5 M NaoH are diluted with water to a volume of 500.0 mL, what is the molarity of the resulting solution? Please include explanation, balanced equation, and calculations.
Pricing objective and policies : Need a two page reflection paper on Adversiting and sales promotion. Pricing Objective and Policies

Reviews

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  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).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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