Theory of Computation: Automata and Complexity Study Set
Your Progress
Cards Studied
0 of 200%
Keep it up! You're making great progress
Mastery Level
0 mastered0%
0 learning•20 not started
Theory of Computation: Automata and Complexity Study Set
20 flashcards
Q1:What is a finite automaton?
A:A finite automaton is a theoretical model of computation that takes a string of symbols as input and processes it through a finite number of states using transitions.
Q2:What is the difference between deterministic and non-deterministic finite automata?
A:A deterministic finite automaton (DFA) has a single unique transition for each symbol from every state, while a non-deterministic finite automaton (NFA) can have multiple transitions for the same symbol from a given state.
Q3:What are context-free languages?
A:Context-free languages are those that can be generated by context-free grammars and can be recognized by pushdown automata.
Q4:What is the Turing machine model?
A:A Turing machine is a mathematical model that defines computation via an infinite tape, a head that can read and write symbols, and a set of states that dictate the machine's operations.
Q5:What does the Chomsky hierarchy classify?
A:The Chomsky hierarchy classifies formal languages into four types: regular, context-free, context-sensitive, and recursively enumerable.
Q6:What is the P vs NP question?
A:The P vs NP question asks whether every problem whose solution can be quickly verified can also be quickly solved.
Q7:What is a decision problem?
A:A decision problem is a problem that can be posed as a yes/no question regarding an input.
Q8:What is the significance of the halting problem?
A:The halting problem is significant because it demonstrates that there are some problems that cannot be solved by any algorithm, establishing limits on what can be computed.
Q9:What is a regular language?
A:A regular language is a category of languages that can be described using regular expressions and recognized by finite automata.
Q10:What is NP-completeness?
A:NP-completeness refers to a class of decision problems for which every problem in NP can be reduced to them in polynomial time, and if one NP-complete problem can be solved in polynomial time, all NP problems can.
Q11:What is a pushdown automaton?
A:A pushdown automaton is a type of automaton that employs a stack to keep track of additional information, allowing it to recognize context-free languages.
Q12:What characterizes a context-sensitive grammar?
A:A context-sensitive grammar allows production rules where the length of the string on the left-hand side can be less than or equal to the right-hand side, and it's more powerful than context-free grammars.
Q13:What is polynomial time?
A:Polynomial time refers to the computational complexity of an algorithm that can be completed in a time that is a polynomial function of the size of the input.
Q14:What are log-space and space complexity?
A:Log-space complexity refers to the amount of memory space an algorithm uses, which is logarithmic relative to the input size.
Q15:What does UTM stand for and what is its significance?
A:UTM stands for Universal Turing Machine; it is significant because it can simulate any other Turing machine, demonstrating the concept of universality in computation.
Q16:What is an undecidable problem?
A:An undecidable problem is a problem for which no algorithm can be constructed that will always lead to a correct yes or no answer.
Q17:What is a language recognition problem?
A:A language recognition problem involves determining whether a given string belongs to a specific language defined by a grammar.
Q18:What is the relationship between languages and automata?
A:The relationship is that different classes of languages can be recognized by corresponding types of automata.
Q19:How is the complexity of a problem defined?
A:The complexity of a problem is defined by the resources required to solve the problem, such as time and space.
Q20:What is a semidecidable language?
A:A semidecidable language is one for which there exists a Turing machine that will accept any string that belongs to the language but may loop indefinitely on strings that do not.
1 of 20
Term
What is a finite automaton?
Click to reveal answer
Spaceto flip
