{"id":2868,"date":"2025-06-07T15:54:03","date_gmt":"2025-06-07T15:54:03","guid":{"rendered":"https:\/\/diznr.com\/?p=2868"},"modified":"2025-06-07T15:54:03","modified_gmt":"2025-06-07T15:54:03","slug":"gate-1991-subject-theory-of-computation-topic-automata-finite","status":"publish","type":"post","link":"https:\/\/www.reilsolar.com\/pdf\/gate-1991-subject-theory-of-computation-topic-automata-finite\/","title":{"rendered":"GATE 1991 Subject &#8211; Theory Of Computation Topic -Finite Automata."},"content":{"rendered":"<p>GATE 1991 Subject &#8211; Theory Of Computation Topic -Finite Automata.<\/p>\n<p>[fvplayer id=&#8221;152&#8243;]<\/p>\n<h3 class=\"\" data-start=\"0\" data-end=\"64\"><strong data-start=\"4\" data-end=\"62\">\u00a0Finite Automata \u2013 GATE 1991 (Theory of Computation)<\/strong><\/h3>\n<p class=\"\" data-start=\"66\" data-end=\"238\">Finite Automata (FA) is a key topic in <strong data-start=\"105\" data-end=\"136\">Theory of Computation (TOC)<\/strong> and is used to recognize <strong data-start=\"162\" data-end=\"183\">Regular Languages<\/strong>. It is one of the fundamental models of computation.<\/p>\n<h3 data-start=\"245\" data-end=\"284\"><strong data-start=\"248\" data-end=\"284\">\u00a0Definition of Finite Automata<\/strong><\/h3>\n<p class=\"\" data-start=\"285\" data-end=\"376\">A <strong data-start=\"287\" data-end=\"312\">Finite Automaton (FA)<\/strong> is formally defined as a <strong data-start=\"338\" data-end=\"366\">5-tuple (Q, \u03a3, \u03b4, q\u2080, F)<\/strong>, where:<\/p>\n<ul data-start=\"377\" data-end=\"636\">\n<li class=\"\" data-start=\"377\" data-end=\"412\">\n<p class=\"\" data-start=\"379\" data-end=\"412\"><strong data-start=\"379\" data-end=\"384\">Q<\/strong> \u2192 A finite set of states.<\/p>\n<\/li>\n<li class=\"\" data-start=\"413\" data-end=\"466\">\n<p class=\"\" data-start=\"415\" data-end=\"466\"><strong data-start=\"415\" data-end=\"420\">\u03a3<\/strong> \u2192 A finite set of input symbols (Alphabet).<\/p>\n<\/li>\n<li class=\"\" data-start=\"467\" data-end=\"536\">\n<p class=\"\" data-start=\"469\" data-end=\"536\"><strong data-start=\"469\" data-end=\"496\">\u03b4 (Transition Function)<\/strong> \u2192 Defines transitions between states.<\/p>\n<\/li>\n<li class=\"\" data-start=\"537\" data-end=\"582\">\n<p class=\"\" data-start=\"539\" data-end=\"582\"><strong data-start=\"539\" data-end=\"559\">q\u2080 (Start State)<\/strong> \u2192 The initial state.<\/p>\n<\/li>\n<li class=\"\" data-start=\"583\" data-end=\"636\">\n<p class=\"\" data-start=\"585\" data-end=\"636\"><strong data-start=\"585\" data-end=\"605\">F (Final States)<\/strong> \u2192 A set of accepting states.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"643\" data-end=\"677\"><strong data-start=\"646\" data-end=\"677\">\u00a0Types of Finite Automata<\/strong><\/h3>\n<p class=\"\" data-start=\"678\" data-end=\"734\">Finite Automata can be classified into two main types:<\/p>\n<div class=\"overflow-x-auto contain-inline-size\">\n<table data-start=\"736\" data-end=\"1078\">\n<thead data-start=\"736\" data-end=\"783\">\n<tr data-start=\"736\" data-end=\"783\">\n<th data-start=\"736\" data-end=\"747\"><strong data-start=\"738\" data-end=\"746\">Type<\/strong><\/th>\n<th data-start=\"747\" data-end=\"765\"><strong data-start=\"749\" data-end=\"764\">Description<\/strong><\/th>\n<th data-start=\"765\" data-end=\"783\"><strong data-start=\"767\" data-end=\"781\">Recognizes<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"830\" data-end=\"1078\">\n<tr data-start=\"830\" data-end=\"951\">\n<td><strong data-start=\"832\" data-end=\"871\">DFA (Deterministic Finite Automata)<\/strong><\/td>\n<td>Exactly one transition per input symbol from each state<\/td>\n<td>Regular Languages<\/td>\n<\/tr>\n<tr data-start=\"952\" data-end=\"1078\">\n<td><strong data-start=\"954\" data-end=\"996\">NFA (Nondeterministic Finite Automata)<\/strong><\/td>\n<td>Multiple transitions for the same input symbol or \u03b5-moves<\/td>\n<td>Regular Languages<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p class=\"\" data-start=\"1080\" data-end=\"1163\"><strong data-start=\"1082\" data-end=\"1161\">Both DFA and NFA recognize the same class of languages (Regular Languages).<\/strong><\/p>\n<h3 data-start=\"1170\" data-end=\"1196\"><strong data-start=\"1173\" data-end=\"1194\">\u00a0Example of DFA<\/strong><\/h3>\n<h3 class=\"\" data-start=\"1198\" data-end=\"1257\"><strong data-start=\"1202\" data-end=\"1215\">Language:<\/strong> Strings over <code data-start=\"1229\" data-end=\"1236\">{0,1}<\/code> that end with <code data-start=\"1251\" data-end=\"1254\">1<\/code>.<\/h3>\n<h3 class=\"\" data-start=\"1259\" data-end=\"1288\"><strong data-start=\"1263\" data-end=\"1286\">DFA Representation:<\/strong><\/h3>\n<p class=\"\" data-start=\"1289\" data-end=\"1384\">States: <code data-start=\"1297\" data-end=\"1307\">{q0, q1}<\/code><br data-start=\"1307\" data-end=\"1310\" \/>Alphabet: <code data-start=\"1320\" data-end=\"1327\">{0,1}<\/code><br data-start=\"1327\" data-end=\"1330\" \/>Start State: <code data-start=\"1343\" data-end=\"1347\">q0<\/code><br data-start=\"1347\" data-end=\"1350\" \/>Final State: <code data-start=\"1363\" data-end=\"1367\">q1<\/code><br data-start=\"1367\" data-end=\"1370\" \/>Transitions:<\/p>\n<div class=\"overflow-x-auto contain-inline-size\">\n<table data-start=\"1386\" data-end=\"1492\">\n<thead data-start=\"1386\" data-end=\"1419\">\n<tr data-start=\"1386\" data-end=\"1419\">\n<th data-start=\"1386\" data-end=\"1394\">State<\/th>\n<th data-start=\"1394\" data-end=\"1406\">Input <code data-start=\"1402\" data-end=\"1405\">0<\/code><\/th>\n<th data-start=\"1406\" data-end=\"1419\">Input <code data-start=\"1414\" data-end=\"1417\">1<\/code><\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"1451\" data-end=\"1492\">\n<tr data-start=\"1451\" data-end=\"1471\">\n<td><strong data-start=\"1453\" data-end=\"1459\">q0<\/strong><\/td>\n<td>q0<\/td>\n<td>q1<\/td>\n<\/tr>\n<tr data-start=\"1472\" data-end=\"1492\">\n<td><strong data-start=\"1474\" data-end=\"1480\">q1<\/strong><\/td>\n<td>q1<\/td>\n<td>q1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p class=\"\" data-start=\"1494\" data-end=\"1514\"><strong data-start=\"1496\" data-end=\"1512\">Explanation:<\/strong><\/p>\n<ul data-start=\"1515\" data-end=\"1663\">\n<li class=\"\" data-start=\"1515\" data-end=\"1533\">\n<p class=\"\" data-start=\"1517\" data-end=\"1533\">Start at <code data-start=\"1526\" data-end=\"1530\">q0<\/code>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"1534\" data-end=\"1574\">\n<p class=\"\" data-start=\"1536\" data-end=\"1574\">If <code data-start=\"1539\" data-end=\"1542\">1<\/code> is encountered, move to <code data-start=\"1567\" data-end=\"1571\">q1<\/code>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"1575\" data-end=\"1621\">\n<p class=\"\" data-start=\"1577\" data-end=\"1621\">Stay in <code data-start=\"1585\" data-end=\"1589\">q1<\/code> if more <code data-start=\"1598\" data-end=\"1601\">1<\/code>s are encountered.<\/p>\n<\/li>\n<li class=\"\" data-start=\"1622\" data-end=\"1663\">\n<p class=\"\" data-start=\"1624\" data-end=\"1663\">Any string ending in <code data-start=\"1645\" data-end=\"1648\">1<\/code> is accepted.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"1670\" data-end=\"1696\"><strong data-start=\"1673\" data-end=\"1694\">\u00a0Example of NFA<\/strong><\/h3>\n<h3 class=\"\" data-start=\"1698\" data-end=\"1757\"><strong data-start=\"1702\" data-end=\"1715\">Language:<\/strong> Strings containing <code data-start=\"1735\" data-end=\"1739\">10<\/code> as a substring.<\/h3>\n<h3 class=\"\" data-start=\"1759\" data-end=\"1788\"><strong data-start=\"1763\" data-end=\"1786\">NFA Representation:<\/strong><\/h3>\n<p class=\"\" data-start=\"1789\" data-end=\"1888\">States: <code data-start=\"1797\" data-end=\"1811\">{q0, q1, q2}<\/code><br data-start=\"1811\" data-end=\"1814\" \/>Alphabet: <code data-start=\"1824\" data-end=\"1831\">{0,1}<\/code><br data-start=\"1831\" data-end=\"1834\" \/>Start State: <code data-start=\"1847\" data-end=\"1851\">q0<\/code><br data-start=\"1851\" data-end=\"1854\" \/>Final State: <code data-start=\"1867\" data-end=\"1871\">q2<\/code><br data-start=\"1871\" data-end=\"1874\" \/>Transitions:<\/p>\n<div class=\"overflow-x-auto contain-inline-size\">\n<table data-start=\"1890\" data-end=\"2016\">\n<thead data-start=\"1890\" data-end=\"1923\">\n<tr data-start=\"1890\" data-end=\"1923\">\n<th data-start=\"1890\" data-end=\"1898\">State<\/th>\n<th data-start=\"1898\" data-end=\"1910\">Input <code data-start=\"1906\" data-end=\"1909\">0<\/code><\/th>\n<th data-start=\"1910\" data-end=\"1923\">Input <code data-start=\"1918\" data-end=\"1921\">1<\/code><\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"1955\" data-end=\"2016\">\n<tr data-start=\"1955\" data-end=\"1975\">\n<td><strong data-start=\"1957\" data-end=\"1963\">q0<\/strong><\/td>\n<td>q0<\/td>\n<td>q1<\/td>\n<\/tr>\n<tr data-start=\"1976\" data-end=\"1995\">\n<td><strong data-start=\"1978\" data-end=\"1984\">q1<\/strong><\/td>\n<td>q2<\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<tr data-start=\"1996\" data-end=\"2016\">\n<td><strong data-start=\"1998\" data-end=\"2004\">q2<\/strong><\/td>\n<td>q2<\/td>\n<td>q2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p class=\"\" data-start=\"2018\" data-end=\"2038\"><strong data-start=\"2020\" data-end=\"2036\">Explanation:<\/strong><\/p>\n<ul data-start=\"2039\" data-end=\"2187\">\n<li class=\"\" data-start=\"2039\" data-end=\"2057\">\n<p class=\"\" data-start=\"2041\" data-end=\"2057\">Start at <code data-start=\"2050\" data-end=\"2054\">q0<\/code>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"2058\" data-end=\"2091\">\n<p class=\"\" data-start=\"2060\" data-end=\"2091\">If <code data-start=\"2063\" data-end=\"2066\">1<\/code> appears, move to <code data-start=\"2084\" data-end=\"2088\">q1<\/code>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"2092\" data-end=\"2143\">\n<p class=\"\" data-start=\"2094\" data-end=\"2143\">If <code data-start=\"2097\" data-end=\"2100\">0<\/code> follows, move to <code data-start=\"2118\" data-end=\"2122\">q2<\/code> (accepting state).<\/p>\n<\/li>\n<li class=\"\" data-start=\"2144\" data-end=\"2187\">\n<p class=\"\" data-start=\"2146\" data-end=\"2187\">Once in <code data-start=\"2154\" data-end=\"2158\">q2<\/code>, stay there for any input.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"2194\" data-end=\"2241\"><strong data-start=\"2197\" data-end=\"2241\">\u00a0GATE 1991 Question on Finite Automata<\/strong><\/h3>\n<p class=\"\" data-start=\"2242\" data-end=\"2532\"><strong data-start=\"2242\" data-end=\"2248\">Q:<\/strong> Which of the following statements is true?<br data-start=\"2291\" data-end=\"2294\" \/><strong data-start=\"2294\" data-end=\"2301\">(A)<\/strong> Every NFA can be converted to an equivalent DFA.<br data-start=\"2350\" data-end=\"2353\" \/><strong data-start=\"2353\" data-end=\"2360\">(B)<\/strong> NFA can recognize more languages than DFA.<br data-start=\"2403\" data-end=\"2406\" \/><strong data-start=\"2406\" data-end=\"2413\">(C)<\/strong> There exists an NFA for which no equivalent DFA exists.<br data-start=\"2469\" data-end=\"2472\" \/><strong data-start=\"2472\" data-end=\"2479\">(D)<\/strong> DFA and NFA recognize different sets of languages.<\/p>\n<p class=\"\" data-start=\"2534\" data-end=\"2833\"><strong data-start=\"2536\" data-end=\"2608\">Correct Answer: (A) Every NFA can be converted to an equivalent DFA.<\/strong><br data-start=\"2608\" data-end=\"2611\" \/><strong data-start=\"2613\" data-end=\"2629\">Explanation:<\/strong> <strong data-start=\"2630\" data-end=\"2669\">DFA and NFA are equivalent in power<\/strong>, meaning any language recognized by an NFA can also be recognized by a DFA. The <strong data-start=\"2750\" data-end=\"2783\">subset construction algorithm<\/strong> is used to convert an NFA to an equivalent DFA.<\/p>\n<h3 data-start=\"2840\" data-end=\"2857\"><strong data-start=\"2843\" data-end=\"2857\">\u00a0Summary<\/strong><\/h3>\n<p class=\"\" data-start=\"2858\" data-end=\"3137\"><strong data-start=\"2860\" data-end=\"2879\">Finite Automata<\/strong> recognizes <strong data-start=\"2891\" data-end=\"2912\">Regular Languages<\/strong>.<br data-start=\"2913\" data-end=\"2916\" \/><strong data-start=\"2918\" data-end=\"2925\">DFA<\/strong> has unique transitions, while <strong data-start=\"2956\" data-end=\"2963\">NFA<\/strong> allows multiple transitions.<br data-start=\"2992\" data-end=\"2995\" \/><strong data-start=\"2997\" data-end=\"3041\">Both DFA and NFA are equivalent in power<\/strong> but differ in complexity.<br data-start=\"3067\" data-end=\"3070\" \/><strong data-start=\"3072\" data-end=\"3135\">Used in compilers, text searching, and pattern recognition.<\/strong><\/p>\n<p class=\"\" data-start=\"3139\" data-end=\"3200\">\u00a0<strong data-start=\"3142\" data-end=\"3200\" data-is-last-node=\"\">Do you need more solved GATE questions or examples?<\/strong><\/p>\n<p data-start=\"0\" data-end=\"112\"><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">In the <strong data-start=\"7\" data-end=\"55\">GATE 1991 Computer Science Engineering (CSE)<\/strong> exam, <strong data-start=\"62\" data-end=\"80\">Question 17(b)<\/strong> under the <strong data-start=\"91\" data-end=\"116\">Theory of Computation<\/strong> section focused on <strong data-start=\"136\" data-end=\"155\">Finite Automata<\/strong>.<\/span> <span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">The question required constructing a <strong data-start=\"37\" data-end=\"81\">Non-Deterministic Finite Automaton (NFA)<\/strong> for a specified language and determining the number of states in the minimized equivalent <strong data-start=\"172\" data-end=\"212\">Deterministic Finite Automaton (DFA)<\/strong>.<\/span><\/p>\n<h3 data-start=\"114\" data-end=\"146\">\ud83e\udde0 Understanding the Problem<\/h3>\n<p data-start=\"148\" data-end=\"224\"><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">The task involves two main steps:<\/span><\/p>\n<ol data-start=\"226\" data-end=\"437\">\n<li data-start=\"226\" data-end=\"329\">\n<p data-start=\"229\" data-end=\"329\"><strong data-start=\"229\" data-end=\"249\">Designing an NFA<\/strong>: <span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">Create an NFA that accepts a particular language.<\/span><\/p>\n<\/li>\n<li data-start=\"331\" data-end=\"437\">\n<p data-start=\"334\" data-end=\"437\"><strong data-start=\"334\" data-end=\"357\">Converting to a DFA<\/strong>: <span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">Transform the NFA into an equivalent DFA and minimize it to find the least number of states required.<\/span><\/p>\n<\/li>\n<\/ol>\n<p data-start=\"439\" data-end=\"517\"><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">This process typically employs the <strong data-start=\"35\" data-end=\"60\">powerset construction<\/strong> method to convert the NFA to a DFA, followed by DFA minimization techniques to reduce the number of states.<\/span><\/p>\n<h3 data-start=\"519\" data-end=\"543\">\ud83d\udcda Detailed Solution<\/h3>\n<p data-start=\"545\" data-end=\"623\"><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">A comprehensive solution to this question, including the construction of the NFA and the minimization process to obtain the DFA, is available on GateOverflow:<\/span><\/p>\n<p data-start=\"625\" data-end=\"730\">\ud83d\udc49 <a class=\"cursor-pointer\" target=\"_new\" rel=\"noopener\" data-start=\"628\" data-end=\"730\">GATE CSE 1991 Question 17(b) \u2013 GateOverflow<\/a><\/p>\n<p data-start=\"732\" data-end=\"810\"><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">This resource provides step-by-step explanations and diagrams to aid in understanding the conversion and minimization processes.<\/span><\/p>\n<h3 data-start=\"812\" data-end=\"848\">\ud83c\udfa5 Additional Learning Resources<\/h3>\n<p data-start=\"850\" data-end=\"963\">For a more in-depth understanding of Finite Automata and related concepts, consider the following video lectures:<\/p>\n<ul data-start=\"965\" data-end=\"1266\">\n<li data-start=\"965\" data-end=\"1119\">\n<p data-start=\"967\" data-end=\"1119\"><strong data-start=\"967\" data-end=\"1036\">GATE 1991 TOC | Turing Machine | Finite Automata | Solutions Adda<\/strong><br data-start=\"1036\" data-end=\"1039\" \/><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">This video explains various concepts of Theory of Computation, including finite automata, with examples from GATE 1991.<\/span><\/p>\n<\/li>\n<li data-start=\"1121\" data-end=\"1266\">\n<p data-start=\"1123\" data-end=\"1266\"><strong data-start=\"1123\" data-end=\"1183\">Solutions for EVERY GATE Theory of Computation Question!<\/strong><br data-start=\"1183\" data-end=\"1186\" \/><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">This comprehensive video covers solutions to various GATE questions on Theory of Computation, providing insights into problem-solving techniques.<\/span><\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1268\" data-end=\"1346\"><span class=\"relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out\">These resources can help reinforce your understanding of finite automata and prepare you for similar questions in competitive exams.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GATE 1991 Subject &#8211; Theory Of Computation Topic -Finite Automata. [fvplayer id=&#8221;152&#8243;] \u00a0Finite Automata \u2013 GATE 1991 (Theory of Computation) Finite Automata (FA) is a key topic in Theory of Computation (TOC) and is used to recognize Regular Languages. It is one of the fundamental models of computation. \u00a0Definition of Finite Automata A Finite Automaton [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2868","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts\/2868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/comments?post=2868"}],"version-history":[{"count":0,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts\/2868\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/media?parent=2868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/categories?post=2868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/tags?post=2868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}