MyCH02 FA.pptx - Chapter 2 Finite Automata At the end of the module the student must be able to Learning Outcomes \u2022 describe language accepted by a

# MyCH02 FA.pptx - Chapter 2 Finite Automata At the end of...

This preview shows page 1 - 9 out of 35 pages.

Chapter 2 Finite Automata
Learning Outcomes At the end of the module, the student must be able to: describe language accepted by a given automata. construct finite automata for a given regular language.
Topics Deterministic Finite Accepters (DFA) Nondeterministic Finite Accepters (NFA)
DFA (2.1) Deterministic Finite Acceptors Example DFA Formal Definition of a DFA Languages and Regular Languages Several examples
DFA (2.1) Deterministic Finite Acceptors DFAs are: Deterministic--there is no element of choice Finite--only a finite number of states and arcs Acceptors--produce only a yes/no answer A DFA is drawn as a graph, with each state represented by a circle. start state One designated state is the start state. final state Some states (possibly including the start state) can be designated as final states. transition Arcs between states represent state transitions -- each such arc is labeled with the symbol that triggers the transition.
DFA (2.1) Formal Definition of a DFA A deterministic finite acceptor or dfa is a quintuple: M = (Q, , , q 0 , F) where Q is a finite set of internal states , is a finite set of symbols, the input alphabet , : Q Q is a transition function , q 0 Q is the initial state , F Q is a set of final states . Note: The fact that is a function implies that every vertex has an outgoing arc for each member of .
The graph in Fig. represent the dfa M = ({q 0 ,q 1 ,q 2 }, {0,1}, , q 0 , {q 1 }) where is given by (q 0 ,0)= q 0 (q 0 ,1)= q 1 (q 1 ,0)= q 0 (q 1 ,1)= q 2 (q 2 ,0)= q 2 (q 2 ,1)= q 1 DFA (2.1) Example DFA
Question Based on the given DFA, trace the following input string: 1 0 1, 0111, 100, 1100 Analysis Start with the

#### You've reached the end of your free preview.

Want to read all 35 pages?

• Fall '16
• Jennifer Smith
• Formal language, Regular expression, Regular language, Nondeterministic finite state machine, Automata theory

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.coursehero.com/file/62673101/MyCH02-FApptx/", "fetch_time": 1600439311000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2020-40/segments/1600400187899.11/warc/CC-MAIN-20200918124116-20200918154116-00790.warc.gz", "warc_record_offset": 819989806, "warc_record_length": 177962, "token_count": 774, "char_count": 3093, "score": 3.640625, "int_score": 4, "crawl": "CC-MAIN-2020-40", "snapshot_type": "latest", "language": "en", "language_score": 0.8395212292671204, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00045-of-00064.parquet"}