automata Flashcards

1
Q

Every subset of a regular language is regular.

A

F

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

The Dyck language is regular.

A

F

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

If a language L is generated by some context-free grammar, then L is accepted by some PDA.

A

T

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

If L is a language accepted by some PDA, then L is generated by some context-free grammar.

A

T

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

The Kleene closure of every context-free language is context-free.

A

T

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

If a language has an unambiguous context-free grammar, then it is is accepted by some deterministic push-down automaton.

A

F

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

If a language has an ambiguous context-free grammar, then it is is not accepted by any deterministic push-down automaton.

A

F

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

There is a PDA that accepts the language consisting of all C++ programs.

A

F

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

The intersection of any two context-free languages is context-free

A

F

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

The union of any two context-free languages is context-free.

A

T

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

The language {a

mbcn : 0 ≤ m ≤ n} is accepted by some DPDA

A

T

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

The membership problem for context-free languages is decidable.

A

T

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

The equivalence problem for context-free grammars is decidable

A

F

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

Every DFA is an NFA.

A

T

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

Every regular language is context-free

A

T

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

The Kleene closure of every regular language is regular

A

T

17
Q

The language consisting of all hexadecimal numerals for positive integers n such that n % 13 = 7
is regular.

A

T

18
Q

The complement of every regular language is regular

A

T

19
Q

The union of any two regular languages is regular

A

T

20
Q

Every NFA is a DFA

A

F

21
Q

The intersection of any two regular languages is regular

A

T

22
Q

There exists a mathematical proposition that is true, but where no proof of the proposition can
exist.

A

T