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

  Can validation and verification methods be found that tiein

Can validation and verification methods be found that tiein with the requirements definition process

  Many programs require the use of an input

Many programs require the use of an input mechanism to get data into the program and an output mechanism to present results and guidance.

  Write grammar for language consisting of strings

Write a grammar for the language consisting of strings that have n copies of the letter a followed by same number of copies of the letter b, where n>0

  Construct and dfa or lr items for grammar

Consider the following grammar: S S (S) | ε. Construct and DFA or LR(0) items for this grammar. Construct SLR(1) parsing table.

  Create a program that makes an object

Create a class named Pet, after creating the class, create a program that makes an object of the class and prompts the user to enter the name, type, and age of his pet.

  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.

  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.

  Explanation of turing machine

Devise a Turing machine with input given in unary notation such that the equipments produces the following output, 0 if x is divisible by 4,

  Farmers friend for their customer support systems

Create the two main documents that model the current processes at Farmers Friend for their Customer Support Systems (CSS).

  Implement finite state machine to recognze input string

Write implememnt finite state machine which recognzes input string according to following rules. First character should be either letter(upper or lower case.)

  Explain declarative knowledge and procedural knowledge

Write some examples of declarative knowledge. Write some examples of procedural knowledge. Then, compare examples, highlighting the similarities & differences.

  What ambiguity exists in the statement

Suppose f is a function that returns the result of reversing the string of symbols given as its input, and g. What ambiguity exists in the statement x?

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