Lecture 8 - Intro Flashcards

1
Q

What can a DFA not recognise?

A

a^nb^n

  • specific numbers of letters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why cannot DFA recognise this?

A

As there are infinitely many values for n , so this means there could be an infinite amount of states

-> this is a FINITE machine

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

How to recognise a^nb^n?

A

We need some sort of memory

  • e.g. a stack
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is DFA an adequate model of the computer i.e. black box

A

no

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

How can we solve the a^nb^n problem?

A

With a pushdown automata.

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