Make a DTM to reverse the input word

Assignment Help Theory of Computation
Reference no: EM132093975

Questions -

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

2) List the closure properties of LCF.

closed under:

not closed under:

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) LDTNA = 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) LDPDA = LCF (i.e, the set of languages accepted by deterministic pushdown automata is the context-free languages.)

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

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

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: EM132093975

Questions Cloud

Could the main tag be in the div tag : Provide an example of how they could be used. Could the main tag be in the div tag? Could the id class be in a div?
Pros and cons of five management development techniques : Describe the pros and cons of five management development techniques. What has been your experience with any one or more of these management development
Incorporate a rationale for changes in the situation : Situation analysis. Incorporate a rationale for changes in the situation as you progressed through the simulation.
What is the cheapest for battery consumption : Vompare between passive,networks and GPS.. what is the cheapest for battery consumption and what is the most expensive?
Make a DTM to reverse the input word : Make a DTM to reverse the input word. Assume the input word is a binary string, that the start of the tape is marked
Project manager for the office of network support : You: Project Manager for the Office of Network Support, ODHS. Key PM for the E-Mail Upgrade Project.
Create mutator and accessor functions for the instance : Plase help me with the java problem Please create mutator and accessor functions for the instance variable cars.
Describe the demographics of the town of your choice : In January 2010 the small farming community of Wenden, Arizona was hit by its second 100-year flood in 10 years when heavy rains caused water flows
Make a configuration that allows members of the group : Create a configuration that allows members of the group sales read files in the directory /data/account.

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