Turing machines Flashcards

1
Q

What is the most powerful computational model introduced in this course?

A

The Turing Machine.

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

What are the two components of a Turing Machine?

A

A head (control unit) and a tape (infinite memory).

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

What can a Turing machine do at each step?

A

Read a symbol, write a symbol, and move left or right on the tape.

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

What type of memory does a Turing machine use?

A

An infinite tape of cells storing symbols.

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

What language can a finite automaton not recognize?

A

L = { aⁿbⁿ | n ≥ 0 }

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

What language can a pushdown automaton not recognize?

A

L = { aⁿbⁿcⁿ | n ≥ 0 }

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

What language is undecidable by any machine?

A

The halting problem.

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

What is the formal definition of a Turing machine?

A

A 6-tuple (Q, Σ, Σ₀, s, δ, H) with states, tape alphabet, input alphabet, start state, transition function, and halting states.

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

What symbols must be included in the tape alphabet of a Turing machine?

A

▷ (start-of-tape marker) and ⊔ (blank symbol).

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

What are halting states in a Turing machine?

A

States in which the machine stops executing.

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

Can a Turing machine move left off the tape?

A

No — it cannot move left from the start-of-tape marker ▷.

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

What is a configuration of a Turing machine?

A

A 4-part description (q, u, a, v) — current state, left content, current symbol, right content.

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

How is a computation defined in a Turing machine?

A

A sequence of configurations from the initial to a halting configuration.

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

What does it mean for a Turing machine to accept a word?

A

It halts on the input in an accepting state.

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

What is a semidecidable language?

A

A language where the TM halts for all strings in the language but may run forever on others.

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

What is a decidable language?

A

A language for which a TM halts on all inputs, accepting or rejecting correctly.

17
Q

What is another name for a decidable language?

A

A recursive or Turing-decidable language.

18
Q

What condition must hold for a language to be decidable?

A

Both the language and its complement must be semidecidable.

19
Q

What is the Church-Turing Thesis (informally)?

A

Everything computable by an algorithm can be computed by a Turing machine.

20
Q

What does the Turing machine model provide in theoretical computer science?

A

A precise definition of computation and computability.