Provide state diagram of dfas recognizing the languages

Assignment Help Theory of Computation
Reference no: EM13693765

Question 1: Provide state diagram of DFAs recognizing the subsequent languages (the alphabet is {0,1}):

a) L1 = the set of all strings that start with 0 and have odd length

b) L2 = the set of all strings that start with 1 and have even length

c) L3 = the set of all strings that end with 1 and have even number of 1s

d) L1 U L2

e) L1 U L3

f) The set of all strings such that every occurrence of 0 is followed by at least two 1s, e.g.,

0111, 01101111011111, 1110111 are in this language, but 0101 is not.

g) The set of all strings that does not contain substring 101.

Question 2: Give nondeterministic finite automata accepting the set of strings of 0's and 1's such that there are two 0's separated by a number of positions that is a multiple of 3. (Note: 0 is an allowable multiple of 3). Try to take advantage of non determinism as much as possible.

I'm not sure how to solve these questions. Can anyone help me?

Reference no: EM13693765

Questions Cloud

How many ml of hcl solution are needed to neutralize : Problem- 10 mL of 0.50 M NH3 is titrated with 0.20 M HCl solution. How many mL of HCl solution are needed to neutralize the solution
Define amount of hcl to change the ph by one unit : Problem- With three buffers with three different pH's (5,6, and 4), why is it that each buffer would need a different amount of NaOH to change the pH by one unit? Why is it that each buffer would require a different amount of HCL to change the pH ..
Define the operations using peano arithmetic : Write five tests for each using numbers larger than 100 and verify using natZint and intZnat that your numbers work the same way as the usual natural numbers.
What is the relationship if any between solution color : What is the relationship if any between solution color and visible light interaction. can solution color be predicted from Abs max or Trans max colors. give examples.
Provide state diagram of dfas recognizing the languages : Give nondeterministic finite automata accepting the set of strings of 0's and 1's such that there are two 0's separated by a number of positions that is a multiple of 3.
The centrifuge tube after acetone extraction fizzes : Problem- The white solidt hat remains in the centrifuge tube after acetone extraction fizzes when hydrochloric acid is added, suggesting the sodium carbonate is present. How did this substance form
64-bit architecture : How would you design software to do this (Use a maximum of one to two paragraphs of 5-7 sentences each)?
Number of permutation of elements of a : Prove that the number of subsets of elements in A is less than the number of permutation of elements of A
Two numbers in 8 bit twos complement : Two numbers in 8 bit two's complement do not have inverses? That is, they cannot be negated by taking the two's complement.

Reviews

Write a Review

Theory of Computation Questions & Answers

  Extend the ac scanner

A floatdcl can be represented as either f or float, allowing a more Java-like syntax for declarations - a intdcl can be represented as eitheri or int.

  Recent research has shown that a job and a competitive

recent research has shown that a job and a competitive remuneration package are not sufficient for attracting competent

  Explaining syntactically legal boolean expression

In this problem, we consider a very restricted subset of Boolean expressions. Define an operator to be one of  the four symbols: ¬, ∧, ∨, and →. Define a variable to be one of the five symbols

  Hr ethics are important to organizations as they can have

hr ethics are important to organizations as they can have legal and moral implications. in this assignment you will

  Pto policies have become good tools for hr staff to use in

pto policies have become good tools for hr staff to use in terms of organizational incentives.while reviewing the

  Modify the syntax of a programming language

Sometimes it is necessary to modify the syntax of a programming language. This is done by changing the CFG that the language uses. What changes would have to be made to ac's CFG (Figure) to implement the following changes?

  The latest entry into the snack food industry

The latest entry into the snack food industry is a health-conscious offering named Hooks, Wheels, and Ladders. Each box mixes several flavors, such as ranch, cheddar, and salsa. The snack is designed to appeal to kids based on the snack shapes

  Write a job description for each member of a three-person

write a job description for each member of a three-person virtual team tasked to improve company morale the virtual

  Explain proof of rice-s theorem for infinite language

If you perform reduction in proof of Rice's theorem for special case of property P: "infinite language", does this reduction also show that language P L = { | N is Turing machine.

  A music store owner wants to have enough

A music store owner wants to have enough of the hottest CDs in stock so people who come to buy a particular CD won't be disappointed - and the store won't lose the profit. CDs that are not sold within a certain length of time go onto the sale tabl..

  Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

  Create a finite-state machine design to turn your fpga

create a finite-state machine design to turn your fpga development board into a simple programmable music box. the

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