Write a regular expression describing l

Assignment Help Computer Engineering
Reference no: EM132117178

Question For Automata and Pattern Matching

a) Describe formally the language L consisting of all binary strings that do contain the string 001 as a substring. Write L as concatenation of three languages.

b) Prove that there are infinitely many strings in L and infinitely many strings not in L.

c) Construct a DFA M such that L(M ) = L. Prove the correctness of your construction.

d) Write a regular expression describing L. Prove the correctness of your construction.

I think the answer for question a should be

L1 = {u | u ? (0,1) }.

L2 = {001 }.

L3 = {v | v ? (0,1) }.

L = L1L2L3 = { u001v | u,v ? (0,1) }.

Reference no: EM132117178

Questions Cloud

What approximate annual rate of return would : If your investment doubles in 6? 3/4 years, what approximate annual rate of return would you have? earned?
Create a default constructor that increments numstudents : Create student1 Object by calling the overloaded constructor for the student Jack Willson. Set the grades array with the values {4, 2, 3, 3}.
What price would an investor be expected to pay : If the current price of the stock is $ 17.20?, and the equity cost of capital for the company that released the shares is 6.9?%
Write an assembly program : Run your program using decimal 5 as input for x. Provide a screenshot showing the result of program execution in decimal.
Write a regular expression describing l : Write a regular expression describing L. Prove the correctness of your construction.
How is polymorphism like a switch statement : How is Polymorphism like a Switch statement? Explain what are the key characteristics of Big O.
What is the covariance between stock a and the market : Assuming a standard deviation of the market of 20%, what is the covariance between stock A and the market?
How many items you sold per month approximately : When did you start to use this system, if yes, how long have you been using this? How many Items you sold per month approximately?
Calculate the taxable income and net tax payable : TAXA3007 ELEMENTARY AUSTRALIAN TAXATION LAW CASE STUDY ASSIGNMENT - CURTIN UNIVERSITY, AUSTRALIA. Calculate the taxable income and net tax payable

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create a testrectangle class in java

An overloaded constructor that takes integer width and height arguments, uses a separate method to check whether the width and height fall within the range between 0 and 30, and throws an exception if out of range.

  Question1 why is it significant to control changes to asset

question1. why is it significant to control changes to asset baselines?2. why is the labelling process approached

  Write a function called sumto that takes as arguments

Your function should use a loop to sum all of the numbers between the two (This includes the starting and ending numbers) and return the sum.

  Describe the methods for establishing component priorities

Describe the methods for establishing component priorities, including Business functions and processes b. BIA scenarios and components c. Financial and service impact of components not being available d. Recovery time frameworks.

  How can we break the string into smaller strings

Consider the task of removing all punctuation marks from a string. How can we break the string into smaller strings that can be processed recursively?

  List the sources of variability in manufacturing

List the sources of variability in manufacturing. Why do we need tolerances? List the two types of tolerances. What does each type control?

  What are advantages of having the user be a full-time member

What are the advantages and disadvantages of having the user be a full-time member of the systems development project team?

  What advice do you have for the project manager

What advice do you have for the project manager? How likely does it seem that Pete will achieve his desired goals of being on time and within budget if nothing is done?

  How language supports interaction with external environment

Take one or two languages you have used and describe how the language supports interaction with the external environment.

  Http frame

Assume an HTTPS page links to an HTTP iframe where two are loaded from several origins. Should the browser display a warning dialog? If so describe why. If not, describe why not.

  Find a sorting method for four keys

Find a sorting method for four keys that is optimal in the sense of doing the smallest possible number of key comparisons in its worst case.

  Write a sentinel-controlled while loop that allow any number

Write a sentinel-controlled while loop that allows any number of temperatures to be entered. The average temperature should be calculated and displayed.

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