Formal Languages and Automata Theory - Unit-1
ATo recognize patterns
BTo perform arithmetic operations
CTo manage memory
DTo process data
Correct Answer
To recognize patterns
AStrings
BMemory
CRegisters
DProcessing power
Correct Answer
Strings
AA sequence of states
BA sequence of symbols
CA set of rules
DA single character
Correct Answer
A sequence of symbols
AText Search
BSorting numbers
CArithmetic calculations
DData storage
Correct Answer
Text Search
AHaving a single transition for every symbol
BHaving multiple transitions for the same input
CBeing deterministic
DUsing no transitions
Correct Answer
Having multiple transitions for the same input
ATransitions with no input
BState-based transitions
CDirect transitions to other states
DInfinite loops
Correct Answer
Transitions with no input
AA set of states, alphabet, transition function, start state, and accept state(s)
BOnly a set of states
CA set of transition rules
DA set of symbols and states
Correct Answer
A set of states, alphabet, transition function, start state, and accept state(s)
ABy following a unique path from start to an accepting state
BBy making random transitions
CBy using loops
DBy reading symbols and making no transitions
Correct Answer
By following a unique path from start to an accepting state
AThe language consists of all possible strings
BThe language consists of strings that the DFA accepts
CThe language includes infinite symbols
DThe language includes only empty strings
Correct Answer
The language consists of strings that the DFA accepts
ANFA minimization
Bε-NFA removal
CDFA conversion
DNFA to DFA
Correct Answer
ε-NFA removal
AOutput depends on the current state only
BOutput depends on the state and input
COutput is always zero
DThere is no output
Correct Answer
Output depends on the current state only
ACurrent state
BCurrent state and input symbol
CPrevious state
DRandom transitions
Correct Answer
Current state and input symbol
AUndefined for some states
BDeterministic for each state
CNon-deterministic for each state
DBased on ε-transitions
Correct Answer
Deterministic for each state
AA set of characters or symbols
BThe set of states
CThe set of transitions
DA group of languages
Correct Answer
A set of characters or symbols
AIt can have multiple transitions for the same input
BIt has only one transition for each symbol
CIt accepts no strings
DIt has no start state
Correct Answer
It can have multiple transitions for the same input
ANFAs require fewer states
BNFAs are easier to implement
CNFAs can process strings faster
DNFAs can accept a wider variety of languages
Correct Answer
NFAs require fewer states
AA DFA has multiple paths for the same input
BA DFA has one path for each input symbol
CA DFA doesn't need a start state
DA DFA has non-deterministic transitions
Correct Answer
A DFA has one path for each input symbol
AA unique DFA state
BA set of transitions
CAn accepting state
DAn epsilon-transition
Correct Answer
A unique DFA state
AFinite Automata
BTuring Machines
CPushdown Automata
DRecursive Machines
Correct Answer
Finite Automata
AIt can only accept regular languages
BIt can have multiple paths for the same input
CIt cannot handle epsilon transitions
DIt cannot be represented graphically
Correct Answer
It can only accept regular languages
AIt determines which state the automaton starts in
BIt accepts or rejects the input string
CIt has no function
DIt provides the output
Correct Answer
It determines which state the automaton starts in
AEach state has multiple transitions for each input symbol
BEach state has exactly one transition for each input symbol
CEach state has no transition for any symbol
DThere are no start or accepting states
Correct Answer
Each state has exactly one transition for each input symbol
AIt can have an infinite number of states
BIt can have a finite number of states
CIt has only one state
DIt has at least two states
Correct Answer
It can have a finite number of states
AAn empty string
BA transition without consuming an input symbol
CA special type of state
DA random transition
Correct Answer
A transition without consuming an input symbol
AIdentify all possible subsets of NFA states
BFind the final states in the NFA
CRemove ε-transitions from the NFA
DDefine the alphabet
Correct Answer
Identify all possible subsets of NFA states
AIt reaches a dead state
BIt loops back to the start state
CIt outputs a symbol
DIt stops processing
Correct Answer
It reaches a dead state
AIt can only process strings of length n
BIt can process strings of any length
CIt can only process strings with n symbols
DIt requires exactly n symbols to transition
Correct Answer
It can process strings of any length
ANon-deterministic Finite Automata (NFA)
BTuring Machine
CDeterministic Finite Automata (DFA)
DPushdown Automata
Correct Answer
Non-deterministic Finite Automata (NFA)
AA set of rules defining state transitions
BA list of possible input symbols
CA finite sequence of states
DA set of ε-transitions
Correct Answer
A set of rules defining state transitions
AIt accepts or rejects strings
BIt starts the string processing
CIt defines the alphabet
DIt determines the output
Correct Answer
It accepts or rejects strings
Aq1
Bq2
Cq0
DNo transition
Correct Answer
q2
Aq0
Bq1
Cq2
DNo final state
Correct Answer
q2
Aδ(q0,a)={q1}
Bδ(q0,ϵ)={q1}
Cδ(q0,a)={q0,q1}
Dδ(q0,a)={q0}
Correct Answer
δ(q0,a)={q0,q1}