Construct a dfa that recognizes languages

Assignment Help Theory of Computation
Reference no: EM13322884

1. Construct a DFA that recognizes each of the following languages. Unless otherwise noted we are assuming that ω ∈ {0,1}*. (A drawing of a state diagram is sufficient.)

(a)  {ω| the length of w is at least 4 }

(b)   {ωl ω contains the substring 0101}

(c)   { ω ∈ {3, 4}* when the characters of to are added up, their sum is divisible by seven. }

(d) The language represented by the regular expression (01 U 10)*.

2. Suppose that A is a regular language, with elements belonging to E* for some alphabet Σ*. Show that the following languages are also regular:

(a) A' = {ω ∈ Σ*|ω ∈ A}.

(b) AR = {ωR ∈ Σ*| ω ∈ A}. Where ωR represents the reverse of ω, i.e. if ω = ω1ω2......wn then ωR = ωnωn-1.......ω1.

(c) A= {ω ∈ Σ*| ω = x1x2x3......xkyk where x1x2........xkyk where x1x2........xk ∈ A y1y2 ........yk ∈ A and each xi, yi ∈ Σ

3. Suppose A is a regular language and let B be any language. Show that the following language is also regular A/B = {ω|ωx A for some x ∈ B}.

Reference no: EM13322884

Questions Cloud

How many kilojoules of heat were absorbed : An ice bag containing 212g of ice at 0 °C was used to treat sore muscles. When the bag was removed, the ice had melted and the liquid water had a temperature of 32.5°C.How many kilojoules of heat were absorbed?
Produce the result as the user instructed on the screen : Produce the result as the user instructed on the screen with appropriate messages.
An environmental science class : An ENVIRONMENTAL SCIENCE CLASS
How many mosquitos are required : The random noise level of a buzzing mosquito is 32dB and that heard in a typical classroom is 71dB. How many mosquitos are required to make a noise level equivalent to that heard ina typical classroom
Construct a dfa that recognizes languages : Construct a DFA that recognizes each of the following languages. Unless otherwise noted we are assuming that ω ∈ {0,1}*. (A drawing of a state diagram is sufficient.)
Write the program with at least two functions to solve : Write the program with at least two functions to solve the following problem.
Find the w what temperature : A bottle containing 1 kg of water (18.01g/mol) is boiled until evaporation is complete. Find w, q, U, H for the process. Hvap = 40.6kJ/mol. My question is when we find the w what temperature we use (room temperature or 100 C)
Compute the energy of a mole of a photon : Photosynthesis uses 660 nm light to convert carbon dioxide and water into gluclose and oxygen. calculate the energy of a mole of a photon
Design an application that declares three phonecalls : Design an application that declares three PhoneCalls. Set the length of one PhoneCall to 10 minutes, another to 11 minutes, and allow the third object to use the defaut value supplied by the constructor. Then, display each PhoneCall's value.

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