Automata and Language Theory

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

18 Terms

1
New cards

Power set of {1, 2}

{ }, {1}, {2}, {1, 2}

2
New cards

Is the empty set a subset of every set

Yes, and every set is also a subset of itself

3
New cards

Is {a} an element of {a, b}

No, the elements are a and b, but {a} is a subset of {a, b}

4
New cards

Asymmetric versus antisymmetric

Asymmetric means antisymmetric and also no loops (a, a) allowed

5
New cards

Is antisymmetric the opposite of symmetric

No, a relation can be both, such as the identity relation

6
New cards

Complete DFA

A DFA with a transition defined for every state and symbol pair

7
New cards

Language of a DFA, L(M)

The set of all strings that the DFA accepts

8
New cards

Why are NFAs often preferred for design

They are usually smaller and easier to write, while DFAs are easier to run

9
New cards

Conversion chain from regex to DFA

Regular expression to epsilon NFA to NFA to DFA

10
New cards

Epsilon closure with a chain

If q0 goes to q1 and q1 goes to q2 by epsilon, then ECLOSE(q0) = {q0, q1, q2}

11
New cards

0*1?

Any number of 0s, optionally followed by a single 1

12
New cards

1(0101)

Binary strings with an even number of 0s

13
New cards

r + ∅

Equals r

14
New cards

ε*

Equals ε

15
New cards

Is concatenation commutative

No, ab is not the same as ba

16
New cards

Mealy to Moore start state

Use the copy of the original start state with output 0, because Moore prints an extra leading symbol

17
New cards

Mealy bit flipper on input 1011

Output is 0100

18
New cards

Moore output for 3 inputs

4 output symbols, because the start state prints first