Outline Review Chomsky’s Models
Informatics 2A: Language Complexity and the Chomsky Hierarchy
Slides by Bonnie Webber (modified by Stuart Anderson) October 10, 2008
Slides by Bonnie Webber (modified by Stuart Anderson) Informatics 2A: Language Complexity and the Chomsky Hierarc Outline Review Chomsky’s Models
Review Chomsky’s Models
Slides by Bonnie Webber (modified by Stuart Anderson) Informatics 2A: Language Complexity and the Chomsky Hierarc Outline Review Chomsky’s Models
Starter 1
Is there a finite state machine that recognises all those strings s from the alphabet {a, b} where the difference between the number
- f as and number of bs is less than k for some constant k?
◮ True or ◮ False?
Slides by Bonnie Webber (modified by Stuart Anderson) Informatics 2A: Language Complexity and the Chomsky Hierarc Outline Review Chomsky’s Models
Starter 2
Is there a finite state machine that recognises all those strings s from the alphabet {a, b} where the difference between the number
- f as and number of bs is less than k for some constant k in every
prefix of s? A prefix of any string s is a string p such that there is a string q such that s = pq. Note that it is possible that q = ε.
◮ True or ◮ False?
Slides by Bonnie Webber (modified by Stuart Anderson) Informatics 2A: Language Complexity and the Chomsky Hierarc