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

  Analysis and formal reasoning about complex concepts

COMP30026 Models of Computation Assignment, The University of Melbourne, Australia. To develop skills in analysis and formal reasoning about complex concepts

  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.

  Find a context free grammar

A palindrome is a string that reads the same backward as it does forward, that is, a string w, where w = wR, where wR is the reversal of the string w.

  Formulate the corresponding demand allocation problem

Extend the CPL model to the case of demand varying over the planning horizon. Assume that, once opened, a facility cannot be closed.

  Make a state table of a moore machine

Given the state table of a Moore machine and an input string, produce the output string generated by the machine.

  Prepare an annotated outline of the final project briefly

prepare an annotated outline of the final project briefly indicating the content you plan to include in each section of

  Find a nondeterministic finite-state automaton

Find a nondeterministic finite-state automaton that recognizes each of the languages in Exercise, and has fewer states, if possible, than the deterministic.

  Prove the given proposition using proof contradiction

Prove the given proposition using Proof Contradiction.

  Create standard 1-tape turing machine to calculate function

Create a standard 1-tape Turing machine M to calculate the function sub3. Specifically, calculate sub3 of a natural number represented in binary.

  Finite-state machine design

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

  Find the square roots of the matrix

Compute Ak and eAt using the Cayley - Hamilton theorem. Find the square roots of the matrix, i.e., find all matrices B such that B2 = A using the Cayley - Hamilton theorem method.

  Why every nonempty propositional clause itself satisfiable

Describe why every nonempty propositional clause, by itself, is satisfiable. Prove rigorously that every set of five 3-SAT clause is satisfiable, given that each clause mentions exactly three distinct variables.

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