Regular Languages Equivalences
- 71Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
71 questions
- 1Regular languages can be characterized by several different equivalent formalisms, even though these formalisms may make different properties appear obvious. These formalisms are equivalent in terms of their_____.
Hint
Think about what it means for two computational models to recognize exactly the same class of languages.
Answer
computation power
- 2A language is called regular exactly when it is defined by some kind of_____.
Hint
Use the standard machine model abbreviated DFA.
Answer
deterministic finite state automaton
- 3In mathematics, a word is a string of symbols drawn from an_____.
Hint
This is the finite set of characters from which strings are formed.
Answer
alphabet
- 4An alphabet is a_____set of characters or symbols.
Hint
The standard finite-automaton model assumes only finitely many possible input symbols.
Answer
finite
- 5Any collection or set of words is called a_____.
Hint
In formal language theory, this term refers to a set of strings.
Answer
language
- 6A regular language is recognized by a machine with a finite amount of_____.
Hint
This limitation is the defining feature of the word 'finite' in finite automata.
Answer
memory
- 7Switching between different equivalent presentations of regular languages is useful because each presentation makes a different set of_____obvious.
Hint
Different viewpoints highlight different features of the same mathematical object.
Answer
properties
- 8The basic machine model introduced for regular languages is the finite state automaton, also called a_____.
Hint
The abbreviation for this machine is DFA.
Answer
deterministic finite automaton
- 9A finite state automaton processes an input word one character at a time, updating its internal_____after each character.
Hint
This is the machine's current memory configuration.
Answer
state
- 10The indicator light of a finite automaton is on at the end of the input when the word is_____by the machine.
Hint
An accepted word belongs to the language recognized by the automaton.
Answer
accepted
- 11If the indicator light is off after the entire input is processed, the word is_____by the machine.
Hint
The word does not belong to the language recognized by the automaton.
Answer
not accepted
- 12Between input characters, a finite state automaton does not change because it has no internal_____.
Hint
The machine is not time-dependent while it waits for the next key.
Answer
clock
- 13A finite state automaton is not connected to external data sources; it changes only in response to the next input_____.
Hint
The machine reads symbols from its input alphabet.
Answer
character
- 14The finite memory of an automaton means that, by the pigeonhole principle, sufficiently long input must eventually return the machine to a state it has visited_____.
Hint
There are more input steps than available states, so a state must repeat.
Answer
before
- 15When a finite automaton revisits a previous state, it has completely forgotten the information from the portion of input between the two visits to that_____.
Hint
The repeated memory configuration makes the earlier and later situations indistinguishable to the machine.
Answer
state
- 16Because finite automata have limited memory, they must process incoming data while discarding some_____.
Hint
They cannot retain the entire input word when the input is arbitrarily large.
Answer
information
- 17A finite state automaton has only a finite number of possible internal memory_____.
Hint
These are the nodes shown in a state diagram.
Answer
states
- 18Finite state automata are intended to model systems in which the incoming data is much larger than the system's internal_____.
Hint
The machine cannot store the entire streaming data set.
Answer
memory
- 19Turing machines differ from finite state automata because their memory is modeled as effectively_____.
Hint
Their tape can provide as much memory as needed for the computation.
Answer
infinite
- 20A real computer with a fixed number of bits has 2n possible memory states when it has n bits; therefore, despite its practical power, it is technically closer to a_____than to a Turing machine.
Hint
Its memory has a finite number of configurations.
Answer
finite state automaton
- 21A real computer may behave like a finite state automaton when it receives a data set large enough that it must begin_____information.
Hint
The machine cannot store the entire data set once its finite memory is overwhelmed.
Answer
tossing out
- 22The contrast between a Turing machine with unbounded tape and a finite state automaton with fixed memory illustrates a_____between the two models.
Hint
The two models represent opposite assumptions about available memory.
Answer
duality
- 23Finite state automata are especially useful abstractions for streaming systems that cannot store an entire incoming_____.
Hint
The system must decide which information to retain as data arrives.
Answer
data set
- 24The purpose of declaring variables in the program analogy is to define exactly how much_____the program will use.
Hint
Variable declarations establish the storage available to the computation.
Answer
memory
- 25In the program analogy, C integers have a finite range, so they can represent only a finite number of possible_____.
Hint
Consider the possible values of all declared variables together.
Answer
configurations
- 26In a state diagram, each state is represented as a_____and each input-dependent state change is represented as an arrow.
Hint
Think of the standard graphical representation of a directed graph.
Answer
node
- 27If an automaton is in state 1 and reads the character c, the arrow labeled c determines the state it will_____.
Hint
The transition specifies the machine's next state.
Answer
wind up in
- 28For a deterministic automaton, each state must have exactly one outgoing arrow for each possible input_____.
Hint
There cannot be two possible destinations for the same state-symbol pair.
Answer
character
- 29The property that an automaton has no uncertainty or randomness in its transitions is called_____.
Hint
This is the word represented by the D in DFA.
Answer
deterministic
- 30An arrow entering the start state from outside a state diagram indicates the automaton's_____state.
Hint
This is the state where processing begins after the machine is reset.
Answer
initial
- 31Before processing a new word, the automaton is reset completely to its_____state.
Hint
This ensures that the same input always receives the same answer.
Answer
initial
- 32A state drawn with a double circle is called an_____state.
Hint
The indicator light is on when the machine finishes in this type of state.
Answer
accept
- 33A word is accepted precisely when the automaton finishes reading it in one of its_____states.
Hint
These are represented by double circles in a diagram.
Answer
accept
- 34An automaton may have more than one accept state; the set of accept states can be any_____of the full state set.
Hint
It may contain zero, one, or several of the available states.
Answer
subset
- 35In the example automaton, reading the character b leaves the current state unchanged, so the machine does not track how many_____characters have been read.
Hint
This input acts as a self-loop in every relevant state.
Answer
b
- 36In the example automaton, reading the character a swaps states 0 and 1 while leaving state 2 unchanged; therefore, the machine tracks the_____of a characters.
Hint
The state alternates between two values each time an a is read.
Answer
parity
- 37The example automaton accepts words containing an_____number of a characters.
Hint
An odd number of a symbols leads to state 1, the accepting state.
Answer
odd
- 38The example automaton rejects any word containing the character_____because reading it leads to a trap state.
Hint
This symbol sends the machine to state 2, from which acceptance is impossible.
Answer
c
- 39State 2 in the example automaton is a_____state because once entered, the machine can never reach an accept state.
Hint
This state permanently prevents acceptance.
Answer
trap
- 40The word ba is accepted by the example automaton because it contains an odd number of a characters and no_____characters.
Hint
The forbidden input symbol sends the machine to the trap state.
Answer
c
- 41The word baa is rejected by the example automaton because it contains an_____number of a characters.
Hint
There are two occurrences of a.
Answer
even
- 42The word bacba is rejected because the c sends the automaton to state_____, from which it cannot reach the accept state.
Hint
This is the trap state in the three-state example.
Answer
2
- 43The example language consists exactly of strings over the alphabet {a, b, c} that contain an odd number of a symbols and_____c symbols.
Hint
Any c causes immediate rejection.
Answer
no
- 44A transition function, conventionally written using the lowercase Greek letter delta, takes the current state and the input_____as its two arguments.
Hint
This is the symbol currently being read from the input.
Answer
character
- 45If the transition function receives state 1 and input c in the example, its output is state_____.
Hint
Follow the c-labeled arrow leaving state 1.
Answer
2
- 46A complete transition function allows a finite automaton to be represented as a_____showing the next state for each current-state and input pair.
Hint
This representation lists inputs and their corresponding outputs in rows or columns.
Answer
table
- 47Instead of using one transition function with two inputs, one can define a separate function from the set of states to itself for each input_____.
Hint
For the example, there is one function for a, one for b, and one for c.
Answer
character
- 48In the example, the function associated with input a swaps states 0 and 1 while leaving state_____unchanged.
Hint
This state is the trap state for the character c.
Answer
2
- 49In the example, the function associated with input b is the_____function because it returns every state unchanged.
Hint
An identity function maps each element to itself.
Answer
identity
- 50In the example, the function associated with input c always outputs state_____.
Hint
This is the trap state reached whenever c is read.
Answer
2
- 51The graph perspective represents every accepted word as a path from the_____state to an accept state.
Hint
This is the state marked by an arrow entering from outside the diagram.
Answer
start
- 52A finite automaton is formally described by a tuple containing the alphabet, the set of states, the start state, the transition function, and the set of_____states.
Hint
These are the double-circled states that cause the machine to accept.
Answer
accept
- 53In the formal DFA tuple, the symbol sigma denotes the machine's_____.
Hint
For the example, it contains the symbols a, b, and c.
Answer
alphabet
- 54The set of states in a finite state automaton must be_____.
Hint
This property is essential to the machine model's limited memory.
Answer
finite
- 55For the example automaton, the alphabet is the finite set containing the symbols_____.
Hint
These are the three keys used as input in the example.
Answer
a, b, and c
- 56For the example automaton, the set of states is_____.
Hint
The diagram contains three numbered states.
Answer
0, 1, and 2
- 57The designated state where a DFA begins processing every word is called the_____state.
Hint
It is also described as the initial state.
Answer
start
- 58The set of accept states in a DFA can contain any_____of the set of all states.
Hint
It need not contain exactly one state.
Answer
subset
- 59The program analogy begins by declaring variables, then initializing them to the automaton's_____state.
Hint
The program must establish its initial memory configuration before reading input.
Answer
start
- 60The program's input-processing loop continues until it encounters EOF, meaning_____.
Hint
This marker indicates that no more input remains.
Answer
end of file
- 61During each iteration of the input loop, a finite-state program modifies its memory based on the current input_____.
Hint
This is the same role played by an input symbol in a DFA.
Answer
character
- 62The digit-counting program illustrates that fixed-size integer variables have only finitely many values, so sufficiently large counts can become_____.
Hint
The program cannot represent values beyond the bounded integer range.
Answer
inaccurate
- 63The C function mentioned as a way to request additional memory is called_____.
Hint
Its name abbreviates memory allocation.
Answer
malloc
- 64A useful diagnostic question for a computer program is whether it fundamentally looks like a_____.
Hint
Ask whether it has fixed memory, reads input sequentially, and updates that memory.
Answer
finite state automaton
- 65One perspective on finite automata views them as collections of functions from a finite set of states to_____.
Hint
Each input symbol induces a function whose domain and codomain are the state set.
Answer
itself
- 66Another perspective views finite automata as paths through a_____.
Hint
States are nodes and transitions are labeled arrows.
Answer
graph
- 67A third useful perspective views a finite automaton as a particular type of computer_____.
Hint
This viewpoint focuses on variables, input loops, and memory updates.
Answer
program
- 68In the graph perspective, an accepted word corresponds to a path from the start state to one of the_____states.
Hint
These are the states that make the indicator light turn on.
Answer
final
- 69The function perspective and the graph perspective are equivalent ways of describing the same_____automaton.
Hint
Both representations specify the same states and transitions.
Answer
finite state
- 70The ability to use several equivalent descriptions helps researchers analyze regular languages from different_____.
Hint
One can switch viewpoints when a property is difficult to see in the current representation.
Answer
perspectives
- 71The broader study of regular languages and finite automata can also provide information about the formulas that are true of particular_____.
Hint
This connects automata theory to model theory.
Answer
structures

Ask anything
We've read this whole study set, so questions about it get the best answers.