What is the GNFA that results from ripping state

Assignment Help Theory of Computation
Reference no: EM132239472

Computability, Automata, and Formal Languages Assignment -

Background on GNFAs:

A GNFA (generalized NFA) is an NFA that has the following properties (you can read more about these in Section 1.4 of the Sipser book):

(a) Each transition is labeled with a regular expression, not just a single symbol

(b) The initial state qinitial has no transitions leading to it

(c) There is only one final state qaccept.

(d) qaccept has no transitions leaving it.

(e) Let q be a state other than qaccept, and let q' be a state other than qinitial. Then there is a transition from q to q'.

GNFAs are an important part of proving that for every regular language, some regular expression describes it.

Assignment -

1. Use the given procedure to find a regular expression that describes the language of M2 from the previous homework, depicted below.

1888_figure.png

(a) Construct a GNFA (call it N0) for this machine following rules (a)-(e) above. That is, add a new initial state, a new accept state, and connect all intermediate states to one another with transitions labeled with regular expressions. Your GNFA should have 5 states, and each state (other than the accept state) should have 4 outgoing transitions (any transition labeled with the ∅ means it's a transition that didn't exist in the original machine).

(b) What is the GNFA that results from ripping state q1 out of N0? Call this machine N1.

(c) What is the GNFA that results from ripping state q2 out of N1? Call this machine N2.

(d) What is the GNFA that results from ripping state q3 out of N2? Call this machine N3.

(e) Using N3, determine a regular expression that describes the language of the original DFA.

2. Write a regular expression describing each of the following languages, all over the alphabet {0, 1}.

(a) All even numbers represented in binary.

(b) The language of all strings satisfying this condition: if the string contains a 1, then it does not contain any 0's.

(c) The language of all strings satisfying this condition: if the string has length exactly 2, then it does not contain any 1's.

(d) Strings for which all 1's occur in pairs: that is, no 1 can be all by itself, and 111 is never a substring.

3. Suppose that A is regular and B is not regular. Is it possible for A ∪ B to be regular? (if it is possible, show an example - otherwise, prove that it is not possible using the pumping lemma or any other technique).

4. Suppose that A is regular and B is not regular. Is it possible for A o B to be regular? (if it is possible, show an example - otherwise, prove that it is not possible using the pumping lemma or any other technique).

5. Show that {www | w ∈ {0, 1}*} is not regular (you may use the pumping lemma or any other technique).

Attachment:- Assignment File.rar

Reference no: EM132239472

Questions Cloud

Explain the defenses to the action in given problem : Explain the defenses to the action and if the union employees have valid claims. What actions by the employer should have been done differently, if at all?
Which form of budget allows changes to be made : Accessing budgetary information. Which form of budget allows changes to be made?
Will communication to internal and external stakeholders : Will communication to internal and external stakeholders help improve the organization strategies?
What types of populations would be most inclined to use : What types of populations and diagnostic mental health categories would be most inclined to use REBT and behavioral theories?
What is the GNFA that results from ripping state : CS 5700 Computability, Automata, and Formal Languages Assignment, University of Colorado Colorado Springs, USA. What is the GNFA that results from ripping state
Implement of the affordable care act : Why is reimbursement vital to the hospital budget due to the implement of the Affordable Care Act?
Major concern in an industry or public service : Identify and discuss the key corporate social responsibility issues which are of major concern in an industry or public service organization of your choice.
Define the term conspicuous consumption : Thorstein Veblen used the terms "conspicuous consumption" and "conspicuous leisure" when discussing how people demonstrate their wealth.
Key performance measure of tqm success : Why is emphasis on the customer so critical for quality? Why is customer satisfaction called the key performance measure of TQM success?

Reviews

len2239472

2/21/2019 8:53:38 PM

Submission requirements: 5% extra credit if you submit digital, typed writeups in PDF format to the “Homework 3Writeup" assignment on the Canvas site. However, you may also turn in handwritten assignments in class - but assignments submitted in person (or handwritten, scanned, and submitted on Canvas) will not receive the 5% extra credit.

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