cognitive science - computation, Turing machines, computability

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/45

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:38 PM on 4/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

46 Terms

1
New cards

when was the difference engine created?

1822

2
New cards

why was the difference engine created?

the British navy needed tables of polynomial tables and humans often made mistakes when computing these

3
New cards

what algorithm did the difference engine use?

the method of divided differences

4
New cards

when was the analytical engine created?

1837

5
New cards

who invented the analytical engine?

Charles Babbage

6
New cards

what was the analytical engine designed to be?

a mechanical device capable of calculating any mathematical function, a general purpose computer

7
New cards

what did the analytical engine’s architecture consist of?

a store, mill, and punched cards

8
New cards

what was the analytical engine’s store?

a memory where numbers and intermediate computations are held

9
New cards

what was the analytical engine’s mill?

a central processing unit that performs computations using pegs and rotating barrels

10
New cards

what were the punched cards used for in the analytical engine?

program control

11
New cards

what were the two kinds of punched cards the analytical engine used?

variable and operational cards

12
New cards

what did the analytical engine use the variable cards for?

inputting data

13
New cards

what did the analytical engine use the operational cards for?

transferring numbers between the store and the mill

14
New cards

when was the first program written?

1843

15
New cards

who wrote the first program?

Ada Lovelace

16
New cards

what was the first program?

a set of instructions for the analytical engine to compute Bernoulli’s Number

17
New cards

what did the first program lead people to postulate?

that a general-purpose computer could do anything given the right data/input and instructions/software

18
New cards

what was Turing’s On Computable Numbers?

a formal theory/model of computation now known as a Turing machine

19
New cards

what did the Turing machine demonstrate?

the possibility of performing any computational calculation through rules and data storage

20
New cards

what is a Turing machine?

an idealized, mathematical abstraction of a computer

21
New cards

what does a Turing machine consist of?

a 1D tape of cells of unlimited length with a symbol from a finite alphabet written on each cell, a read/write head that looks at one cell at a time, and a control program

22
New cards

what is the first step of any computation on a Turing machine?

writing symbols in the squares of the paper tape

23
New cards

what do you look at on a Turing machine at each step of computation?

only the symbol written in exactly one of the squares

24
New cards

what does each action depend on while computing on a Turing machine?

the symbol being viewed and the state of the read/write head

25
New cards

what does each action on a Turing machine consist of?

writing a symbol on the square at hand and then shifting attention to the square to the left or right

26
New cards

what can the read/write head of a Turing machine do?

move left or right on the tape, replace 0 with 1, 1 with 0, or leave a symbol unchanged

27
New cards

what is a control program for a Turing machine?

a program that specifies the machine’s action in each possible state when confronted with each possible symbol

28
New cards

what actions might be specified by a Turing machine’s control program?

a change of symbol on the square at hand, a movement one square to the left or right, or a change of state

29
New cards

what is the Marrian analysis of a Turing machine at the computational level?

characterization of the multiplication function

30
New cards

what is the Marrian analysis of a Turing machine at the algorithmic level?

0s and 1s, L and R actions, the control program

31
New cards

what is the Marrian analysis of a Turing machine at the implementation level?

physical construction of a Turing machine

32
New cards

for the purpose of computation, does it matter how a Turing machine is constructed or what it’s made of?

no

33
New cards

for the purpose of computation, does it matter that a Turing machine has the capability of assuming different states and acting accordingly in each?

yes

34
New cards

what parts of modern computers can be traced back to Turing machines?

programs are evolved control/action tables, CPU is an evolved read/write head unit, and hard drive is an evolved tape

35
New cards

what makes a function Turing-compatible?

if it can be implemented on a Turing machine

36
New cards

what can a Universal Turing Machine do?

for any Turing-computable procedure, it can simulate any other machine that executes it

37
New cards

what did Turing propose?

mental activity is computation

38
New cards

what is the halting problem?

it is impossible to write a program that determines whether another program will halt

39
New cards

what is the time complexity of a Turing machine?

how much more time the program needs to complete when you increase the size of the size of the input

40
New cards

what does it mean if an algorithm runs in polynomial time?

the number of steps required to compute can be expressed as a polynomial of the input length n

41
New cards

what is the time complexity class of algorithms called?

P

42
New cards

when is a function (usually) computable?

when its solution can be found in polynomial time

43
New cards

what does it mean that polynomial algorithms scale well?

small changes to the size of the input do not typically induce enormous changes to the overall runtime

44
New cards

what is an NP-hard problem?

a problem in which the time required to solve grows exponentially as the problem size grows bc its time complexity can’t be expressed as a polynomial

45
New cards

what does NP-hard mean?

nondeterministic polynomial time

46
New cards

what is an example of an NP-hard problem?

traveling salesman problem