introduction to theory of automata by: wasim ahmad khan

10
Introduction to Theory of Automata By: Wasim Ahmad Khan

Upload: shavonne-washington

Post on 12-Jan-2016

229 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Theory of Automata By: Wasim Ahmad Khan

Introduction toTheory of Automata

By:

Wasim Ahmad Khan

Page 2: Introduction to Theory of Automata By: Wasim Ahmad Khan

What do you think about it ???

Automata?

Language?

Relation between Language and Machine?

Page 3: Introduction to Theory of Automata By: Wasim Ahmad Khan

What does “Theory of Automata” mean?

The word “Theory” means that this subject is a more mathematical subject and less practical.

Foundation for practical subject.

Focuses on theoretical aspects of Computer Science.

Page 4: Introduction to Theory of Automata By: Wasim Ahmad Khan

Automata

It is plural of Greek word Automaton , which means Machine in English.

Hence, Automata means Machines.

Page 5: Introduction to Theory of Automata By: Wasim Ahmad Khan

Language

Language is nothing except the

collection of Rules.

Page 6: Introduction to Theory of Automata By: Wasim Ahmad Khan

Relation between Machine & Language

As all of you know that to instruct any machine you need to know its language.

Similarly, if you know a language that language is of no use unless you have a machine which can understand that language.

So :Language and machine both are inter-related. One is useless in the absence of other.

Page 7: Introduction to Theory of Automata By: Wasim Ahmad Khan

Parts of the Language

Alphabet/Symbol A finite non-empty set of specific symbols (letters), is called alphabet . It is denoted by Greek letter ∑ (Sigma).

WordSpecific letters in specific quantity and in Specific order.

SentenceSpecific words in specific quantity and in Specific order.

Page 8: Introduction to Theory of Automata By: Wasim Ahmad Khan

How to study language?

There are two parts of study of a language

1. Structure/SyntaxIts study includes how the correct words/sentences are formed.

( No syntax errors )

2. Meaning/Semantics

its study includes how to decide that a structurally correct formed word/sentence has a correct meaning associated or not. ( No Semantical errors )

Page 9: Introduction to Theory of Automata By: Wasim Ahmad Khan

Types of Language

There are many types of languages but we have experience of using two types of languages:

Formal Languages ( Java/C++/Perl/C/ …)

Natural Languages (English/Hindi/Arabic/ …)

Page 10: Introduction to Theory of Automata By: Wasim Ahmad Khan

Formal Languages

Formal means to study about form / structure /shape ; Meaning is out of Scope of our study of formal languages.

For example:

She is a boy.This sentence is structure wise correct but meaning wise incorrect. In formal languages it is correct but incorrect in Natural language English.