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

  Complete a haskell function derivative

Improve and consolidate your understanding of regular and context-free languages, finite-state and pushdown automata. To develop skills in analysis and formal

  Create a method that perform a division operation

Create a method that will perform a division operation on the numbers passed to it in two variables and outputs the results. Use a try catch pair to output an error message if the illegal operation of divide through zero occurs.

  How to search for that data and has the ability to read

How to search for that data and has the ability to read, understand, and interpret it - how the proper and relevant information can be found.

  Explin each of quality issues are not met in your sis page

This question covers Sections 1 and 2 of Block 1. It assesses your understanding of various concepts covered in those sections and your ability to relate those concepts together. Data quality issues are described in section 2.3 of Block 1. Briefly ex..

  Show the memory snapshot of the each statement

Give a memory snapshot each statement is executed. Assuming that x is equal to 4 and that y is equal to 6 before the statement is executed. Also, assume that all the variables are integers.

  Succession planning is an important od intervention and

succession planning is an important od intervention and business sector succession planning-sometimes called workforce

  Define the set of regular expressions over a set i

Explain how regular expressions are used to represent regular sets.

  Prove the inference rules for functional dependencies

A proof should be made by using the reflexive, augmentation, transitive, decomposition, union, and pseudotransitive rules.

  Discus the properties of the regular grammar

Construct a regular grammar G = (V , T , S, P ) that generates the language recognized by the given finite-state machine.

  Front end and back end processes of office automation

Discuss the difference between the front end and back-end processes of office automation? Provide some examples in your workplace or that you come into contact with?

  How many memory cells does a i-gigabyte memory contain

How many memory cells does a 4-Kbyte memory contain? How many memory cells does a I-gigabyte memory contain?

  Write an equation for the variable x

A being the most significant bit, the data lines can represent the numbers o to 12710.The number 1310 is the command to return the print head to the beginning of a line, the number 1010 means to advance the paper by one line, and the numbers 321..

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