Unit 1: FINITE AUTOMATA - Practice Quiz

CSE322 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 What is an alphabet in the context of Automata Theory?

A. A finite, non-empty set of symbols
B. An infinite set of characters
C. A finite set of states
D. A set of all possible words over a language

2 Which of the following represents the set of all possible strings over an alphabet , including the empty string?

A.
B.
C.
D.

3 What is the length of the empty string, denoted by ?

A. 0
B. 1
C. Undefined
D.

4 If an alphabet , which of the following correctly represents ?

A.
B.
C.
D.

5 The operation of appending one string to the end of another string is known as?

A. Intersection
B. Union
C. Concatenation
D. Kleene Star

6 A Deterministic Finite Automaton (DFA) is mathematically defined as a?

A. 4-tuple
B. 5-tuple
C. 6-tuple
D. 7-tuple

7 In the formal definition of a DFA, , what does represent?

A. The set of final states
B. A finite set of states
C. A finite set of input symbols
D. The transition function

8 In a DFA, what is the mathematical mapping of the transition function ?

A.
B.
C.
D.

9 Which of the following computational models requires no auxiliary memory (like a stack or tape)?

A. Linear Bounded Automaton
B. Pushdown Automaton
C. Finite Automaton
D. Turing Machine

10 In a DFA, for a given state and a specific input symbol, how many transitions are possible?

A. Zero or one
B. Exactly one
C. More than one
D. Exactly zero

11 In a Non-deterministic Finite Automaton (NDFA), the transition function maps to?

A.
B.
C.
D.

12 Which of the following features is permitted in an NDFA but NOT in a standard DFA?

A. It accepts formal languages
B. It has a finite set of states
C. It has a designated start state
D. Multiple transitions from a single state on the same input symbol

13 An -NFA allows transitions without reading any input symbol. What does represent in this context?

A. An error state
B. End of file
C. The empty string
D. A wild-card character

14 Is every DFA also an NDFA?

A. Yes, but only if the language is finite.
B. No, because they accept different classes of languages.
C. Yes, a DFA is a special case of an NDFA where each state has exactly one transition per input symbol.
D. No, because a DFA does not allow multiple transitions.

15 Regarding their computational power (the ability to recognize languages), how do DFA and NDFA compare?

A. DFA is more powerful than NDFA
B. NDFA is more powerful than DFA
C. They have equal computational power
D. It depends on the size of the alphabet

16 In a transition diagram (graph) of a Finite Automaton, what do the vertices (nodes) represent?

A. Input symbols
B. Transitions
C. Final languages
D. States

17 How is the start state typically denoted in a transition diagram?

A. By a shaded node
B. By an incoming arrow not originating from any other state
C. By a double circle
D. By a dotted circle

18 What does the extended transition function compute in a DFA?

A. The set of all possible initial states
B. The next state after reading a single symbol
C. The final state reached from state after reading the entire string
D. The length of the string

19 For a DFA, what is the value of ?

A. An empty set
B.
C.
D. The final state

20 For a DFA, which equation correctly represents the recursive definition of the extended transition function for a string (where and )?

A.
B.
C.
D.

21 A string is strictly accepted by a DFA if and only if?

A.
B.
C.
D.

22 The language accepted by a DFA , denoted as , is formally defined as?

A.
B.
C.
D.

23 In an NDFA, a string is considered accepted if the set of states reached after reading from the start state?

A. Contains all states of
B. Contains at least one state in
C. Contains no states in
D. Is exactly equal to

24 A state from which the machine cannot reach any final state for any sequence of input symbols is known as a?

A. Dead state (or Trap state)
B. Accepting state
C. Start state
D. Final state

25 If a DFA processes an input string completely and halts in a state that does not belong to , the string is?

A. Accepted
B. Looped infinitely
C. Rejected
D. Passed to an NDFA

26 The standard algorithm used to convert an NDFA to an equivalent DFA is known as?

A. Subset Construction Algorithm
B. State Elimination Method
C. Myhill-Nerode Construction
D. Hopcroft's Algorithm

27 If an NDFA has exactly states, what is the theoretical maximum number of states in its equivalent constructed DFA?

A.
B.
C.
D.

28 Two finite automata and are strictly said to be equivalent if?

A.
B. Both are deterministic
C. They have identical transition diagrams
D. They have the same number of states

29 During the conversion from NDFA to DFA using the Subset Construction algorithm, a state in the resulting DFA is marked as a final state if?

A. It contains at least one final state of the NDFA
B. It contains all the states of the NDFA
C. It contains only final states of the NDFA
D. It is the start state of the NDFA

30 To process strings in an -NFA, one uses the -closure. What is the -closure of a state ?

A. The set of all states reachable from without consuming any input symbol (including itself)
B. The set of all states reachable from on a specific input symbol
C. The set of final states reachable from
D. The state only

31 A Moore machine is a finite state machine with output. In a Moore machine, the output depends on?

A. The initial state
B. Both the current state and the current input
C. Only the current state
D. Only the current input

32 A Mealy machine is a finite state machine with output. In a Mealy machine, the output depends on?

A. Only the current state
B. Both the current state and the current input
C. The final state
D. Only the current input

33 In a Moore machine, if an input string of length is processed, what is the length of the generated output string?

A.
B.
C.
D.

34 In a Mealy machine, if an input string of length is processed, what is the length of the generated output string?

A.
B.
C.
D.

35 Let be the output alphabet. In the 6-tuple formal definition of a Moore machine, the output function maps from?

A.
B.
C.
D.

36 Let be the output alphabet. In the 6-tuple formal definition of a Mealy machine, the output function maps from?

A.
B.
C.
D.

37 Which of the following statements about Mealy and Moore machines is TRUE?

A. For every Moore machine, there is an equivalent Mealy machine and vice versa
B. Mealy machines have more computational power than Moore machines
C. Neither machine can be converted into the other
D. Moore machines have more computational power than Mealy machines

38 The process of reducing the number of states of a DFA to construct an equivalent DFA with the fewest possible states is called?

A. Subset Construction
B. Thompson's Construction
C. DFA Minimization
D. DFA Maximization

39 In the table-filling algorithm for DFA minimization, two states and are initially marked as distinguishable (0-distinguishable) if?

A. Both are non-final states
B. One is a final state and the other is a non-final state
C. Both are final states
D. Both have self-loops

40 Two states and in a DFA are said to be equivalent if, for every string , transitions from and on lead to?

A. Dead states
B. The start state
C. States that are either both final or both non-final
D. The exact same state

41 What is the first necessary step before applying a DFA minimization algorithm?

A. Removing all final states
B. Making all states accepting
C. Removing all unreachable states from the start state
D. Converting the DFA to an NDFA

42 The minimum state DFA recognizing a given regular language is?

A. Unique up to isomorphism (renaming of states)
B. Always containing a single final state
C. Never unique
D. Dependent on the initial NDFA

43 Which theorem provides the mathematical foundation for DFA minimization and states that a language is regular if and only if it has a finite number of equivalence classes?

A. Pumping Lemma
B. Arden's Theorem
C. Kleene's Theorem
D. Myhill-Nerode Theorem

44 If a minimized DFA for a language over has exactly one state which is both the initial and the final state, what is ?

A.
B.
C. The set of all strings ending in 0
D.

45 The class of languages natively accepted by Finite Automata is called?

A. Context-Sensitive Languages
B. Recursively Enumerable Languages
C. Regular Languages
D. Context-Free Languages

46 If a language is accepted by a DFA, then its complement is?

A. Never Regular
B. Always Regular
C. Context-Free but not Regular
D. Undecidable

47 How can one easily construct a DFA for the complement language given a complete DFA for ?

A. Convert it to an NDFA
B. Change the start state to a final state
C. Reverse all transition arrows
D. Swap the sets of final and non-final states

48 Which of the following is NOT a true property of regular languages?

A. Closed under union
B. Accepted by a Finite Automaton
C. Can represent strings requiring an unbounded memory (like for )
D. Closed under intersection

49 Consider a structurally valid finite automaton with states and transitions, but possessing no final states. What language does it accept?

A. The empty language
B.
C. All strings of length 1
D.

50 A regular language must consist of a finite number of strings. Is this statement true or false?

A. False, finite automata can accept infinite languages like .
B. True, because finite automata have finite memory.
C. True, infinite languages require Turing Machines.
D. False, regular languages cannot be finite.