Professional Documents
Culture Documents
14 - Manju Ghatode - Practical - 1
14 - Manju Ghatode - Practical - 1
14 - Manju Ghatode - Practical - 1
PRACTICAL NO – 1
Theory :
1. Introduction to JFLAP :
JFLAP is software for experimenting with formal languages topics including nondeterministic
finite automata, nondeterministic pushdown automata, multi-tape Turing machines, several
types of grammars, parsing, and L-systems. In addition to constructing and testing examples
for these, JFLAP allows one to experiment with construction proofs from one form to another,
such as converting an NFA to a DFA to a minimal state DFA to a regular expression or regular
grammar.2.
2. What Is JFLAP?
JFLAP is a package of graphical tools which can be used as an aid in learning the basic
concepts of Formal Languages and Automata Theory.
Regular languages - create
• DFA
• NFA
• regular grammar
• regular expression
L-Systems
• Create L-systems
JFLAP allows users to create and operate on automata, grammars, L-systems, and regular
expressions; the term structure is used to refer to any single automaton, grammar, L-system,
or regular expression. JFLAP offers the following major groups of operations to apply to
structures:
• Explore the Language of Structures - JFLAP has the ability to simulate input strings on
nondeterministic automata, build parse tables and parse trees for grammars, and render
successive expansions of L-systems. The automata represented in JFLAP are finite
automata (FA), pushdown automata (PDA), and multitape Turing machines. The parsing
algorithms in JFLAP are brute-force parsing, LL(1) parsing, and SLR(1) parsing.
•
• Finite automata allow users to enter strings of length zero or greater. Instead, an
instructor might want to require students to enter strings of length zero or one.
• Pushdown automata can pop zero or more symbols from the stack in each transition.
An instructor might want to require students to always pop one symbol.
• Turing machine movements for the tape head are Right, Left, and Stay. An instructor
might want to require students to use only Right and Left.
6. Go to the download. Double click on JFLAG tool. And open with Java (TM ) platform SE
Binary
7. Click on finite automation.
8. You got it window below like it.
Undoer(r)-Click
anywhere in
the editor
pane after
clicking me.
(A)Attribute
editor User Interface to draw automation
(U)ndoer-Click
anywhere in the
editor pane after
clicking me
Conclusion : I have downloaded, studied JFLAP tool and its working properly.