Construct finite automata and push down automata

Assignment Help Theory of Computation
Reference no: EM131719011

Part -1:

1. Construct finite automata, push down automata, Turing machines and regular expressions that models different types of languages.

2. Design various models of computation.

Question 1:

Give DFA's accepting the following languages over the alphabet {0,1}:

i. The set of all strings beginning with a 1 that, when interpreted as a binary integer, is a multiple of 5. For example, strings 101, 1010, and 1111 are in the language; 0, 100, and 111 are not.

ii. The set of all strings that, when interpreted in reverse as a binary integer, is divisible by 5. Examples of strings in the language are 0, 10011, 1001100, and 0101

iii. The set of all strings such that each block of five consecutive symbols contains at least two 0's.

iv. The set of all strings whose tenth symbol from the right end is a 1.

Question 2:

Informally describe the languages accepted by those following DFA's with transition tables (English words or sentence)

2210_matrix.jpg

Note:
- All students should submit individual assignment.
- Copied assignments will not be marked.
- Late assignments will have negative markings.

Part -2:

Design various models of computation.

Question 1:

1. Prove that the followinglanguage are not regular Languages. Justify your answer by using pumping lemma for regular languages.
i. L = {0n 1 0n | n>0}.

ii. L = {0n 12n | n>=1}.

Question 2:

i. Design context-free grammars for the language that contain the set {aibjck |i≠j or j≠k} that is the set of strings of a's followed by b's followed by c's, such that there are either a different number of a's and b's or a different number b's and c's, or both.

ii. The following grammar generates the language of regular expression 0*1(0+1)*:
S → A1B
A → 0A |?
B → 0B |1B|?
Give leftmost and rightmost derivations of the following strings:
a) 00101.
b) 1001.
c) 00011.

Reference no: EM131719011

Questions Cloud

Analyze the complexities of the intergovernmental relations : Explain and analyze the complexities of the intergovernmental relations associated with public policy formulation and implementation in the United States.
Theme park often to ride the thriller diller roller coaster : Mimi took her granddaughter to Roller Coaster World theme park often to ride the Thriller Diller roller coaster.
Discuss making possible influences in a persons life : What role do you see gender, sexual orientation, race, and/or ethnicity playing in society and making possible influences in a person's life
Issue on hrm practices in the workplace : Assess the ethical ramifications of the issue on HRM practices in the workplace?
Construct finite automata and push down automata : Construct finite automata, push down automata, Turing machines and regular expressions that models different types of languages - Design various models
What entry would concord make to record the sale : Concord Company has an old factory machine that cost $56,750. What entry would Concord make to record the sale of the machine for $28,375 cash
How does my conclusion address the complexities of the issue : How does my conclusion address the complexities of the issue? What is another interpretation or viewpoint of the issue?
Consultant to assist in implementing new it system : Edgar, an independent contractor, was hired by ABC Enterprises, Inc. (ABC) as a consultant to assist ABC in implementing a new IT system.
Describe the similarities of leadership styles : Read It's Our Ship", by D. Michael Abrashoff, and "Epictetus", and describe the similarities of leadership styles.

Reviews

len1719011

11/13/2017 12:18:25 AM

Give DFA's accepting the following languages over the alphabet {0,1}: i. The set of all strings beginning with a 1 that, when interpreted as a binary integer, is a multiple of 5. For example, strings 101, 1010, and 1111 are in the language; 0, 100, and 111 are not.

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