According to Chomsky hierarchy, grammar is divided into 4 types as follows: Type 0 is known as unrestricted grammar. Type 1 is known as context-sensitive grammar. Type 2 is known as a context-free grammar. Type 3 Regular Grammar. Type 0: Unrestricted Grammar: Type-0 grammars include all formal grammar. Learn about the Chomsky hierarchy, a system for classifying formal grammars and languages in computer science and linguistics. It consists of four levels, from unrestricted to regular, based on the complexity of the grammar and the machines that recognize them. The Chomsky Hierarchy in Theory of Computation, named after the renowned linguist and cognitive scientist Noam Chomsky, is a fundamental concept in the field of theoretical computer science. It classifies formal grammars and languages into four distinct levels, each with increasing expressive power. This hierarchy provides valuable insights into the capabilities and limitations of computational models, shedding light on the nature of computation itself. Introduction to Formal Grammars and ... The Chomsky Hierarchy is defined as a hierarchy of four levels of formal languages, each with its own set of properties and characteristics. The hierarchy is significant because it provides a framework for understanding the complexity of languages and the capabilities of machines that process them.