FLA CHAPTER 2,3 DEFINITIONS Flashcards

(29 cards)

1
Q

What is an alphabet?

A

An alphabet is a finite, non-empty set whose elements are called symbols.

Definition 2.2.1

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

Define a word in an alphabet Σ.

A

A word in an alphabet Σ is a finite sequence of symbols from Σ.

Definition 2.2.3

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

What denotes the length of a word w?

A

|w| denotes the length of a word w.

Definition 2.2.3

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

What does Σ* represent?

A

Σ* denotes the set of all words in Σ.

Definition 2.2.3

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

What is the empty word denoted by?

A

The empty word is denoted by ε.

Definition 2.2.3

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

Define a computational problem.

A

A computational problem is a function from {0,1}* to {0,1}*.

Definition 2.3.1

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

What is a decision problem?

A

A decision problem is a function from {0,1}* to {0,1}.

Definition 2.3.4

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

What is a language over an alphabet Σ?

A

A language over an alphabet Σ is a subset of Σ*.

Definition 2.4.1

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

What does every word represent according to Principle 2.2.7?

A

Every word is a representation of some object.

Principle 2.2.7

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

True or False: Unary alphabets are suitable for all purposes.

A

False.

Remark 2.2.5

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

Can the focus be restricted to decision problems without loss of generality?

A

Yes.

Remark 2.3.8

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

Define a Turing machine.

A

A tuple M = ⟨Q, Γ, Δ, q_init, q_accept, q_reject, δ⟩ where Q is a finite set of states, Γ is the input alphabet, Δ is the tape alphabet, and δ is the transition function.

Definition 3.2.1

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

What is a configuration in a Turing machine?

A

A configuration is a word in Δ ∪ Q containing exactly one symbol from Q.

Definition 3.2.2

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

What is the initial configuration of a Turing machine M on input x?

A

The initial configuration is q_init x.

Definition 3.2.3

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

What does w ⊢ v signify?

A

It signifies that configuration w transitions to v. w yields v

Definition 3.2.4

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

Define computation in the context of Turing machines.

A

A computation is a sequence of configurations following the yields relation.

Definition 3.2.5

17
Q

What does it mean for a Turing machine M to accept x?

A

M accepts x if the computation contains an accepting configuration.

Definition 3.2.6

18
Q

What is a decider in the context of Turing machines?

A

A decider is a Turing machine that halts on every input.

Definition 3.2.9

19
Q

What does it mean for a decision problem to be solvable?

A

A decision problem is solvable if M(x) = f(x) for all x ∈ Γ*.

Definition 3.2.12

20
Q

What is the definition of decidability?

A

A decision problem is decidable if solvable by some Turing machine.

Definition 3.2.20

21
Q

What is a computable function in relation to Turing machines?

A

A computable function f: Σ* → Σ* is computed if M(x) = f(x) for all x ∈ Σ*.

Definition 3.3.3

22
Q

What is the time function t_M(n)?

A

Maximum number of steps it takes M to run on input of length n:
t_M(n) := max{|C(M,x)| : x ∈ Γⁿ}.

Definition 3.4.3

23
Q

Define the space function S_M(n).

A

Total number of cells a TM M visits during its computation:
S_M(n) := max{S(M,x) : x ∈ Γⁿ}.

Definition 3.4.11

24
Q

What is a Universal Turing Machine?

A

A Universal Turing Machine U(⟨M, x⟩) = M(x) for every M and x.

Definition 3.9.1

25
What does the Church-Turing Thesis state?
Every algorithmically solvable problem can be solved by a Turing machine. ## Footnote Church-Turing Thesis
26
True or False: A Turing machine's program is similar to a switch statement.
True. ## Footnote Remark 3.1.2
27
What is the relationship between S_M(n) and T_M(n) according to Proposition 3.4.12?
For any Turing machine M, S_M(n) ≤ T_M(n). ## Footnote Proposition 3.4.12
28
What does Proposition 3.5.4 state about one-way infinite tape TM?
It can be simulated by two-way infinite tape TM with linear overhead. ## Footnote Proposition 3.5.4
29
What does Proposition 3.5.5 state about two-way infinite tape TM?
It can be simulated by one-way infinite tape TM with quadratic overhead. ## Footnote Proposition 3.5.5