Construct a dfa in 8 or fewer states

Assignment Help Theory of Computation
Reference no: EM132989060

JFLAP Programming

Just leave empty string as A, and don't change to E. Setup: Download and Append username to folder.
• Download the folder (with test files)
• Unzip it
• You will need Java 8.
• Run jflap7_1.jar with Java from the unzipped directory.
Java -jar jflap7_1.jar
• Click on Finite Automaton

Problem 1: Construct a DFA that recognizes any number of 01, followed by 10s, without ow 010 is not in the language recognized by the DFA)
• Testing: Some test strings have been created: Click Input->Multiple Run ,
o Load Inputs (at bottom)
o Select the pitest.bct file
o You will have to have an initial state to test.
o First 3 accept
o Last 5 reject
o Add a blank input symbol (cursor on last, blank line and press enter for empty sl should accept when you run again.
• When you're satisfied with your DFA, save it as pl<username>.jff.

Problem 2: Construct a DFA in 8 or fewer states, i.e. I'm fine if you delete unreachable state the product construction of two DFAs - one that recognizes an odd number of is and one that recognizes a binary number with a leading 0 and ending 1.
• There is a corresponding test file p2test.txt .
• When you're satisfied with your DFA, save it as p2<username>.jff.
• First 4 should accept, the second 5 reject.

Problem 3: Construct a DFA that recognizes strings without 010 as a substring or is just 01 repeatedly; empty string should be accepted.
• There is a corresponding test file p3test.txt
• When you're satisfied with your DFA, save it as p3<username>.jff.
• First 4 should accept, the second 4 reject.

Problem 4: Construct a DFA to recognize unsigned binary strings evenly divisible by 7.
• You may accept empty string (it won't be tested).
• Leading zeros have no meaning, such as octal, e.g. (0101 and 0000101 are both the numt
• The last five should accept, all previous reject.
• When you're satisfied with your DFA, save it as p4<username>.jff.

Problem 5: Construct a DFA to recognize for the alphabet of just parentheses 1= {(,)}, those strini that have balanced, proper parentheses pairs, with no more than nesting depth 4, e.g. you don't hay( recognize ((((())))) as being in the language (you should reject), but you do have to recognize (((()))) or ((0)((()))((())))•
• You may accept empty string (it won't be tested).
• The first 5 should accept but the last 6 should reject.
• When you're satisfied with your DFA, save it as p5<username>jff.
• Once you're done, ask yourself what's interesting about this, do you think?

Problem 6: Construct a DFA recognizing the concatenation of any number of 01 and/or 011, zero or rt copies of each in any order.
• First 4 should accept, the second 4 reject.
• Empty string should accept.
• When you're satisfied with your DFA, save it as p6<username>.jff.

Problem 7: Construct a DFA recognizing the concatenation of any number of 01, 110, and/or 011 or more copies of each in any order (the copies may be interleaved, look at the tests).
• First 4 should accept, the second 4 reject.
• Empty string should accept.
• When you're satisfied with your DFA, save it as p7<username>.jff.

Reference no: EM132989060

Questions Cloud

What is the national emergencies act : Provide information on how this move was viewed by the major political parties (Republican and Democrat) at the time the emergency was declared.
Digital forensics : There are many tools available to the examiner when it comes to digital forensics.
Should president have extra powers in a time of emergency : Should the president have extra powers in a time of emergency? Throughout American history, presidents have faced emergencies that would require swift.
Determine the machine second-year depreciation : During its second year, the machine produces 32,500 units of product. Determine the machine's second-year depreciation and year end book value
Construct a dfa in 8 or fewer states : Construct a DFA that recognizes any number of 01, followed by 10s, without ow 010 is not in the language recognized by the DFA)
What are some possible stressors that might encounter : What was your reaction to the questions? Were you prepared for the level of difficulty of the questions? Was it stressful? Were you surprised by anything?
What is the percentage of change in productivity : Question - A retail store had sales of $45000 in April and $56000 in May. What is the percentage of change in productivity
Independent research on process of business intelligence : Conduct some independent research on the process of business intelligence.
Was a difference in how the recession impacted minorities : Was there a difference in how the recession impacted minorities? The great recession forced many families to alter their way of living.

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