Cum. Final Flashcards
(94 cards)
The empty set can be written as ∅ or {}.
T
The concatenation of two strings x and y is the string containing all symbols of x in the order, followed by all the symbols of y in order.
T
For any string x, xɛ = ɛx = x.
T
{} = {ɛ}
F
The Kleene closure of an alphabet can be a finite set.
T
A language is a sequence over some fixed alphabet.
F
The language defined by a DFA M is the set of strings over Σ.
F
In a state transition diagram, the labels of states can impact the behavior of the machine being represented.
F
A string x ∈ Σ* is accepted by a DFA M = (Q,Σ,δ,q0, F) if and only if δ*(q0,x)∈F.
T
The regular languages are closed under complement.
T
If L1 and L2 are languages, the intersection of L1 and L2 is L1 ∩ L2 = {x|x∈L1 or x∈L2}
F
If L is a regular language, its complement must also be a regular language.
T
Regular languages are not closed under intersection.
F
Regular languages are closed under union.
T
What is the definition of an alphabet?
An alphabet is a non-empty, finite set of symbols.
What is the definition of a string?
A string is a finite sequence of zero or more symbols.
How many elements are in {ɛ}
1
The Kleene closure of an alphabet Σ, written Σ*, contains what?
The set of all strings over Σ.
What is the definition of a language?
A set of strings over some fixed alphabet.
What indicates the accept state in a state transition diagram?
A double circle.
How is the start state indicated in a state transition diagram?
An arrow.
What kinds of languages are recognized by DFAs?
regular languages.
What set operation forms the set of all pairs using elements from two sets?
Cartesian Cross Product.
What is the only difference between the product construction of the DFA for the union of two languages and the DFA for the intersection of the same two languages?
The intersection only accepts both accept states from the languages. The union will accept either or both accept states.