1. What is the primary purpose of finite automata in computer science?
A . To recognize patterns
B . To perform arithmetic operations
C . To manage memory
D . To process data
2. Which of the following is a central concept in Automata theory?
A . Strings
B . Memory
C . Registers
D . Processing power
3. In Automata Theory, a string is defined as:
A . A sequence of states
B . A sequence of symbols
C . A set of rules
D . A single character
4. What is an example of an application of Non-deterministic Finite Automata (NFA)?
A . Text Search
B . Sorting numbers
C . Arithmetic calculations
D . Data storage
5. A Non-deterministic Finite Automaton (NFA) differs from a DFA by:
A . Having a single transition for every symbol
B . Having multiple transitions for the same input
C . Being deterministic
D . Using no transitions
6. Which of the following is the main feature of Epsilon-Transitions in NFAs?
A . Transitions with no input
B . State-based transitions
C . Direct transitions to other states
D . Infinite loops
7. The formal definition of a DFA includes which of the following?
A . A set of states, alphabet, transition function, start state, and accept state(s)
B . Only a set of states
C . A set of transition rules
D . A set of symbols and states
8. How does a DFA process strings?
A . By following a unique path from start to an accepting state
B . By making random transitions
C . By using loops
D . By reading symbols and making no transitions
9. Which of the following is true about a DFA`s language?
A . The language consists of all possible strings
B . The language consists of strings that the DFA accepts
C . The language includes infinite symbols
D . The language includes only empty strings
10. Conversion of an NFA with ε-transitions to an NFA without ε-transitions is called:
A . NFA minimization
B . ε-NFA removal
C . DFA conversion
D . NFA to DFA
11. A Moore machine is a type of finite automaton where:
A . Output depends on the current state only
B . Output depends on the state and input
C . Output is always zero
D . There is no output
12. What does a Mealy machine use to determine output?
A . Current state
B . Current state and input symbol
C . Previous state
D . Random transitions
13. The transition function in a DFA is:
A . Undefined for some states
B . Deterministic for each state
C . Non-deterministic for each state
D . Based on ε-transitions
14. What does the term "alphabet" in Automata theory refer to?
A . A set of characters or symbols
B . The set of states
C . The set of transitions
D . A group of languages
15. Which of the following is true about an NFA?
A . It can have multiple transitions for the same input
B . It has only one transition for each symbol
C . It accepts no strings
D . It has no start state
16. What is the main advantage of Nondeterministic Finite Automata over DFAs?
A . NFAs require fewer states
B . NFAs are easier to implement
C . NFAs can process strings faster
D . NFAs can accept a wider variety of languages
17. Which of the following is a characteristic of deterministic finite automata (DFA)?
A . A DFA has multiple paths for the same input
B . A DFA has one path for each input symbol
C . A DFA doesn`t need a start state
D . A DFA has non-deterministic transitions
18. In the process of converting an NFA to a DFA, what is created for each subset of NFA states?
A . A unique DFA state
B . A set of transitions
C . An accepting state
D . An epsilon-transition
19. What type of machine can recognize regular languages?
A . Finite Automata
B . Turing Machines
C . Pushdown Automata
D . Recursive Machines
20. Which of the following is a limitation of a DFA?
A . It can only accept regular languages
B . It can have multiple paths for the same input
C . It cannot handle epsilon transitions
D . It cannot be represented graphically
21. What is the role of the start state in a DFA?
A . It determines which state the automaton starts in
B . It accepts or rejects the input string
C . It has no function
D . It provides the output
22. Which of the following is true about the transition diagram of a DFA?
A . Each state has multiple transitions for each input symbol
B . Each state has exactly one transition for each input symbol
C . Each state has no transition for any symbol
D . There are no start or accepting states
23. How many different states can a DFA have?
A . It can have an infinite number of states
B . It can have a finite number of states
C . It has only one state
D . It has at least two states
24. What does ε represent in an NFA with ε-transitions?
A . An empty string
B . A transition without consuming an input symbol
C . A special type of state
D . A random transition
25. What is the first step in the conversion of an NFA to a DFA?
A . Identify all possible subsets of NFA states
B . Find the final states in the NFA
C . Remove ε-transitions from the NFA
D . Define the alphabet
26. What is the result when a DFA processes a string that it does not accept?
A . It reaches a dead state
B . It loops back to the start state
C . It outputs a symbol
D . It stops processing
27. Which of the following is true for a DFA with n states?
A . It can only process strings of length n
B . It can process strings of any length
C . It can only process strings with n symbols
D . It requires exactly n symbols to transition
28. Which machine is primarily used for text search applications?
A . Non-deterministic Finite Automata (NFA)
B . Turing Machine
C . Deterministic Finite Automata (DFA)
D . Pushdown Automata
29. A transition function in a DFA is represented as:
A . A set of rules defining state transitions
B . A list of possible input symbols
C . A finite sequence of states
D . A set of ε-transitions
30. What is the role of an accepting state in a DFA?
A . It accepts or rejects strings
B . It starts the string processing
C . It defines the alphabet
D . It determines the output
31. Given the NFA transition table below, what is the transition for state q1 on input a?
A . q1
B . q2
C . q0
D . No transition
32. Given the DFA transition table below, what is the final state for the input string "ab"?
A . q0
B . q1
C . q2
D . No final state
33. Convert the following ε-NFA transition to an NFA without ε-transitions: δ(q0,ϵ)={q1}.
A . δ(q0,a)={q1}
B . δ(q0,ϵ)={q1}
C . δ(q0,a)={q0,q1}
D . δ(q0,a)={q0}
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-1 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-2 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-3 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-4 - [ FLAT ]
☞ Formal Languages and Automata Theory (FLAT) MCQs - Unit-5 - [ FLAT ]
☞ R - Programming MCQs - Unit-1 - [ R-Programming ]
☞ R - Programming MCQs - Unit-2 - [ R-Programming ]
☞ R - Programming MCQs - Unit-3 - [ R-Programming ]
☞ R - Programming MCQs - Unit-4 - [ R-Programming ]
☞ R - Programming MCQs - Unit-5 - [ R-Programming ]
☞ PPS MCQs - Unit-1 - [ PPS ]
☞ PPS MCQs - Unit-2 - [ PPS ]
☞ PPS MCQs - Unit-3 - [ PPS ]
☞ PPS MCQs - Unit-4 - [ PPS ]
☞ PPS MCQs - Unit-5 - [ PPS ]
☞ Object Oriented Programming through Java MCQs - Unit-1 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-2 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-3 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-4 - [ OOP_JAVA ]
☞ Object Oriented Programming through Java MCQs - Unit-5 - [ OOP_JAVA ]
☞ Design and Analysis of Algorithms MCQs - Unit-1 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-2 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-3 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-4 - [ DAA ]
☞ Design and Analysis of Algorithms MCQs - Unit-5 - [ DAA ]
☞ Software Engineering MCQs - Unit-1 - [ SE ]
☞ Software Engineering MCQs - Unit-2 - [ SE ]
☞ Software Engineering MCQs - Unit-3 - [ SE ]
☞ Software Engineering MCQs - Unit-4 - [ SE ]
☞ Software Engineering MCQs - Unit-5 - [ SE ]
☞ Data Mining MCQs - Unit-1 - [ DM ]
☞ Data Mining MCQs - Unit-2 - [ DM ]
☞ Data Mining MCQs - Unit-3 - [ DM ]
☞ Data Mining MCQs - Unit-4 - [ DM ]
☞ Data Mining MCQs - Unit-5 - [ DM ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-1 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-2 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-3 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-4 - [ COA ]
☞ Computer Organization and Architecture (COA) Objective Question Bank-Unit-5 - [ COA ]
☞ Data Structures Objective Type Question Bank-Unit-1 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-2 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-3 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-4 - [ DS ]
☞ Data Structures Objective Type Question Bank-Unit-5 - [ DS ]
☞ Database Management System Objective Type Question Bank-Unit-1 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-2 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-3 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-4 - [ DBMS ]
☞ Database Management System Objective Type Question Bank-Unit-5 - [ DBMS ]
☞ Cyber Forensics Objective Type Question Bank-Part-2 - [ Cyber Forensics ]
☞ Cyber Forensics Objective Type Question Bank-Part-1 - [ Cyber Forensics ]
☞ Java Programming Objective Type Question Bank - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-1 - [ Java Programming ]
☞ Java Programming Objective Type Questions-Part-2 - [ Java Programming ]