Terms Flashcards

1
Q

When can rice’s theorem not be used?

A

It cannot be used when referring to properties about the machine.

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

What can rices theorem tell you about a language that is in D?

A

Nothing.

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

How many languages are not in SD?

A

Unaccountably infinite languages

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

Given a TM M is it decidable whether it is minimal?

A

No. It is not even semi-undecidable

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

When working with SD languages we cannot use what on our oracle?

A

the negation cannot be used because we cannot negate something we don’t know will halt

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

Decidable. Examine <M>, the string description of M, and determine whether that string is of
even length.</M>

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

~SD. We would need to try an infinite number of of strings.

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

SD/D. We need to detect that M halts and rejects (instead of looping which cannot be detected) which can be detected by simulation.

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

“Is M a deciding machine” decidable?

A

That question is equivalent to asking whether M halts on all inputs, which is not semi-decidable.

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

Proof for:

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

D, SD/D, or not in SD?

A

~SD. It would require an infinite computation.

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

Regular languages are closed under what?

A

Complement, Intersection, Difference, Reverse and Letter Substitution

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

CFC grammars are closed under what?

A

Union, Concatenation, Kleene Star, Reverse, and Letter Substitution

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

Is TILES in D, SD/D or ~SD? What about ~Tiles?

A

Tiles is in ~SD

~Tiles is in SD/D.

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

Is PCP in D, SD/D or ~SD? What about ~PCP?

A

PCP is in SD

~PCP is in ~SD

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

Can H be reduced to {a}?

A

No

17
Q

Can {a} be reduced to H?

A

Yes:

18
Q

D, SD/D or ~SD?

A

~SD.

The language is asking if Ma halts on epsilon and Mb does not halt on epsilon.

19
Q

D, SD/D or ~SD?

A

~SD.

20
Q

What are the rules for a CFG?

A

To be a context-free grammar (or CFG) each rule must:

  • have a left-hand side that is a single nonterminal, and
  • have a right-hand side.
21
Q

What are the rules for a regular grammar?

A

In a regular grammar, all rules must:

  • have a left-hand side that is a single nonterminal, and
  • have a right-hand side that is ‘epsilon’ or a single terminal or a single terminal followed by a single nonterminal