Tcs Short Ans
Tcs Short Ans
Definition: A theoretical machine used to recognize regular languages. It has a finite set of states, and
for each state and input symbol, there is exactly one transition to another state.
Definition: Similar to DFA, but can have multiple transitions for the same input symbol from a given
state. NFAs can be converted to equivalent DFAs.
3. Moore Machine
Definition: A finite state machine where the outputs are determined solely by the current state, not
the input.
4. Mealy Machine
Definition: A finite state machine where the outputs depend on both the current state and the
current input.
Definition: An automaton that uses a stack to provide additional memory, allowing it to recognize
context-free languages.
6. Turing Machine
Definition: A theoretical machine that manipulates symbols on a tape according to a set of rules. It is
capable of simulating any algorithm.
7. Regular Expression
Definition: A sequence of characters that define a search pattern, primarily used for string matching
within texts.
8. Regular Grammar
Definition: A type of grammar that produces regular languages. It can be right-linear or left-linear.
9. String
11. Symbol
12. Prefix
13. Suffix
Definition: A grammar that can generate all strings of a context-free language. Used in programming
language design.
15. Reduction
Definition: The process of transforming one problem into another problem, typically to show
complexity relationships.
16. Derivation
Definition: A context-free grammar that can generate the same string in multiple ways, resulting in
multiple parse trees.
19. DPDA (Deterministic Pushdown Automaton)
Definition: A PDA with at most one possible action for each input symbol and stack configuration.
Definition: A PDA that can have multiple possible actions for a given input symbol and stack
configuration.
Definition: A Turing machine that has multiple tapes, each with its own head for reading and writing.
Definition: A multitape Turing machine where the tapes can move in both directions (left and right).
Definition: A Turing machine that can make arbitrary choices from several possibilities during
computation.
Definition: A non-terminal in a context-free grammar that can derive the empty string.
Definition: A production rule in a context-free grammar where a non-terminal maps to a single non-
terminal.