

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to finite automata (fa), a mathematical model of hardware used to process inputs and determine if they belong to a specific language. Fa abstracts the internal functions of a 'black box' system, focusing on input-output relationships. The mathematical definition of fa, its state transition diagrams, and the concept of regular expressions (re) to represent the accepted language.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!
9 October , Day 13 Chapter 2 – Finite Automata (FA) A FA is a model of computation. A FA is a mathematical model of H/W. A FA is an abstraction of H/W. Consider his “black box” analogy. Input -> “Black Box” -> Output Inside functions of black box are hidden Ex: a TV, we don’t know how it works inside, we give it input (channel
etc A state transition diagram is a convention used to represent FA How? Input strings (potential words) are ‘read’ one symbol (letter) at a time. The FA “moves” between states given its current state and the input symbol (0 or 1) read. If the input string is a real “word” in the language, the FA will finish (no more input) in an accepting state. Thus, the goal of a FA is to finish in an accepting or final state. It may not be possible to know exactly what is inside the black box (since it is really hidden from view), but we can know the sequences of 1s and 0s (strings or words) accepted by the black box. ex; we know that 0101 is accepted by 0110 is not. The language accepted by a finite automaton … [black box: FA] by language we mean the “good” words, or the accepted strings] … can be written as a Regular Expression (RE) RE is a formal way of writing an accepted language RE is “shorthand” don’t have to list all of the accepted strings in a language ex: how many strings are there? answer: infinite! (hard to list :-) RE is a “pattern” for the accepted language 01(001)* analogy – its an algorithm for creating accepted strings