Build a deterministic pushdown automata

Assignment Help Theory of Computation
Reference no: EM133124117

CSC 420 Theory of Computation - University of Tabuk

Question 1: Give DFAs for the following languages over the alphabet is Σ = {a, b}

1) The language L(RE = b*a(ab)*b).

2) The language {w ∈ Σ* | w starts with ab}.

Question 2:

Convert the following CFG into an equivalent CFG in Chomsky Normal Form (CNF) over the

Σ = {a, b}.

S → aS |bbX

X → aaX| bY | ε

Y → aX

Question 3:

Consider the following CFG over {0,1}:
S → 0S | 0X
X → 11X | ε

1) What is the regular expression (RE) accepted by this CFG?

2) Show that whether this CFG is ambiguous or not:

3) Show that whether the word "01111" is accepted or not by this CFG:

4) Convert this CFG into PDA.

Question 4: Consider the following language:

L1 = L(re=0100*)

a) Build a deterministic pushdown automata (PDA) that recognizes this language L1 over the Σ = {0, 1}.

b) Build a Turing Machine(TM) that recognizes this language L1 over the Σ = {0, 1}.

Reference no: EM133124117

Questions Cloud

Licensing requirements for employees and employers : Outline 2 methods to update and maintain information on relevant laws and licensing requirements for employees and employers.
What is the volume required to breakeven : Longhorn Clinic currently provides 1,000 visits per year at a price of $40 per visit. What is the volume required to breakeven
Effective interest rate of investment : 1) The effective interest rate of investment is 10.04% per annum. Convert this to a nominal rate, compounded quarterly.
Process for developing information security program : Describe the primary goals and process for developing an information security program in your organization or an organization with which you are familiar.
Build a deterministic pushdown automata : What is the regular expression (RE) accepted by this CFG - Build a deterministic pushdown automata (PDA) that recognizes this language
Find the solution that gives the maximum profit : A plastic parts supplier produces two types of plastic parts used for electronics. Type 1 requires 1 hour of labor and 2 hours of machine time.
Organization about cloud computing : Find the details of the project and pick any one of the organization about Cloud Computing. Discuss challenges the organization had that limited profitability
How wages are determined : Labor markets are an important concept to understand in terms of how wages are determined. Explain how COVID has impacted wages in our economy.
Journalize the entries to record the transactions : Journalize the entries to record transactions. Refer to the Chart of Accounts for exact wording of account titles. Assume 360-day year when calculating interest

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