Sie sind auf Seite 1von 7

A CASE STUDY ON TEACHING TECHNIQUES FOR


AUTOMATA THEORY

SAURABH KUMAR JHA TULIKA SHIVANI VIDHI AGARWAL


18BCE0197 18BCE2409 18BCE2190

mathematical models of computation


I.ABSTRACT that mirror real-world computers. Formal
Languages and Automata (FLA) is one
Theory of computation has great significance among the core parts of
in the Computer science curriculum and plays the undergraduate Computer
an importance in field of compiler design, AI Science program however is
and so on. It encompasses concept commonly viewed as
pertaining to formal languages and the a tough subject because it demands a
computational model sufficiently powerful to robust mathematical foundation.[5]
decide each set of language.[4]In this paper, 

we highlight the difficulty faced by For university students, automata theory is
undergraduate students in understanding sometimes introduce in an abstract
various concepts of automata theory such as manner using mathematical notions. For
regular languages, Pumping Lemma, Turing kids in K-12,
machine and Grammars based on different such associate approach simply discourages
surveys.[2] Students do not find these them. Thus, the matter is a how to introduce
courses interesting and have difficulty in automata to them in a simple manner. To
grasping the different concepts. We have also handle this downside, the preceding
dealt with various techniques to facilitate studies demonstrated appropriate approache
teaching the concepts to the students in a s, most using simulations and/or games in
better way. The main aim of the proposed which automata are incorporated in an
strategies is to promote a more significant exceedingly natural approach. These findings
learning of several important FLAT topics. indicate that both Automata theory and CSE
should be introduced early to the K-12
children.[8]There are two main reasons for
KEY WORDS: the difficulties found in
courses regarding AutomataTheory. The
Theory, computation, significance, Computer primary reason is that such courses need a
science, curriculum, regular language, finite l o t
automator,Emulator,Javatoolkit,undergraduat of previous knowledge in arithmetic than othe
e,students, concepts, r courses in Computer Science. The second
difficulty ,enhancements capabilities, previous reason is that students don't have a
tools, FLAT feedback while operating with non-
interactive issues.

II.INTRODUCTION:
The difficulties may be decreased by the
The 3 basic ideas in Computer Science are employment of a
the mathematical narrative of computational toolkit, like Language Emulator, that permits s
networks, the constraints of mechanical tudents to find out Automata Theory
computation, and the formal description of interactively. It is important for college
languages. The aim of Theory of students to learn about Automata
Computation is to develop formal
theory because it forms the basis for know the ideas of Automata Theory.
several theoretical Computer The software system permits the
Science topics like algorithms, programming, manipulation of regular expressions, regular
formal languages, process complexity, model grammars, deterministic finite automata,
theory, logic circuits, and coding theory. nondeterministic finite automata with
[ Carlos I. Chesñevar, Maria P. González, Ana G. and without lambda transitions, and Moore
Maguitman. Didactic strategies for promoting and Mealy machines.[10]
significant learning in formal languages and
automata theory. ACM SIGCSE Bulletin, 36, 3
(June 2004), 7-11]

III. LITERATURE SURVEY ON LEARNING


DIFFICULTIES:
The purpose of this paper is to provide a
straightforward guide for instructors to
elucidate Automata theory concepts so as to
III a. REGULAR LANGUAGES:
objectify learner’s grip on
This section focuses on the difficulties
basic process constructs, formulations of
experienced by scholar in understanding
techniques and logical arguments, to
regular languages, transducers, context-free
encourage them to understand and apply this
languages , Pumping lemma , Turing
information in varied applied
machine. The main difficulty that students
science branches.This paper is aimed at
experienced in converting NFAs to DFAs was
facilitating students tackle the
dealing with epsilon transitions. This is due
obstacles concerned in learning the basics of
to lack of problem–solving skills which need
Theory of Computation particularly Automata
to be further developed. Students did not
Theory concepts. There is a course in a
find difficulties with converting regular
German secondary education school
expressions to NFAs. However, converting
where the
NFAs to regular expressions was not an easy
flipped classroom technique was accustomed
task for the students and they made errors
to teach basics of automata theory.[3] The
when applying the conversion algorithm. The
results of the
main difficulty with regular grammars was
ultimate course test were good and a
erecting grammars. Some of the students
brief form filled by the scholars suggests
were confused about left-linear and right-
interest of the students in this method of
linear grammars.[5]
teaching.

It is observed that students face some



difficulties when studying the Pumping
In this paper, we tend to describe a group of
Lemma and applying it in problem solution.
tools we've developed for experimenting
These are caused by problems in employing
with several ideas in Automata Theory.
formal reasoning methods and relate mainly
JFLAP is a popular open-source software tool
to misinterpreting of the Lemma's condition.
used in Formal Languages and Automata
As a result, the Pumping Lemma is often
courses. JFLAP is for experimenting with
misunderstood leading to incorrect proofs.
automata, pushdown automata and
Turing machines; LLparse and
LRparse are for experimenting with top- Algebraic characterization of regular
down and bottom-up parsing; Pˆat´e is each a languages is one of the most difficult
brute force program for restricted and components of Automata Theory. This part
unrestricted synchronic grammers and majorly covers two topics. First is the Nerod
a grammer transformer from a context-free theorem which provides an algebraic point of
grammar to CNF; and PumpLemma is a tool reference for regularity of a language and a
for experimenting with the pumping lemma. medium for replacing the erection of the
LLparse and LRparse are written in C++ and minimal DFA that accepts it. Second is the
X Windows while the remaining written in minimisation of finite automata. Being rather
Java.Another such tool is Language emulator, abstract, these notion and techniques cause
which is used to errors in problem solving.
assist undergraduate students to
III b. CONTEXT FREE LANGUAGES: We have developed a set of tools written in
Java for experimenting
The main problem experienced by the with concepts in formal languages and
students was the construction of context- automata theory. JFLAP (Java Formal
free grammars and pushdown automata. The Languages and Automata Package)
solutions given by students were partially allows one to construct automata, pushdown
correct and contained logical errors. They automata and Turing machines, and run
also experienced trouble in simplifying traces on input strings. Pˆat´e
grammars, namely, removal of useless (Parsing And Transforming Engine) contains
productions and a recursive start symbol.[5] two parts for experimenting with grammars,
However, the conversion of simplified a brute force parser that shows the
grammars to Chomsky normal and Greibach derivation and parse tree for an input string,
normal form did not pose any problems for and
students. It is worth noting that students did a transformer for converting a context-free
not experience difficulties in converting grammar to CNF through several steps.
context-free grammars to pushdown PumpLemma allows one to experiment
automata and vice versa. with the regular pumping lemma. We
describe these tools in the following
I I I c . R E C U R S I V E LY E N U M E R A B L E sections.[15]
LANGUAGES
Students possessed knowledge of Turing IV b. BRUTE FORCE PARSER
machine acceptors, transducers and the
different types of Turing machines and The brute force program is a thoroughgoing
understood how they worked.[5] The major search parser for restricted and unrestricted
difficulty experienced was constructing of grammars. Given synchronic linguistics andd
Turing machines for different problems. This an input string, the parser builds a derivation
again can be attributed to a need to further tree during a breadth-first way. Every node
develop students’ problem-solving skills to a within the tree has a string of words kind and
level that will enable them to dealing with the product range used to get from its parent
such problems. node to itself. To accelerate the creating of
the deduction tree, the consumer will decide
to allow simply one such hub for every string
of words structured in the tree. Thus, every
new string of words kind generated is first
III d. PUMPING LEMMA
looked up to envision if the string of words
Pumping Lemma is learned as one of the
kind already exists and if so it's no other. For
major methods used to prove irregularity of
restricted grammars, further pruning of
languages. It has been seen that students
nodes is accomplished by deleting nodes
have a lot of trouble in comprehensing and
whose prefix, suffix or substring of terminals
identifying with this idea. These are brought
don't match within the input string. Once a
about by issues in utilizing formal thinking
derivation is found, a message indicates the
strategies, and relate basically to
acceptance of the string and the size of the
misconception of the Lemma's conditions
derivation tree.[8]The user will opt to show
and their need for its rightness.[9] Another
the particular derivation in textual format or
threat is that an understudy may finish the
within the kind of a breakdown tree (for
course and have the option to precisely take
restricted grammars only). If all nodes within
care of standard issues utilizing the Lemma,
the derivation tree are exhausted and the
however without having built up a fitting
string isn't found, a message indicates that
comprehension of fundamental ideas and
the string isn't within the language of the
nuances.
synchronic linguistics. It is an educational
tool to experiment with tiny grammars and
IV. A STUDY ABOUT THE TOOLS tiny input strings and works well for many
assignments given to starting
IV a. JFLAP students[10].Obviously, for some strings and
grammars, the parsing could take a such an analysis tool; (3) doing a careful
protracted time. For big sizes of the comparison between our planned
derivation tree, messages seem to indicate methodology making correctness
to the user the dimensions of the tree and specifications vs.
asking if they want to continue. The user may Future works embrace the drawing of states
pause the parsing at any time for similar info. and transitions, employing a graphical input,
and therefore the analysis of latest
techniques that may build the understanding
of the automata theory easier. We have
developed JFLAP to review four styles of
V. RELATED WORK:
automata and area unit presently enhancing
Several supplementary tools are developed
the tool to assist within the study of
for analysing with alternative facets of
theorems associated with these automata.
automata. Automata developed on
Our future thought may be a complete
Mathematica permits one to experiment with
analysis of the planned methodology by a
finite automata (FA), within which one enters
comparative analysis of the planned
AN solfa syllable within the matter formal
methodology with various solutions of the
notation, a 5-tuple, and may then
list.
mechanically generate a listing of strings
within the language, convert AN NFA to a
DFA and lots of alternative helpful VII. REFERENCES
operations. Hypercard Automata [15]
[1] Carlos I. Chesñevar, Maria P. González, Ana G.
Simulation permits one to enter AN solfa Maguitman. Didactic strategies for promoting
syllable within the tabular format. Alan significant learning in formal languages and
Mathison Turing’s World permits one to automata theory. ACM SIGCSE Bulletin, 36, 3
experiment with many various styles of (June 2004), 7-11

Turing Machines in a very graphical format, [2] David Basin,Ernst-Ruediger Olderog and Paul
as well as building computing machine E. Sevinc. Specifying and Analyzing Security
Automata using CSP-OZ,2003.
modules. Firstly, the method that students
[3] M. Brown, ZEUS: A System for algorithm
follow as they conceive to solve issues will
animation and multi-view editing.
probably reveal misunderstanding of
Proceedings of the IEEE 1991 Workshop on
underlying ideas, or inefficient methods for
Visual Languages, p. 4-9, Kobe, Japan,
reaching an answer. We tend to so equip
Oct. 1991.
JFLAP with the mouldability to record the [4] . J. E. Hopcroft, R. Motwani, and J. D. Ullman.
method within which students solve observe Introduction to Automata Theory, Languages,
problems: however long they linger over the and Computation. Pearson Education, 2001.

particular queries, however typically they [5] P. Gloor, AACE - Algorithm Animation for
invoke machine-controlled hints, however Computer Science Education, IEEE
they modify their answer in response to Workshop on Visual Languages,
those hints etc. p. 25-31, 1992.
[6] L. D. Fink. Creating Significant Learning
VI. CONCLUSION Experiences : An Integrated Approach to
Designing College Courses. Jossey-Bass,
We have mentioned a set of tutorial tools for 2003.
ex_ permeant with automata , grammar and [7] S. H. Roger, J. Lim, and S. Reading,
parsing for the formal language course.Our “Increasing interaction and support in the
immediate focus areas are: (1) gathering formal languages and automata theory
feedback from users of this technique course”, Innovation and Technology in
(instructors and students) concerning the Computer Science Education (ITiCSE2007),
options we've enforced, and taking their pp. 58-62, 2007.
suggestions on board for revisions; (2) [8] V. S. Shekhar, A. Agarwalla, A. Agarwal,
gathering a enough quantity of combination Nitish B., and V. Kumar, “Enhancing JFLAP
information on student traces to envision with automata construction problems and
what forms of analysis of this information
would be helpful, associate degreed building
automated feedback”, Proc. of the 7th Intl.

Conf. on Contemporary Computing (IC3


2014), to appear.
[9] F. N. Koumboulis ,D. G. Fragkoulis ,N. D.
Kouvakas ,Automata-Based Programming for the
Development of a Web based Application
-A Case Study,2008.
[10] Susan H. Rodger,Eric Gramond,
JFLAP: An Aid to Studying Theorems in
Automata Theory
[12] C. Fischer. CSP-OZ: A combination of
Object-Z and CSP. In H. Bowman and J.
Derrick, editors, Formal
Methods for Open Object-Based Distributed
Systems, volume 2, pages 423–438.
Chapman & Hall, 1997.
[13] C. Fischer. Combination and
Implementation of Processes and Data: From
CSP-OZ to Java. PhD thesis, Bericht Nr.
2/2000, University of Oldenburg, April 2000.
[14] C. Fischer and H. Wehrheim. Model-
checking CSP-OZ
specifications with FDR. In K. Araki, A.
Galloway,
and K. Taguchi, editors, Integrated Formal
Methods,
pages 315–334. Springer, 1999.
[15] Anna O. Bilska, Kenneth H. Leider,
Magdalena Procopiuc, Octavian Procopiuc,

Susan H. Rodger, Jason R. Salemme and Edwin


Tsang A Collection of Tools for Making Automata
Theory and Formal Languages Come Alive. 2006

Paper id-10140145

Das könnte Ihnen auch gefallen