Unit 9 - Regular Languages Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a mealy machine?

A

A mealy machine is special type of Finite State Machine that generates an output on each state transition.

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

What does a * mean in regular expressions?

A

A * indicates there are 0 or more of the preceding element.

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

What does a + indicate in regular expressions?

A

A + indicates that there are at least one of the preceding element.

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

What does a ? indicate in regular expressions?

A

A ? indicates that there are zero or one of the preceding element.

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

What are the two required states for a Turing machine?

A

A Turing machine must have a start state and at least one halt state.

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

What is the format for a transition function in a state diagram?

A

δ (Current state, Input symbol) = (Next state, Output symbol, Head move)

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

What is the Universal Turing Machine?

A

The Universal Turing Machine was the first Turing machine that could take input data but could also take a Turing machine definition as input, allowing it to represent all Turing machines.

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