Docsity

Theory of Automata: Understanding Computation, Automata, and Their Power, Exams of Theory of Automata

Partial preview of the text

Download Theory of Automata: Understanding Computation, Automata, and Their Power and more Exams Theory of Automata in PDF only on Docsity!

CS 301Theory of Automata

ComputationComputation

Computation^ CPU^

memory Courtesy Costas Busch - RPI^

4 CPU^

memory

CPU

input memory temporary memory^ Courtesy Costas Busch - RPI

5 CPU

output memory Program memory

CPU

input memory temporary memory

3 )( xxf = 2 = x

Courtesy Costas Busch - RPI^

7 CPU

output memory Program memory^ compute

xx^ โˆ—^2 compute xx^ โˆ—

CPU

input memory temporary memory

3 )( xxf = 2 = x

42 * 2 == z^82 *)( == zx

f^ Courtesy Costas Busch - RPI

8 CPU

output memory Program memory^ compute

xx^ โˆ—^2 compute xx^ โˆ—

Activity time Write a formal pseudo code ofthe computation model discussed

Automaton^ CPU

input memory temporary memory Automaton^ Courtesy Costas Busch - RPI

11 CPU

output memory Program memory

Different Kinds of Automata Automata are distinguished by the temporary memory โ€ข Finite Automata:^

no temporary memory

-^ Pushdown Automata

:^ stack Courtesy Costas Busch - RPI^

13

-^ Pushdown Automata

:^ stack

-^ Turing Machines

:^ random access memory

input memory

Finite Automatontemporary memory^ Finite^ Courtesy Costas Busch - RPI

output memory^14 Finite Automaton Example: Vending Machines(small computing power)

input memory

Turing Machine Random Access Memory^ Turing^ Courtesy Costas Busch - RPI

input memory output memory^16 Turing Machine Examples: Any Algorithm(highest computing power)

FiniteAutomata

PushdownAutomata

Turing Machine

Power of Automata^ Courtesy Costas Busch - RPI

Machine^17

Less power^

More powerSolve morecomputational problems