1 David Evans http://www.cs.virginia.edu/evans cs302: Theory of Computation University of Virginia Computer Science Lecture 2: Lecture 2: Modeling Modeling Computers Computers 2 Lecture 2: Modeling Computation Menu • Modeling Computers • Course Organization • Finite Automata What can computers do? 4 Lecture 2: Modeling Computation What is a “computer”? 5 Lecture 2: Modeling Computation How should we model a Computer? Apollo Guidance Computer (1969) Colossus (1944) IBM 5100 (1975) Cray-1 (1976) Turing invented his model in 1936. What “computer” was he modeling? 6 Lecture 2: Modeling Computation “Computers” before WWII
3
Embed
Menu Lecture 2: Modeling Computers · Lecture 2: Modeling Computation 7 Mechanical Computing Lecture 2: Modeling Computation 8 Modeling Pencil and Paper “Computing is normally done
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1
David Evanshttp://www.cs.virginia.edu/evans
cs302: Theory of Computation
University of Virginia
Computer Science
Lecture 2: Lecture 2:
Modeling Modeling
ComputersComputers
2Lecture 2: Modeling Computation
Menu
• Modeling Computers
• Course Organization
• Finite Automata
What can computers do?
4Lecture 2: Modeling Computation
What is a “computer”?
5Lecture 2: Modeling Computation
How should we model a Computer?
Apollo Guidance Computer (1969)
Colossus (1944)
IBM 5100 (1975)
Cray-1 (1976)
Turing invented his model in 1936. What “computer”was he modeling?
6Lecture 2: Modeling Computation
“Computers” before WWII
2
7Lecture 2: Modeling Computation
Mechanical Computing
8Lecture 2: Modeling Computation
Modeling Pencil and Paper
“Computing is normally done by writing certain symbols on paper. We may suppose this paper is divided into squares like a child’s arithmetic book.”
Alan Turing, On computable numbers, with anapplication to the Entscheidungsproblem, 1936
# C S S A 7 2 3
How long should the tape be?
... ...
9Lecture 2: Modeling Computation
Modeling Brains
•Rules for steps•Remember a
little
“For the present I shall only say that the justification lies in the fact that the human memory is necessarily limited.”
Alan Turing
10Lecture 2: Modeling Computation
Turing’s Model
AStart
B
Input: 0Write: 1Move: →
0 0 0 0 0 0 0 0... ...0 0 0 0 0 0 0 0 0
Input: 0Write: 1Move: ←
H
Input: 1Write: 1
Move: Halt
Input: 1Write: 1
Move: ←
11Lecture 2: Modeling Computation
What makes a good model?
Copernicus
F = GM1M2 / R2
Newton Ptolomy
12Lecture 2: Modeling Computation
Questions about Computing Model
• How well does it match “real”computers?
–Can it do everything they can do?
–Can they do everything it can do?
• Does it help us understand and reason about computing?
–What problems can computers solve?
–How long will it take?
3
13Lecture 2: Modeling Computation
Universal Turing Machine
AStart
B
Input: 0Write: 1Move: →
Input: 2Write: 1Move: →
Input: 0
Write: 2
Move: ←
Input: 1Write: 2Move: →
Input: 2Write: 1Move: ←
Input: 1Write: 2Move: ←
14Lecture 2: Modeling Computation
Course Organization
15Lecture 2: Modeling Computation
Assignments
• Reading: mostly from Sipser, some additional readings later
• Problem Sets (6 – first is due in 1 week)
• Exams (2 + final)
• Extra credit:
–Challenge Problems
–Communication Efforts
16Lecture 2: Modeling Computation
Help Available• David Evans– Office hours (Olsson 236A):
Mondays, 2-3pm
– Coffee Hours (Wilsdorf):
Wednesdays, 9:30-10:30am
– Other times: open office door, or send email to arrange