<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gatecse.in/w/index.php?action=history&amp;feed=atom&amp;title=GATE2003_q15</id>
		<title>GATE2003 q15 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://gatecse.in/w/index.php?action=history&amp;feed=atom&amp;title=GATE2003_q15"/>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;action=history"/>
		<updated>2026-04-16T14:16:49Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.0</generator>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=4206&amp;oldid=prev</id>
		<title>Arjun Suresh at 13:53, 24 August 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=4206&amp;oldid=prev"/>
				<updated>2014-08-24T13:53:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:53, 24 August 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot; &gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is &lt;/del&gt;&amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; need not be context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n&amp;#160; |&amp;#160; n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; need not be context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n&amp;#160; |&amp;#160; n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=4205&amp;oldid=prev</id>
		<title>Arjun Suresh at 13:52, 24 August 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=4205&amp;oldid=prev"/>
				<updated>2014-08-24T13:52:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:52, 24 August 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==={{Template:Author|Arjun Suresh|{{arjunweb}} }}===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==={{Template:Author|Arjun Suresh|{{arjunweb}} }}===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;x&lt;/del&gt;&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;w&lt;/ins&gt;&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; need not be context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n&amp;#160; |&amp;#160; n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; need not be context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n&amp;#160; |&amp;#160; n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=3991&amp;oldid=prev</id>
		<title>Arjun Suresh at 11:20, 15 July 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=3991&amp;oldid=prev"/>
				<updated>2014-07-15T11:20:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:20, 15 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: GATE2003]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: GATE2003]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Automata questions]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Automata questions &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;from GATE&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=3731&amp;oldid=prev</id>
		<title>Arjun Suresh at 09:43, 7 July 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=3731&amp;oldid=prev"/>
				<updated>2014-07-07T09:43:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:43, 7 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot; &gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: GATE2003]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: GATE2003]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Automata Theory]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Automata questions]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Automata questions]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=3500&amp;oldid=prev</id>
		<title>Arjun Suresh at 15:53, 17 June 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=3500&amp;oldid=prev"/>
				<updated>2014-06-17T15:53:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:53, 17 June 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Solution&lt;/del&gt;===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{Template:Author|Arjun Suresh|{{arjunweb}} }}&lt;/ins&gt;===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2945&amp;oldid=prev</id>
		<title>Arjun Suresh at 07:10, 15 April 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2945&amp;oldid=prev"/>
				<updated>2014-04-15T07:10:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:10, 15 April 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot; &gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: GATE2003]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: GATE2003]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Automata Theory]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Automata Theory]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Previous year GATE &lt;/del&gt;questions]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Automata &lt;/ins&gt;questions]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2393&amp;oldid=prev</id>
		<title>Arjun Suresh: /* Solution */</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2393&amp;oldid=prev"/>
				<updated>2014-02-16T12:40:50Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Solution&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:40, 16 February 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Solution===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Solution===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;which is lexicographically lower than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and a word &lt;/del&gt;which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; need not be context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n&amp;#160; |&amp;#160; n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; need not be context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n&amp;#160; |&amp;#160; n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2329&amp;oldid=prev</id>
		<title>Arjun Suresh: /* Solution */</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2329&amp;oldid=prev"/>
				<updated>2014-02-05T14:24:25Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Solution&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:24, 5 February 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot; &gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically lower than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and a word which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word in the enumeration which is lexicographically lower than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and a word which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; not context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n | n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;need &lt;/ins&gt;not &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;be &lt;/ins&gt;context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;| &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2327&amp;oldid=prev</id>
		<title>Arjun Suresh at 12:26, 5 February 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2327&amp;oldid=prev"/>
				<updated>2014-02-05T12:26:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:26, 5 February 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Solution===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Solution===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039; &lt;/del&gt;is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;lexicographically lower than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and a word which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, in the enumeration&lt;/del&gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Since, the strings of &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be enumerated it means &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is recursively enumerable. That is we have a &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; which accepts all strings in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Now, to be recursive the &amp;lt;math&amp;gt;TM&amp;lt;/math&amp;gt; should reject all strings not in &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. Since, the strings of the language can be enumerated in lexicographic order, it&amp;#039;s easy to do this. For any word &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, if we see a word &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;in the enumeration which is &lt;/ins&gt;lexicographically lower than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and a word which is lexicographically higher than &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; but no &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt;, it means &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is not in the language.&amp;#160; This makes &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;&amp;#039;recursive&amp;#039;&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; not context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n | n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, why is &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; not context free? Consider &amp;lt;math&amp;gt;L = \{a^nb^nc^n | n\ge 0\}&amp;lt;/math&amp;gt;. The strings of this language can be enumerated in lexicographic order. But we know &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; is not context free as no &amp;lt;math&amp;gt;PDA&amp;lt;/math&amp;gt; can accept &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt;. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	<entry>
		<id>https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2326&amp;oldid=prev</id>
		<title>Arjun Suresh at 12:24, 5 February 2014</title>
		<link rel="alternate" type="text/html" href="https://gatecse.in/w/index.php?title=GATE2003_q15&amp;diff=2326&amp;oldid=prev"/>
				<updated>2014-02-05T12:24:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:24, 5 February 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Insert formula here&lt;/del&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;metadesc&amp;gt; If the strings of a language &lt;/ins&gt;&amp;lt;math&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;L&lt;/ins&gt;&amp;lt;/math&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;gt; can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true?&amp;lt;/metadesc&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the strings of a language &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true?&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the strings of a language &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arjun Suresh</name></author>	</entry>

	</feed>