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

  Design the framework for your project

Design the framework for your project and draw the structure by using UML. The designed framework should include the following requirements

  Construct the SLR parsing table for grammar

Construct the SLR parsing table for grammar. This will require you to compute the Follow sets for the nonterminals E, T, and F, as well as the item sets.

  Create a program in any language that simulates a dfa

Create a program in any language that simulates a DFA that will accept a string 011(representation of 3 in binary) and reject everything else.

  Discuss the parallel performance of the lu factorization

Discuss the parallel performance of the LU factorization routine and the triangular solver routines. Comment on the observed performance and the possible reasons for the observations.

  Q1 consider a computer system with a single processor with

q.1. consider a computer system with a single processor with a single core. there are two processes to run in the

  Task a create a complete job description for the benefits

task a create a complete job description for the benefits manager position using onet. raquoto design a pay structure

  Devise a scheme for converting hexadecimal directly

Convert to hexadecimal: 1457.1110.Round to two digits past the hexadecimal point. Convert to hexadecimal: 1457.1110. Round to two digits past the hexadecimal point. Convert your answer to binary, and then to octal.

  What is the focal length of the lens

If the speed of the gas relative to the rocket is 40m/s, and the mass of rocket is 4 kg, what is the initial acceleration of the rocket and what is the focal length of the lens when it is completely immersed in water of RI 4/3?

  What is the complexity

A javascript program to demonstrate computational complexity. Using the wikipedia article; a computer program that calculates the number of moves necessary to solve Tower of Hanoi given a number of disks. Calculated by going through the recursive ..

  Describe applications of the internet of things in the field

COIT 20246 - ICT services management-Central Queensland University-Australia-Describe applications of the Internet of things in the field of Smart Farming.

  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

  Prove using the pumping lemma and closure properties

Prove using the pumping lemma and closure properties that the languages below are not regular. You can use the game argument provided in class.

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