Theory of Computer Science (TOC)
Reference Books TOC
Slno Books Name Author Publications 1. Introduction to the Theory of Computation Michael Sipser Cengage Learning 2. Introduction to Automata Theory, Languages, and Computation John E. Hopcroft, Rajeev Motwani, Jeffrey D. Ullman Pearson / Addison-Wesley 3. Formal Languages and Automata Theory Peter Linz Jones & Bartlett Learning 4. Theory of Read more…
![]()
Theory of Computer Science (TOC)
Interview Questions TOC
(List of Most Asking Interview Questions TOC or Automata Theory) Ques. : TOC stands for. Ques. : What is Automata Theory in TOC? Ques. : What is the importance of Automata Theory in TOC? Ques. : What is Regular Language in TOC? Ques. : What is Formal Language Theory in Read more…
![]()
Theory of Computer Science (TOC)
Miscellaneous Topics TOC
Terminology related to TOC 1. Alphabet (Σ) It is a finite, non-empty set of symbols. For example: Σ = {a, b} 2. String It is a finite sequence of symbols from an alphabet. For example: abba 3. Language (L) It is a set of strings over an alphabet. For example: Read more…
![]()
Theory of Computer Science (TOC)
Difference Between TOC
Difference between TOC in DFA and NFA Slno Similarities 1. Both are transition functions of automata. 2. Both have same power. 3. Slno DFA NFA/NDFA 1. Stands for “Deterministic Finite Automata”. Stands for “Non-deterministic Finite Automata”. 2. No empty string transitions occurs in DFA. Empty string transitions may also possible. Read more…
![]()
Theory of Computer Science (TOC)
Recursive Function Theory
Introduction Recursive Function Theory is a branch of the theory of computation that studies computable functions, that is, functions that can be calculated using a finite procedure or algorithm. It provides a mathematical foundation for understanding what problems can be solved by a computer. Definition Recursive Function Theory deals with Read more…
![]()
Theory of Computer Science (TOC)
Chomsky Classification
Introduction The concept of Chomsky Classification was developed by linguist Noam Chomsky in 1956. The Chomsky Classification is also known as the Chomsky hierarchy. Definition The Chomsky Classification is a hierarchy that categorizes grammars and languages into four types based on their generative power and computational models. The Chomsky hierarchy is a classification of Read more…
![]()
Theory of Computer Science (TOC)
Turing Machine (TM)
Introduction The Turing Machine (TM) was proposed by Alan Turing (1936). Definition A Turing Machine is an abstract machine or theoretical computational model that manipulates symbols on an infinite tape according to a set of rules. A Turing Machine is defined in a 7-tuple form: M=(Q,Σ,Γ,δ,q0,B,F) where, Q = Finite set of Read more…
![]()
Theory of Computer Science (TOC)
Push Down Automata (PDA)
Introduction A Push-Down Automata (PDA) is a type of automaton (abstract machine) used in the theory of computation. Definition Pushdown automata are an abstract computational model that uses a stack to recognize context-free languages. A Push-Down Automaton is a finite automaton with a stack that allows push and pop operations Read more…
![]()