Theory of Computation(TOC) is a theoretical branch of Computer Science and Mathematics which mainly deals with the logic of computation with respect to simple machines, referred to as automata. In the beginning, it may appear a little confusing but once you understand the concepts, you’ll find it to be interesting. So let’s explore together!