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

  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