Test 1 Flashcards
What is an alphabet?
An alphabet is any non-empty finite set of symbols.
What is a string?
A string is a finite sequence of zero or more symbols.
The concatenation of two strings x and y is the string containing all the symbols of x in order, follwed by all the symbols of y in order.
T
What is a language?
A sequence over some fixed alphabet.
In a DFA, an arrow points to one of the states, the unique start state; double circles mark any number of states as accepting states.
T
If at an accepting state, we say that the machine…?
accepts the string.
What is it called when a string can’t reach the accepting state?
it is rejected.
What is the 5-tuple in symbol form?
M=(Q,Σ,δ,qsub0,F)
M = Q, Epsilon, Delta, q sub 0, F
The complement of a machine language is the reverse of the accepting states.
T
If “L” is any regular language, “L Complement” is also a regular language?
T
What are closed under complement?
Regular languages.
What is the product construction theorem?
If L1 and L2 are any regular languages, L1 intersect L2 is also a regular language.
If L1 and L2 are any regular languages, L1 union L2 is not a regular language.
F
For intersections, the new DFA accept when both the original DFAs accept.
T
Four unions, the new DFA accepts when?
Either or both of the original DFAs accept.