What are the formal descriptions of the DFAs

Assignment Help Theory of Computation
Reference no: EM132230288

Computability, Automata, and Formal Languages Assignment -

1. What are the formal descriptions of the following DFAs?

2461_figure.png

2. For the DFAs M1 and M2 shown above, what are L(M1) and L(M2)?

3. Define the langauge A by

A = {vw | v contains at least one 1, and w contains at least 2 symbols}.

Prove that is regular by constructing a DFA that recognizes it. That is, construct a DFA M3 and then prove that every string in A is recognized by M3 and that every string recognized by M3 is in A. (Formally: show that A ⊆ L(M3) and L(M3) ⊆ A).

4. Recall that for a string w, wR is the reverse of that string (see Sipser, Ch. 0, "Strings and Languages"). For a language A, define AR to be the language composed of the reverses of each string in A, or AR := {wR | w ∈ A}. Show that if A is regular, AR is regular.

5. Let B be a language, and define DELETE1(B) to be the language containing all strings that can be obtained by removing exactly one symbol from a string in B. That is,

DELETE1(B) = {xz | xyz ∈ B where x, z ∈ Σ* and y ∈ Σ}.

Show that the class of regular languages is closed under the DELETE1 operation.

6. Let A/B = {w | wx ∈ A for some x ∈ B}. Informally, think of B as a set of suffixes. A/B is the language consisting of all strings that can be constructed by removing suffixes from strings in A (where the suffixes are drawn from B). So if A = {flowing, snowed} and B = {ing, ed} then A/B = {flowing, snowed, flow, snow}

(a) Why are flowing and snowed in A/B in the example shown above?

(b) Show that if A is regular and B is any language, A/B is regular.

Reference no: EM132230288

Questions Cloud

Same language may still miscommunicate : How it is that people from different countries who speak the same language may still miscommunicate.
Can you help me with three nonverbal differences : Can you help me with three nonverbal differences that one might encounter if one is transferred to manage a company in Rio de Janeiro, Brazil.
Analyze financial statements by applying data analytics : Financial Management FIN 512 - Abu dhabi university - Analyze the financial statements by applying data analytics and evaluate the financial performance
Differences have on business relationships : Can someone explain some of the differences in information systems in other countries and the effect those differences have on business relationships
What are the formal descriptions of the DFAs : CS 5700 Computability, Automata, and Formal Languages Assignment - What are the formal descriptions of the following DFAs
Firms practice price discrimination : How do pharmaceutical and airline firms practice price discrimination.
What new information did you learn about elder : Elderly abuse is largely held as one of the most under-recognized phenomena in the aging field. What are your thoughts on why this is?
How can you develop these leadership skills : How can you develop these leadership skills in your staff?
Examine the practicality of the terror management theory : Selecting a recent terror event, one occurring with the last five (5) years, examine the practicality of the terror management theory (TMT).

Reviews

len2230288

2/8/2019 9:09:30 PM

Instructions: Provide the answers in pdf. Submission requirements: 5% extra credit if you submit digital, typed writeups in PDF format to the “Homework 2 Writeup” 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