Week 1 ( Turing machines + automatons) Flashcards

1
Q

5 features of turing machine M

A

M = [ Σ, Q, qinit, qaccept, qreject, δ ]

.Alphabet Σ (finite set of symbols) {a1, ….,ak} | All three
. Finite number of States Q = {q1, … , qk} | Found in
.initial state | DFA, NFA

. Qaccept , Qreject ( specified single rejected and single accepted state)

. Transition function

δ (current state , read symbol) → (new state, write, move)

Transition function like in DFA UNIQUELY DETERMINES next state , HOWEVER it also determines whether we write a symbol to the tape (or leave it unchanged) , and whether we move the tape left or right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Turing machine has how many outcomes

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are these 3 outcomes?

A

Accepted:
Terminates on an accepted state

Rejected:
Terminates on a rejected state

.Undecided ( infinite) :
machine runs forever on input word never terminating

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

M (turing machine)

M(w) := { 1 if M accepts w
{ 0 if M rejects w
{ ↑ if M does not halt ( infinite loop ) on w

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly