models of computation. computation: computation is a general term for any type of information...
TRANSCRIPT
![Page 1: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/1.jpg)
Models of Computation
![Page 2: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/2.jpg)
Computation:Computation is a general term for any type of information processing
CPU memory
![Page 3: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/3.jpg)
CPU
input memory
output memory
Program memory
temporary memory
![Page 4: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/4.jpg)
CPU
input memory
output memoryProgram memory
temporary memory
3)( xxf
compute xx
compute xx 2
Example:
![Page 5: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/5.jpg)
CPU
input memory
output memoryProgram memory
temporary memory
3)( xxf
compute xx
compute xx 2
2x
![Page 6: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/6.jpg)
CPU
input memory
output memoryProgram memory
temporary memory3)( xxf
compute xx
compute xx 2
2x
42*2 z82*)( zxf
![Page 7: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/7.jpg)
CPU
input memory
output memoryProgram memory
temporary memory3)( xxf
compute xx
compute xx 2
2x
42*2 z82*)( zxf
8)( xf
![Page 8: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/8.jpg)
Automaton
CPU
input memory
output memory
Program memory
temporary memory
Automaton
![Page 9: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/9.jpg)
Different Kinds of Automata
Automata are distinguished by the temporary memory
• Finite Automata: no temporary memory
• Pushdown Automata: stack
• Turing Machines: random access memory
![Page 10: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/10.jpg)
input memory
output memory
temporary memory
Finite
Automaton
Finite Automaton
Example: Vending Machines
(small computing power)
![Page 11: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/11.jpg)
input memory
output memory
Stack
Pushdown
Automaton
Pushdown Automaton
Example: Compilers for Programming Languages
(medium computing power)
Push, Pop
![Page 12: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/12.jpg)
input memory
output memory
Random Access Memory
Turing
Machine
Turing Machine
Examples: Any Algorithm
(highest computing power)
![Page 13: Models of Computation. Computation: Computation is a general term for any type of information processing information processing CPU memory](https://reader031.vdocuments.us/reader031/viewer/2022020417/5697bfa11a28abf838c95d28/html5/thumbnails/13.jpg)
Finite
Automata
Pushdown
Automata
Turing
Machine
Power of Automata
Less power More power
Solve more
computational problems