Give a dfa to recognize language

Assignment Help Theory of Computation
Reference no: EM133013258

Question 1 Suppose our alphabet is ∑ = {a, b}. Give a regular expression for the set of all strings with at least 3 occurrences of a. Give a DFA to recognize this language. You will be penalized for solutions that use more than 4 states.

Question 2 Show that the language consisting of as and bs appearing in any order, with the sum of number of as and the number of bs equal to a perfect power of 2 is not regular.

Question 3 Suppose that the alphabet is {a, b}.

Consider the language

L := {anbm |n = m mod 3}.

Is L regular? If so, construct a DFA to recognize it, if not, give a proof using the pumping lemma to show that it is not.

Question 4

Give an algorithm that takes as input a DFA and an NFA and decides whether the language recognized by the NFA is the language defined by the DFA. Use any algorithms covered in class as basic building blocks; i.e. you do not have to describe them

Reference no: EM133013258

Questions Cloud

Need a route optimisation for the clustering : Need a route optimisation for the clustering result file.
Determine the total fixed costs : In the month of lowest production, the company made 1,150 desks at a cost of $62,400. Using the high-low method of cost estimation, determine total fixed costs
What adjusting journal entries would you propose : Is the entity correct in classifying this as an asset? Or should this be classified as an expense? Why? (b) What adjusting journal entries would you propose
Which of the two should be chosen by the company : Assuming Project A and B are mutually exclusive projects, which of the two should be chosen by the company
Give a dfa to recognize language : Give a DFA to recognize this language. You will be penalized for solutions that use more than 4 states - decides whether the language recognized by the NFA
What is there TDS limit : Amira and Owen pay, on average, $800 towards their credit cards every month, What is there TDS limit
Calculate the amount of overhead to be applied : For 2019, the company's cost accountant estimated that the total overhead costs incurred would be $ 693,600. Calculate the amount of overhead to be applied
Problem - Budgeting and Performance Measurement : Problem - Budgeting and Performance Measurement - Briefly describe the relevance of using BSC at the Ministry of Health
Ideas about transnational practice : Share content and ideas about transnational practice that is informative for the members of the group and works to add to your professional network by asking fo

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