SlideShare a Scribd company logo
Languages, Machines and
Computations
CS316
III/IV B.Tech I Sem
by
G BHARATH KUMAR
Department of Computer Science & Engineering
LMC also called as
• Automata Theory and Formal Languages (ATFL)
• Formal Languages and Automata Theory (FLAT)
• Theory of Computation (TOC)
Inventor
• Alan Turing
Agenda
• Syllabus
• Course Objectives
• Course Outcomes
• Language
• Machine
• Computation
• Quiz
Syllabus
UNIT – I
Finite Automata & Regular Languages - Languages vs. Problems. Finite State Automata, Regular Languages.
Closure properties, Limitations, Pumping Lemma, Myhill-Nerode relations, Quotient Construction.
Minimization Algorithm.
UNIT – II
Non-determinism & Regular Expressions - Notion of non-determinism. Acceptance condition. Subset
construction. Pattern matching and regular expressions. Regular Expressions and Regular languages. More
closure properties of regular languages.
UNIT – III
Grammars & Context-free Languages (CFLs) - Grammars and Chomsky Hierarchy, CFLs, Regular
Grammars, Chomsky Normal Form, Pumping Lemma for CFLs, Inherent Ambiguity of Context-Free
Languages, Cock-Younger-Kasami Algorithm, Applications to Parsing. Pushdown Automata (PDA), PDA vs.
CFLs. Deterministic CFLs.
UNIT – IV
Turing Machines & Computability - Introduction to Turing Machines, Configurations, Halting Vs. Looping.
Multi-tape Turing machines. Recursive and Recursively enumerable languages. Undecidability of Halting
Problem. Reductions. Introduction to Theory of NP-completeness.
Course Objectives
1. Introduce the student to the concepts of Theory of computation in computer science.
2. The students should acquire insights into the relationship among formal languages, formal grammars,
and automata.
3. Know the concepts of tractability and decidability, the concepts of NP-completeness and NP-hard problem.
4. Understand the challenges for Theoretical Computer Science and its contribution to other sciences.
Course Outcomes
Students who complete the course will have demonstrated the ability to do the following:
• C316.1 Differentiate various machines to recognize languages. (Comprehension)
• C316.2 Analyze finite state machines to solve problems in computing. (Analysis)
• C316.3 Explain Automata Theory as the basis of all computer science languages design. (Knowledge)
• C316.4 Solve problems using formal language. (Synthesis)
• C316.5 Apply computational theory. (Application)
PROGRAM OUTCOMES
1. ENGINEERING KNOWLEDGE: Apply the knowledge of mathematics, science, engineering fundamentals, and an
engineering specialization to the solution of complex engineering problems.
2. PROBLEM ANALYSIS: Identify, formulate, research literature, and analyze complex engineering problems reaching
substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences.
3. DESIGN/DEVELOPMENT OF SOLUTIONS: Design solutions for complex engineering problems and design
system components or processes that meet the specified needs with appropriate consideration for the public health and
safety, and the cultural, societal, and environmental considerations.
4. CONDUCT INVESTIGATIONS OF COMPLEX PROBLEMS: Use research-based knowledge and research
methods including design of experiments, analysis and interpretation of data, and synthesis of the information to provide
valid conclusions.
5. MODERN TOOL USAGE: Create, select, and apply appropriate techniques, resources, and modern engineering and
IT tools including prediction and modeling to complex engineering activities with an understanding of the limitations.
6. THE ENGINEER AND SOCIETY: Apply reasoning informed by the contextual knowledge to assess societal,
health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering
practice.
PROGRAM OUTCOMES Cont…
7. ENVIRONMENT AND SUSTAINABILITY: Understand the impact of the professional engineering solutions in
societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
8. ETHICS: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering
practice.
9. INDIVIDUAL AND TEAM WORK: Function effectively as an individual, and as a member or leader in diverse
teams, and in multidisciplinary settings.
10. COMMUNICATION: Communicate effectively on complex engineering activities with the engineering community
and with society at large, such as, being able to comprehend and write effective reports and design documentation, make
effective presentations, give and receive clear instructions.
11. PROJECT MANAGEMENT AND FINANCE: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in
multidisciplinary environments.
12. LIFE-LONG LEARNING: Recognize the need for, and have the preparation and ability to engage in independent
and life-long learning in the broadest context of technological change.
Language
• Language is a collection of appropriate strings
• Language is defined as a “set of strings of symbols over an alphabet”.
• The method of human communication, either spoken or written, consisting of the use of words in a
structured and conventional way.
• A system of communication used by a particular country or community.
Languages, Automata and Grammars
Programming Languages
• A program is a set of instructions that tells a computer what to do in order to come up with a solution to a
particular problem. Programs are written using a programming language. A programming language is a
formal language designed to communicate instructions to a computer. There are two major types of
programming languages: low-level languages and high-level languages.
• There are three main kinds of programming language:
1. Machine language
2. Assembly language
3. High-level language (Python, Visual basic, Java)
Top 10 Programming languages and their
inventors
• C – Dennis Ritchie
• C++ – Bjarne Stroustrup
• Java- James Gosling
• Python – Guido van Rossum
• PHP – Rasmus Lerdorf
• Perl – Larry Wall
• JavaScript – Brendan Eich
• Ruby – Yukihiro Matsumoto
• Lisp – John McCarthy
• Pascal – Niklaus Wirth
Different types of Languages
• RL
• CFL
• CSL
• REL
Machine
• A machine is defined as a system where information is transmitted and used for performing some functions
without direct participation of man.
• A machine is anything that reduces human effort.
• Anything that simplifies work or saves time is a machine
• A device which gain some energy and convert into desired useful work is called machine.
Different types of Machines
• FA
• PDA
• LBA
• TM
Computation
• The action of mathematical calculation.
• computation means mathematical calculations. In the context of computer science, an automaton is a
machine that can perform the computation in a mechanized manner.
• Computation is any type of calculation that includes both arithmetical and non- arithmetical steps and
follows a well defined model.
Different types of Grammars
• RG
• CFG
• CSG
• REG
Relation between Languages, Automata and Grammars
Relation between Languages, Automata and
Grammars
Relation between Languages, Automata and
Grammars
Relation between Languages, Automata and
Grammars
Languages, Automata and Grammars
• Please write 12 definitions
Quiz
kahoot.it
Relation between Languages, Machines and Computations

More Related Content

What's hot

Translation
TranslationTranslation
Translation
Jamal Taha
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming Paradigms
Leo Hernandez
 
Punjabi to Hindi Transliteration System for Proper Nouns Using Hybrid Approach
Punjabi to Hindi Transliteration System for Proper Nouns Using Hybrid ApproachPunjabi to Hindi Transliteration System for Proper Nouns Using Hybrid Approach
Punjabi to Hindi Transliteration System for Proper Nouns Using Hybrid Approach
IJERA Editor
 
Report
Report Report
Poster @ enetCollect CA MC meeting in Iasi, Romania
Poster @ enetCollect CA MC meeting in Iasi, Romania Poster @ enetCollect CA MC meeting in Iasi, Romania
Poster @ enetCollect CA MC meeting in Iasi, Romania
INESC-ID (Spoken Language Systems Laboratory - L2F)
 
Language translation english to hindi
Language translation english to hindiLanguage translation english to hindi
Language translation english to hindi
RAJENDRA VERMA
 

What's hot (6)

Translation
TranslationTranslation
Translation
 
Programming Paradigms
Programming ParadigmsProgramming Paradigms
Programming Paradigms
 
Punjabi to Hindi Transliteration System for Proper Nouns Using Hybrid Approach
Punjabi to Hindi Transliteration System for Proper Nouns Using Hybrid ApproachPunjabi to Hindi Transliteration System for Proper Nouns Using Hybrid Approach
Punjabi to Hindi Transliteration System for Proper Nouns Using Hybrid Approach
 
Report
Report Report
Report
 
Poster @ enetCollect CA MC meeting in Iasi, Romania
Poster @ enetCollect CA MC meeting in Iasi, Romania Poster @ enetCollect CA MC meeting in Iasi, Romania
Poster @ enetCollect CA MC meeting in Iasi, Romania
 
Language translation english to hindi
Language translation english to hindiLanguage translation english to hindi
Language translation english to hindi
 

Similar to Relation between Languages, Machines and Computations

Computational linguistics
Computational linguistics Computational linguistics
Computational linguistics
kashmasardar
 
Plc part 1
Plc part 1Plc part 1
Plc part 1
Taymoor Nazmy
 
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
Prof. Wim Van Criekinge
 
Paradigms
ParadigmsParadigms
Paradigms
Edward Blurock
 
Ppl 13 july2019
Ppl 13 july2019Ppl 13 july2019
Ppl 13 july2019
Khurram Tehseen
 
Evolution of Programming Languages.pdf
Evolution of Programming Languages.pdfEvolution of Programming Languages.pdf
Evolution of Programming Languages.pdf
Madurai Kamaraj University Madurai Tamil Nadu India
 
Evolution of Programming Languages.pdf
Evolution of Programming Languages.pdfEvolution of Programming Languages.pdf
Evolution of Programming Languages.pdf
Madurai Kamaraj University Madurai Tamil Nadu India
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
Hussain Buksh
 
Introduction to course
Introduction to courseIntroduction to course
Introduction to course
nikit meshram
 
PRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.ppt
PRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.pptPRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.ppt
PRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.ppt
SharmilaMore5
 
8505548.ppt
8505548.ppt8505548.ppt
8505548.ppt
meenabairagi1
 
22_ideals.ppt
22_ideals.ppt22_ideals.ppt
22_ideals.ppt
DanielPerez457035
 
22_ideals (1).ppt
22_ideals (1).ppt22_ideals (1).ppt
22_ideals (1).ppt
Jadna Almeida
 
2. pl domain
2. pl domain2. pl domain
Computer Programming - Lecture A
Computer Programming - Lecture AComputer Programming - Lecture A
Computer Programming - Lecture A
CMDLearning
 
Course outlin for to c
Course outlin for to cCourse outlin for to c
Course outlin for to c
Ikram Syed
 

Similar to Relation between Languages, Machines and Computations (20)

Computational linguistics
Computational linguistics Computational linguistics
Computational linguistics
 
Plc part 1
Plc part 1Plc part 1
Plc part 1
 
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
 
Paradigms
ParadigmsParadigms
Paradigms
 
Ppl 13 july2019
Ppl 13 july2019Ppl 13 july2019
Ppl 13 july2019
 
Evolution of Programming Languages.pdf
Evolution of Programming Languages.pdfEvolution of Programming Languages.pdf
Evolution of Programming Languages.pdf
 
Evolution of Programming Languages.pdf
Evolution of Programming Languages.pdfEvolution of Programming Languages.pdf
Evolution of Programming Languages.pdf
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Introduction to course
Introduction to courseIntroduction to course
Introduction to course
 
PRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.ppt
PRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.pptPRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.ppt
PRINCIPLES OF PROGRAMMING LANGUAGES _Chapter 1.ppt
 
Com ling
Com lingCom ling
Com ling
 
8505548.ppt
8505548.ppt8505548.ppt
8505548.ppt
 
22_ideals.ppt
22_ideals.ppt22_ideals.ppt
22_ideals.ppt
 
22_ideals (1).ppt
22_ideals (1).ppt22_ideals (1).ppt
22_ideals (1).ppt
 
2. pl domain
2. pl domain2. pl domain
2. pl domain
 
Unit1
Unit1Unit1
Unit1
 
Unit1
Unit1Unit1
Unit1
 
Computer Programming - Lecture A
Computer Programming - Lecture AComputer Programming - Lecture A
Computer Programming - Lecture A
 
Course outlin for to c
Course outlin for to cCourse outlin for to c
Course outlin for to c
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 

More from BHARATH KUMAR

Object-Oriented concepts.pptx
Object-Oriented concepts.pptxObject-Oriented concepts.pptx
Object-Oriented concepts.pptx
BHARATH KUMAR
 
Java buzzwords.pptx
Java buzzwords.pptxJava buzzwords.pptx
Java buzzwords.pptx
BHARATH KUMAR
 
history and evaluation of java.pptx
history and evaluation of java.pptxhistory and evaluation of java.pptx
history and evaluation of java.pptx
BHARATH KUMAR
 
Data Models
Data ModelsData Models
Data Models
BHARATH KUMAR
 
Structure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMSStructure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMS
BHARATH KUMAR
 
DBMS languages/ Types of SQL Commands
DBMS languages/ Types of SQL CommandsDBMS languages/ Types of SQL Commands
DBMS languages/ Types of SQL Commands
BHARATH KUMAR
 
1.4 data independence
1.4 data independence1.4 data independence
1.4 data independence
BHARATH KUMAR
 
data abstraction in DBMS
data abstraction in DBMSdata abstraction in DBMS
data abstraction in DBMS
BHARATH KUMAR
 
File system vs DBMS
File system vs DBMSFile system vs DBMS
File system vs DBMS
BHARATH KUMAR
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
BHARATH KUMAR
 
Trees and Graphs in data structures and Algorithms
Trees and Graphs in data structures and AlgorithmsTrees and Graphs in data structures and Algorithms
Trees and Graphs in data structures and Algorithms
BHARATH KUMAR
 
Sorting
SortingSorting
Sorting
BHARATH KUMAR
 
Linked List
Linked ListLinked List
Linked List
BHARATH KUMAR
 
ADT STACK and Queues
ADT STACK and QueuesADT STACK and Queues
ADT STACK and Queues
BHARATH KUMAR
 
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMARIntroduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
BHARATH KUMAR
 
A Survey on Big Data Analytics
A Survey on Big Data AnalyticsA Survey on Big Data Analytics
A Survey on Big Data Analytics
BHARATH KUMAR
 

More from BHARATH KUMAR (16)

Object-Oriented concepts.pptx
Object-Oriented concepts.pptxObject-Oriented concepts.pptx
Object-Oriented concepts.pptx
 
Java buzzwords.pptx
Java buzzwords.pptxJava buzzwords.pptx
Java buzzwords.pptx
 
history and evaluation of java.pptx
history and evaluation of java.pptxhistory and evaluation of java.pptx
history and evaluation of java.pptx
 
Data Models
Data ModelsData Models
Data Models
 
Structure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMSStructure of a DBMS/Architecture of a DBMS
Structure of a DBMS/Architecture of a DBMS
 
DBMS languages/ Types of SQL Commands
DBMS languages/ Types of SQL CommandsDBMS languages/ Types of SQL Commands
DBMS languages/ Types of SQL Commands
 
1.4 data independence
1.4 data independence1.4 data independence
1.4 data independence
 
data abstraction in DBMS
data abstraction in DBMSdata abstraction in DBMS
data abstraction in DBMS
 
File system vs DBMS
File system vs DBMSFile system vs DBMS
File system vs DBMS
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Trees and Graphs in data structures and Algorithms
Trees and Graphs in data structures and AlgorithmsTrees and Graphs in data structures and Algorithms
Trees and Graphs in data structures and Algorithms
 
Sorting
SortingSorting
Sorting
 
Linked List
Linked ListLinked List
Linked List
 
ADT STACK and Queues
ADT STACK and QueuesADT STACK and Queues
ADT STACK and Queues
 
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMARIntroduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
Introduction of Data Structures and Algorithms by GOWRU BHARATH KUMAR
 
A Survey on Big Data Analytics
A Survey on Big Data AnalyticsA Survey on Big Data Analytics
A Survey on Big Data Analytics
 

Recently uploaded

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 

Recently uploaded (20)

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 

Relation between Languages, Machines and Computations

  • 1. Languages, Machines and Computations CS316 III/IV B.Tech I Sem by G BHARATH KUMAR Department of Computer Science & Engineering
  • 2.
  • 3. LMC also called as • Automata Theory and Formal Languages (ATFL) • Formal Languages and Automata Theory (FLAT) • Theory of Computation (TOC)
  • 5. Agenda • Syllabus • Course Objectives • Course Outcomes • Language • Machine • Computation • Quiz
  • 6. Syllabus UNIT – I Finite Automata & Regular Languages - Languages vs. Problems. Finite State Automata, Regular Languages. Closure properties, Limitations, Pumping Lemma, Myhill-Nerode relations, Quotient Construction. Minimization Algorithm. UNIT – II Non-determinism & Regular Expressions - Notion of non-determinism. Acceptance condition. Subset construction. Pattern matching and regular expressions. Regular Expressions and Regular languages. More closure properties of regular languages. UNIT – III Grammars & Context-free Languages (CFLs) - Grammars and Chomsky Hierarchy, CFLs, Regular Grammars, Chomsky Normal Form, Pumping Lemma for CFLs, Inherent Ambiguity of Context-Free Languages, Cock-Younger-Kasami Algorithm, Applications to Parsing. Pushdown Automata (PDA), PDA vs. CFLs. Deterministic CFLs. UNIT – IV Turing Machines & Computability - Introduction to Turing Machines, Configurations, Halting Vs. Looping. Multi-tape Turing machines. Recursive and Recursively enumerable languages. Undecidability of Halting Problem. Reductions. Introduction to Theory of NP-completeness.
  • 7. Course Objectives 1. Introduce the student to the concepts of Theory of computation in computer science. 2. The students should acquire insights into the relationship among formal languages, formal grammars, and automata. 3. Know the concepts of tractability and decidability, the concepts of NP-completeness and NP-hard problem. 4. Understand the challenges for Theoretical Computer Science and its contribution to other sciences.
  • 8. Course Outcomes Students who complete the course will have demonstrated the ability to do the following: • C316.1 Differentiate various machines to recognize languages. (Comprehension) • C316.2 Analyze finite state machines to solve problems in computing. (Analysis) • C316.3 Explain Automata Theory as the basis of all computer science languages design. (Knowledge) • C316.4 Solve problems using formal language. (Synthesis) • C316.5 Apply computational theory. (Application)
  • 9. PROGRAM OUTCOMES 1. ENGINEERING KNOWLEDGE: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering specialization to the solution of complex engineering problems. 2. PROBLEM ANALYSIS: Identify, formulate, research literature, and analyze complex engineering problems reaching substantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences. 3. DESIGN/DEVELOPMENT OF SOLUTIONS: Design solutions for complex engineering problems and design system components or processes that meet the specified needs with appropriate consideration for the public health and safety, and the cultural, societal, and environmental considerations. 4. CONDUCT INVESTIGATIONS OF COMPLEX PROBLEMS: Use research-based knowledge and research methods including design of experiments, analysis and interpretation of data, and synthesis of the information to provide valid conclusions. 5. MODERN TOOL USAGE: Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools including prediction and modeling to complex engineering activities with an understanding of the limitations. 6. THE ENGINEER AND SOCIETY: Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the professional engineering practice.
  • 10. PROGRAM OUTCOMES Cont… 7. ENVIRONMENT AND SUSTAINABILITY: Understand the impact of the professional engineering solutions in societal and environmental contexts, and demonstrate the knowledge of, and need for sustainable development. 8. ETHICS: Apply ethical principles and commit to professional ethics and responsibilities and norms of the engineering practice. 9. INDIVIDUAL AND TEAM WORK: Function effectively as an individual, and as a member or leader in diverse teams, and in multidisciplinary settings. 10. COMMUNICATION: Communicate effectively on complex engineering activities with the engineering community and with society at large, such as, being able to comprehend and write effective reports and design documentation, make effective presentations, give and receive clear instructions. 11. PROJECT MANAGEMENT AND FINANCE: Demonstrate knowledge and understanding of the engineering and management principles and apply these to one’s own work, as a member and leader in a team, to manage projects and in multidisciplinary environments. 12. LIFE-LONG LEARNING: Recognize the need for, and have the preparation and ability to engage in independent and life-long learning in the broadest context of technological change.
  • 11.
  • 12. Language • Language is a collection of appropriate strings • Language is defined as a “set of strings of symbols over an alphabet”. • The method of human communication, either spoken or written, consisting of the use of words in a structured and conventional way. • A system of communication used by a particular country or community.
  • 14. Programming Languages • A program is a set of instructions that tells a computer what to do in order to come up with a solution to a particular problem. Programs are written using a programming language. A programming language is a formal language designed to communicate instructions to a computer. There are two major types of programming languages: low-level languages and high-level languages. • There are three main kinds of programming language: 1. Machine language 2. Assembly language 3. High-level language (Python, Visual basic, Java)
  • 15. Top 10 Programming languages and their inventors • C – Dennis Ritchie • C++ – Bjarne Stroustrup • Java- James Gosling • Python – Guido van Rossum • PHP – Rasmus Lerdorf • Perl – Larry Wall • JavaScript – Brendan Eich • Ruby – Yukihiro Matsumoto • Lisp – John McCarthy • Pascal – Niklaus Wirth
  • 16. Different types of Languages • RL • CFL • CSL • REL
  • 17. Machine • A machine is defined as a system where information is transmitted and used for performing some functions without direct participation of man. • A machine is anything that reduces human effort. • Anything that simplifies work or saves time is a machine • A device which gain some energy and convert into desired useful work is called machine.
  • 18. Different types of Machines • FA • PDA • LBA • TM
  • 19. Computation • The action of mathematical calculation. • computation means mathematical calculations. In the context of computer science, an automaton is a machine that can perform the computation in a mechanized manner. • Computation is any type of calculation that includes both arithmetical and non- arithmetical steps and follows a well defined model.
  • 20. Different types of Grammars • RG • CFG • CSG • REG
  • 21. Relation between Languages, Automata and Grammars
  • 22. Relation between Languages, Automata and Grammars
  • 23. Relation between Languages, Automata and Grammars
  • 24. Relation between Languages, Automata and Grammars
  • 25. Languages, Automata and Grammars • Please write 12 definitions