List the closure properties

Assignment Help Theory of Computation
Reference no: EM131929260

Question 1) Make an NPDA to accept L = {w|w ∈ {a,b}* and w contains an equal number of a's and b's}.

Question 2) List the closure properties of LCF.

Question 3) True or False:

i) __LREG = LNPDA (i.e., the set of languages accepted by nondeterministic pushdown automata is the regular languages.)

ii) __Given an arbitrary context-free language L, it is possible to make a deterministic Turing machine to accept L.

iii) __LDTM = LREC (i.e., the set of languages accepted by Turing machines is the decidable languages.)

iv) __LNFA ⊃ LDFA (i.e, the set of languages accepted by deterministic finite automata is a proper subset of the languages accepted by nondeterministic finite automata.)

v) LDFDA = LCF (i.e, the set of languages accepted by deterministic pushdown automata is the context-free languages.)

Question 4) Given the following grammar in GNF, make an NPDA to accept the same language.
S -> aXA | bXB | λ
A -> a
B -> b
X -> aXA | bXB |a|b

Question 5) Make a DTM to reverse the input word. Assume the input word is a binary string, that the start of the tape is marked by ⊥, and that the end of the input is marked by the symbol Ω.

Question 6) Prove that the language L = {aPbqcr |p < q < r} is not context-free.

Hint: You will need to use two values of i.

Reference no: EM131929260

Questions Cloud

Compute the net income under variable costing for each year : In 2012, the first year of operations, Cutting Edge produced 25,000 units and sold 20,000 units. Compute the net income under variable costing for each year
Discuss about the avoiding teratogens : Discuss avoiding teratogens (before and during pregnancy for father and mother) and why it is essential for the birth of a healthy baby.
Ordinary people of society : The Realists were dedicated to justice for the working class, the ordinary people of society. Courbet was actually imprisoned as a result of his involvement
Prepare a balance sheet for Beta Industries : Based on the unadjusted trial balance and the additional date, prepare a balance sheet for Beta Industries, Inc., dated December 31, 2009
List the closure properties : Given the following grammar in GNF, make an NPDA to accept the same language - Prove that the language is not context-free
Understanding of primary research : Explain how Primary and Secondary Research Review and Synthesis increased your understanding of primary research?
Find in modern life distortions : The novelist with Christian concerns will find in modern life distortions which are repugnant to him, and his problem will be to make them appear
What is the maximum profit and loss for this position : What is the maximum profit and loss for this position?
Context diagram for a standard washing machine : Draw a context diagram for a standard washing machine. Make sure to identify all of the external entities and label all of the interactions.

Reviews

Write a Review

Theory of Computation Questions & Answers

  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

  Convert this english statement into logic statement

Translate the subsequent English statement in terms of L(x; y), P(x; y), quantiers and logical connectives.

  Construct an finite automata that accepts all binary strings

Construct an FA (finite automata) that accepts all binary strings with an even number of 0's and the number of 1's is a multiple of 3.Provide the answer of given question and also give details.

  Construct a weak-failure model

Construct a weak-failure model of the circuit using PROPOSITIONAL LOGIC, that is a model that allows for faulty components. Explain each formula and its role in the model.

  1 we all have a picture of a dream job in our heads some

1. we all have a picture of a dream job in our heads. some of us might even be lucky enough to be working in their

  Find input common-mode range and the range allowed for vo

A particular design of the two-stage CMOS operational amplifier of Fig. utilizes ±1-V power supplies. All transistors are operated at overdrive voltages of 0.2-V magnitude. The process technology provides devices with Vtn = / tp/ = 0.4 V. Find the..

  What is the average number of customers in the barber shop

Assume customers arrive at the rate of 10 per hour and stay an average of 0.5 hour what is the average number of customers in the barber shop?

  Explain proof of rice-s theorem for infinite language

If you perform reduction in proof of Rice's theorem for special case of property P: "infinite language", does this reduction also show that language P L = { | N is Turing machine.

  Definition of the set spic of pictures

Consider an app that draws "suit" pictures. The simplest pictures one can draw are ♣ and ♠. Give the inductive definition of the set SPic of pictures

  Prove the pumping lemma

One important technique used to prove that certain sets are not regular is the pumping lemma. The pumping lemma states that if M = (S, I, f, s0,F).

  The challenges of antonios wayfive basic goals often

the challenges of antonios wayfive basic goals often referred to as the backbone of antonios way were posted in

  Prove that the languages are not regular

Prove that the subsequent languages are not regular using the pumping lemma. Use 'N' as the pumping lemma constant, to differentiate from the lowercase n used in parts a and b.

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