SlideShare a Scribd company logo
1 of 39
Download to read offline
Unit I
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
A symbol (often also called a character) is the smallest building
block, which can be any alphabet, letter, or picture.
Swapnali.R.Pawar
Alphabets are a set of symbols, which are
always finite.
Swapnali.R.Pawar
• A string is a finite sequence of symbols from some alphabet. A
string is generally denoted as w and the length of a string is
denoted as |w|.
• Empty string is the string with zero occurrence of symbols,
represented as ε
Swapnali.R.Pawar
Positive Closure-
L+: It is a Positive Closure that represents a set of all strings
except Null or ε-strings.
Kleene Closure-
L*: It is “Kleene Closure“, that represents the occurrence of
certain alphabets for given language alphabets from zero
to the infinite number of times. In which ε-string is also
included.
Swapnali.R.Pawar
(a) Regular expression for language accepting all combination of g’s
over Σ={g}:
R = g*
R={ε,g,gg,ggg,gggg,ggggg,...}
(b) Regular Expression for language accepting all combination of g’s
over Σ={g} :
R = g+
R={g,gg,ggg,gggg,ggggg,gggggg,...}
Example
Swapnali.R.Pawar
Swapnali.R.Pawar
A language is a set of strings with some rules or we can
say- ‘A language is a subset of Σ* ‘.
A language that can be formed over ‘ Σ ‘ can
be Finite or Infinite.
• Finite Language - Countable set of Strings
• Infinite Language - Uncountable set of Strings
Swapnali.R.Pawar
Example of Finite Language
• L1 = { set of string of 2 }
• L1 = { xy, yx, xx, yy }
Example of Infinite Language:
• L1 = { set of all strings starts with 'b’ }
• L1 = { babb, baa, ba, bbb, baab, ....... }
Swapnali.R.Pawar
Automata Set Theory
A set is a collection of distinct elements in which the order of elements
does not matter. If S is the set, then the size of a set is denoted as |S|. If x
is a member in a set S, then it is denoted as x ∈ A and y is a member not
in set S, it is denoted as y ∉ A
A = {1, 2, 3, 4, 5}
Swapnali.R.Pawar
What is Roster Notation?
In roster notation, the elements of a set are represented in a
row surrounded by curly brackets and if the set contains
more than one element then every two elements are
separated by commas.
For example, if A is the set of the first 10 natural numbers so
it can be represented by:
A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
Swapnali.R.Pawar
Example:
X = {y: y is a letter in the word dictionary}
We read it as,
“X is the set of all y such that y is a letter in the word dictionary”.
Swapnali.R.Pawar
Types of Sets
1. Singleton Set
2. Finite Set
3. Infinite Set
4. Equal Sets
5. Empty Set
6. Subsets of a Given Set
7. Proper Subset
8. Improper Subset
9. Power Set
10.Universal Set
Swapnali.R.Pawar
(i) Singleton Set
A set consisting of only one element is said to be Singleton
set.
For example :
Set S = {5} , M = {a}
are said to be singleton since they are consists of only one
element 5 and ‘a’ respectively
Swapnali.R.Pawar
(ii) Finite Set –
A set whose number of elements are countable i.e. finite or a
set whose cardinality is a natural number (∈ N) is said to
be Finite set.
For example :
Sets A = {a, b, c, d}, B = {5,7,9,15,78} and
C = { x : x is a multiple of 3, where 0<x<100)
Here A, B and C all three contain a finite number of elements
i.e. 4 in A, 5 in B and 33 in C and therefore will be called finite
sets
Swapnali.R.Pawar
(iii) Infinite Set
A set containing infinite number of elements i.e. whose
cardinality can not found is said to be an Infinite set.
Thus, the set of all natural numbers.
N = {1, 2, 3, 4 . . . .} is an infinite set.
Similarly, the set of all rational numbers between any
two numbers will be infinite. For example,
A = {x : x ∈ Q, 2 < x < 5} is an infinite set.
Swapnali.R.Pawar
(iv) Equal Sets –
When two sets consists of same elements, whether in the
same order, they are said to be equal.In other words, if each
element of the set A is an element of the set B and each
element of B is an element of A, the sets A and B are called
equal, i.e., A = B.
For example,
A = {1,2,3,4,5} and
B = {1,5,2,4,3} ,
then A = B.
Swapnali.R.Pawar
(v) Empty Set –
If a set consists of no element (zero elements), it is said to be the
empty set. It is denoted by ∅. It is also called null set or void set. A
common way of representing the null set is given by
∅ = { x : x ≠ x }, this set is empty, since there is no element which is
not equal to itself. For example, a = a, 2 = 2.
Swapnali.R.Pawar
(vi) Subsets of a Given Set –
Suppose A is a given set. Any set B, each of whose elements is also an
element of A, is called contained in A and is said to be a subset of A.
The symbol ⊆ stands for “is contained in” or “is subset of”. Thus, if “B is
contained in A” or “B is subset of A”, we write
B ⊆ A.
When B is subset of A, we also say ‘A contains B’ or ‘A is superset of B.
The symbol ⊇ is read for “contains” this A ⊇ B means “A contains B”.
Example :
If A = (3, 5, 7), B = (3, 5, 7, 9) than A ⊆ B since every element of A is also an
element of B. But B ⊄ A since 9 ∈ B while 9 ∉ A
Swapnali.R.Pawar
(vii) Proper Subset –
If B is a subset of A and B ≠ A, then B is said to be proper subset of A. In
other words, if each element of B is an element of A and there is at least
one element of A which is not an element of B, then B is said to be a proper
subset of A. “Is proper subset of” is symbolically represented by ⊂.
Also, the empty set ∅ is a proper subset of every set except itself.
Improper Subset –
Set A is called an improper subset of B if and only if A = B.
Note : Every set is an improper subset of itself
Swapnali.R.Pawar
(viii) Power Set –
The set of all subsets of a given set A, is said to be the power set of A.
The power set of A is denoted by P(A).
If the set A= {a, b, c}
then its subsets are ∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} {a, b, c}.
Therefore, P(A) = {∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} {a, b, c} }.
Swapnali.R.Pawar
(ix) Universal Set –
A set which consists of all the elements of the considering sets is said to be
the Universal set for those sets. It is generally denoted by U or S.
For example :
Consider the following sets,
A = {a, b, c, d, e} ;
B = {x, y, z} and
U = {a, b, c, d, e, f, g, h, w, x, y, z}
Here, U is the universal set for A and B, since U contains all the elements
of A and B.
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Finite Automata(FA) is the simplest machine to recognize patterns. The finite automata
or finite state machine is an abstract machine that has five elements or tuples. It has a
set of states and rules for moving from one state to another but it depends upon the
applied input symbol. Basically, it is an abstract model of a digital computer. The
following figure shows some essential features of general automation
Introduction of Finite Automata
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar
Swapnali.R.Pawar

More Related Content

Similar to 1.AutomataU1.pdf

Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure Abdullah Jan
 
Set
SetSet
SetH K
 
Definationofset
DefinationofsetDefinationofset
DefinationofsetJoy Saha
 
Set theory-ppt
Set theory-pptSet theory-ppt
Set theory-pptvipulAtri
 
pdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdfpdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdfSenaJover
 
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptxSet Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptxKalirajMariappan
 
sanskriti tiwari 2 ppt.pptx
sanskriti tiwari 2 ppt.pptxsanskriti tiwari 2 ppt.pptx
sanskriti tiwari 2 ppt.pptxRajDubey83
 
Maths Project 11 class(SETS)
Maths Project 11 class(SETS)Maths Project 11 class(SETS)
Maths Project 11 class(SETS)Sahil Mehra
 
Sets and functions daniyal khan
Sets and functions daniyal khanSets and functions daniyal khan
Sets and functions daniyal khanDaniyal Khan
 
Digital text sets pdf
Digital text sets  pdfDigital text sets  pdf
Digital text sets pdfstephy1234
 
Shri Ramswaroop Memorial University.pptx
Shri Ramswaroop Memorial University.pptxShri Ramswaroop Memorial University.pptx
Shri Ramswaroop Memorial University.pptxaayutiwari2003
 

Similar to 1.AutomataU1.pdf (20)

Sets Class XI Chapter 1
Sets Class XI Chapter 1Sets Class XI Chapter 1
Sets Class XI Chapter 1
 
Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure
 
Set
SetSet
Set
 
Definationofset
DefinationofsetDefinationofset
Definationofset
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Anubhav.pdf
Anubhav.pdfAnubhav.pdf
Anubhav.pdf
 
Set theory-ppt
Set theory-pptSet theory-ppt
Set theory-ppt
 
Crisp set
Crisp setCrisp set
Crisp set
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Set theory - Master of Arts
Set theory - Master of ArtsSet theory - Master of Arts
Set theory - Master of Arts
 
pdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdfpdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdf
 
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptxSet Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
 
sanskriti tiwari 2 ppt.pptx
sanskriti tiwari 2 ppt.pptxsanskriti tiwari 2 ppt.pptx
sanskriti tiwari 2 ppt.pptx
 
Set _Number System
Set _Number SystemSet _Number System
Set _Number System
 
SET
SETSET
SET
 
Maths Project 11 class(SETS)
Maths Project 11 class(SETS)Maths Project 11 class(SETS)
Maths Project 11 class(SETS)
 
Sets and functions daniyal khan
Sets and functions daniyal khanSets and functions daniyal khan
Sets and functions daniyal khan
 
Digital text sets pdf
Digital text sets  pdfDigital text sets  pdf
Digital text sets pdf
 
Shri Ramswaroop Memorial University.pptx
Shri Ramswaroop Memorial University.pptxShri Ramswaroop Memorial University.pptx
Shri Ramswaroop Memorial University.pptx
 
Module week 1 Q1
Module week 1 Q1Module week 1 Q1
Module week 1 Q1
 

More from SwapnaliPawar27

10.Design Of Two Pass Assembler in system software.pdf
10.Design Of Two Pass Assembler in system software.pdf10.Design Of Two Pass Assembler in system software.pdf
10.Design Of Two Pass Assembler in system software.pdfSwapnaliPawar27
 
9.SimpleAssemblyScheme in system software.pdf
9.SimpleAssemblyScheme in system software.pdf9.SimpleAssemblyScheme in system software.pdf
9.SimpleAssemblyScheme in system software.pdfSwapnaliPawar27
 
8.PassStructureofAssembler in System Software.pdf
8.PassStructureofAssembler in System Software.pdf8.PassStructureofAssembler in System Software.pdf
8.PassStructureofAssembler in System Software.pdfSwapnaliPawar27
 
7.IntermediateCode in System Software.pdf
7.IntermediateCode in System Software.pdf7.IntermediateCode in System Software.pdf
7.IntermediateCode in System Software.pdfSwapnaliPawar27
 
6.Assembly Language Statments in system Software.pdf
6.Assembly Language Statments in system Software.pdf6.Assembly Language Statments in system Software.pdf
6.Assembly Language Statments in system Software.pdfSwapnaliPawar27
 
5.Elements of Assembly Language in System Software.pdf
5.Elements of Assembly Language in System Software.pdf5.Elements of Assembly Language in System Software.pdf
5.Elements of Assembly Language in System Software.pdfSwapnaliPawar27
 
4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdf4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdfSwapnaliPawar27
 
3.SystemPrograms and System Programming.pdf
3.SystemPrograms and System Programming.pdf3.SystemPrograms and System Programming.pdf
3.SystemPrograms and System Programming.pdfSwapnaliPawar27
 
2.Exploring-the-Goals-and-Programs-of-System-Software.pdf
2.Exploring-the-Goals-and-Programs-of-System-Software.pdf2.Exploring-the-Goals-and-Programs-of-System-Software.pdf
2.Exploring-the-Goals-and-Programs-of-System-Software.pdfSwapnaliPawar27
 
Inroduction System Software -features Types
Inroduction System Software -features TypesInroduction System Software -features Types
Inroduction System Software -features TypesSwapnaliPawar27
 

More from SwapnaliPawar27 (13)

10.Design Of Two Pass Assembler in system software.pdf
10.Design Of Two Pass Assembler in system software.pdf10.Design Of Two Pass Assembler in system software.pdf
10.Design Of Two Pass Assembler in system software.pdf
 
9.SimpleAssemblyScheme in system software.pdf
9.SimpleAssemblyScheme in system software.pdf9.SimpleAssemblyScheme in system software.pdf
9.SimpleAssemblyScheme in system software.pdf
 
8.PassStructureofAssembler in System Software.pdf
8.PassStructureofAssembler in System Software.pdf8.PassStructureofAssembler in System Software.pdf
8.PassStructureofAssembler in System Software.pdf
 
7.IntermediateCode in System Software.pdf
7.IntermediateCode in System Software.pdf7.IntermediateCode in System Software.pdf
7.IntermediateCode in System Software.pdf
 
6.Assembly Language Statments in system Software.pdf
6.Assembly Language Statments in system Software.pdf6.Assembly Language Statments in system Software.pdf
6.Assembly Language Statments in system Software.pdf
 
5.Elements of Assembly Language in System Software.pdf
5.Elements of Assembly Language in System Software.pdf5.Elements of Assembly Language in System Software.pdf
5.Elements of Assembly Language in System Software.pdf
 
4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdf4.LanguageProcessors and language Processing Activities.pdf
4.LanguageProcessors and language Processing Activities.pdf
 
3.SystemPrograms and System Programming.pdf
3.SystemPrograms and System Programming.pdf3.SystemPrograms and System Programming.pdf
3.SystemPrograms and System Programming.pdf
 
2.Exploring-the-Goals-and-Programs-of-System-Software.pdf
2.Exploring-the-Goals-and-Programs-of-System-Software.pdf2.Exploring-the-Goals-and-Programs-of-System-Software.pdf
2.Exploring-the-Goals-and-Programs-of-System-Software.pdf
 
Inroduction System Software -features Types
Inroduction System Software -features TypesInroduction System Software -features Types
Inroduction System Software -features Types
 
2.dfa.pdf
2.dfa.pdf2.dfa.pdf
2.dfa.pdf
 
Pointer.pptx
Pointer.pptxPointer.pptx
Pointer.pptx
 
Array.pptx
Array.pptxArray.pptx
Array.pptx
 

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

1.AutomataU1.pdf

  • 5. A symbol (often also called a character) is the smallest building block, which can be any alphabet, letter, or picture. Swapnali.R.Pawar
  • 6. Alphabets are a set of symbols, which are always finite. Swapnali.R.Pawar
  • 7. • A string is a finite sequence of symbols from some alphabet. A string is generally denoted as w and the length of a string is denoted as |w|. • Empty string is the string with zero occurrence of symbols, represented as ε Swapnali.R.Pawar
  • 8. Positive Closure- L+: It is a Positive Closure that represents a set of all strings except Null or ε-strings. Kleene Closure- L*: It is “Kleene Closure“, that represents the occurrence of certain alphabets for given language alphabets from zero to the infinite number of times. In which ε-string is also included. Swapnali.R.Pawar
  • 9. (a) Regular expression for language accepting all combination of g’s over Σ={g}: R = g* R={ε,g,gg,ggg,gggg,ggggg,...} (b) Regular Expression for language accepting all combination of g’s over Σ={g} : R = g+ R={g,gg,ggg,gggg,ggggg,gggggg,...} Example Swapnali.R.Pawar
  • 10. Swapnali.R.Pawar A language is a set of strings with some rules or we can say- ‘A language is a subset of Σ* ‘. A language that can be formed over ‘ Σ ‘ can be Finite or Infinite. • Finite Language - Countable set of Strings • Infinite Language - Uncountable set of Strings
  • 11. Swapnali.R.Pawar Example of Finite Language • L1 = { set of string of 2 } • L1 = { xy, yx, xx, yy } Example of Infinite Language: • L1 = { set of all strings starts with 'b’ } • L1 = { babb, baa, ba, bbb, baab, ....... }
  • 12. Swapnali.R.Pawar Automata Set Theory A set is a collection of distinct elements in which the order of elements does not matter. If S is the set, then the size of a set is denoted as |S|. If x is a member in a set S, then it is denoted as x ∈ A and y is a member not in set S, it is denoted as y ∉ A A = {1, 2, 3, 4, 5}
  • 13. Swapnali.R.Pawar What is Roster Notation? In roster notation, the elements of a set are represented in a row surrounded by curly brackets and if the set contains more than one element then every two elements are separated by commas. For example, if A is the set of the first 10 natural numbers so it can be represented by: A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
  • 14. Swapnali.R.Pawar Example: X = {y: y is a letter in the word dictionary} We read it as, “X is the set of all y such that y is a letter in the word dictionary”.
  • 15. Swapnali.R.Pawar Types of Sets 1. Singleton Set 2. Finite Set 3. Infinite Set 4. Equal Sets 5. Empty Set 6. Subsets of a Given Set 7. Proper Subset 8. Improper Subset 9. Power Set 10.Universal Set
  • 16. Swapnali.R.Pawar (i) Singleton Set A set consisting of only one element is said to be Singleton set. For example : Set S = {5} , M = {a} are said to be singleton since they are consists of only one element 5 and ‘a’ respectively
  • 17. Swapnali.R.Pawar (ii) Finite Set – A set whose number of elements are countable i.e. finite or a set whose cardinality is a natural number (∈ N) is said to be Finite set. For example : Sets A = {a, b, c, d}, B = {5,7,9,15,78} and C = { x : x is a multiple of 3, where 0<x<100) Here A, B and C all three contain a finite number of elements i.e. 4 in A, 5 in B and 33 in C and therefore will be called finite sets
  • 18. Swapnali.R.Pawar (iii) Infinite Set A set containing infinite number of elements i.e. whose cardinality can not found is said to be an Infinite set. Thus, the set of all natural numbers. N = {1, 2, 3, 4 . . . .} is an infinite set. Similarly, the set of all rational numbers between any two numbers will be infinite. For example, A = {x : x ∈ Q, 2 < x < 5} is an infinite set.
  • 19. Swapnali.R.Pawar (iv) Equal Sets – When two sets consists of same elements, whether in the same order, they are said to be equal.In other words, if each element of the set A is an element of the set B and each element of B is an element of A, the sets A and B are called equal, i.e., A = B. For example, A = {1,2,3,4,5} and B = {1,5,2,4,3} , then A = B.
  • 20. Swapnali.R.Pawar (v) Empty Set – If a set consists of no element (zero elements), it is said to be the empty set. It is denoted by ∅. It is also called null set or void set. A common way of representing the null set is given by ∅ = { x : x ≠ x }, this set is empty, since there is no element which is not equal to itself. For example, a = a, 2 = 2.
  • 21. Swapnali.R.Pawar (vi) Subsets of a Given Set – Suppose A is a given set. Any set B, each of whose elements is also an element of A, is called contained in A and is said to be a subset of A. The symbol ⊆ stands for “is contained in” or “is subset of”. Thus, if “B is contained in A” or “B is subset of A”, we write B ⊆ A. When B is subset of A, we also say ‘A contains B’ or ‘A is superset of B. The symbol ⊇ is read for “contains” this A ⊇ B means “A contains B”. Example : If A = (3, 5, 7), B = (3, 5, 7, 9) than A ⊆ B since every element of A is also an element of B. But B ⊄ A since 9 ∈ B while 9 ∉ A
  • 22. Swapnali.R.Pawar (vii) Proper Subset – If B is a subset of A and B ≠ A, then B is said to be proper subset of A. In other words, if each element of B is an element of A and there is at least one element of A which is not an element of B, then B is said to be a proper subset of A. “Is proper subset of” is symbolically represented by ⊂. Also, the empty set ∅ is a proper subset of every set except itself. Improper Subset – Set A is called an improper subset of B if and only if A = B. Note : Every set is an improper subset of itself
  • 23. Swapnali.R.Pawar (viii) Power Set – The set of all subsets of a given set A, is said to be the power set of A. The power set of A is denoted by P(A). If the set A= {a, b, c} then its subsets are ∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} {a, b, c}. Therefore, P(A) = {∅, {a}, {b}, {c}, {a, b}, {a, c}, {b, c} {a, b, c} }.
  • 24. Swapnali.R.Pawar (ix) Universal Set – A set which consists of all the elements of the considering sets is said to be the Universal set for those sets. It is generally denoted by U or S. For example : Consider the following sets, A = {a, b, c, d, e} ; B = {x, y, z} and U = {a, b, c, d, e, f, g, h, w, x, y, z} Here, U is the universal set for A and B, since U contains all the elements of A and B.
  • 33. Swapnali.R.Pawar Finite Automata(FA) is the simplest machine to recognize patterns. The finite automata or finite state machine is an abstract machine that has five elements or tuples. It has a set of states and rules for moving from one state to another but it depends upon the applied input symbol. Basically, it is an abstract model of a digital computer. The following figure shows some essential features of general automation Introduction of Finite Automata