<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Previous Years Solve &#8211; Unify Study</title>
	<atom:link href="https://old.unifystudy.com/category/previous-years-solve/feed/" rel="self" type="application/rss+xml" />
	<link>https://old.unifystudy.com</link>
	<description>United information is here for you.</description>
	<lastBuildDate>Mon, 17 Aug 2020 16:36:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://old.unifystudy.com/wp-content/uploads/2020/06/favicon.ico</url>
	<title>Previous Years Solve &#8211; Unify Study</title>
	<link>https://old.unifystudy.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>COMPILER PREVIOUS YEAR QUESTIONS NTA UGC NET 2014</title>
		<link>https://old.unifystudy.com/compiler-previous-year-questions-nta-ugc-net-2014/</link>
					<comments>https://old.unifystudy.com/compiler-previous-year-questions-nta-ugc-net-2014/#comments</comments>
		
		<dc:creator><![CDATA[Priyanka Chatterjee]]></dc:creator>
		<pubDate>Fri, 13 Sep 2019 18:48:45 +0000</pubDate>
				<category><![CDATA[Previous Years Solve]]></category>
		<category><![CDATA[UGC NET Computer Science PYQS]]></category>
		<guid isPermaLink="false">https://unifystudy.com/?p=921</guid>

					<description><![CDATA[Here you can get all Compiler Questions of UGC NET Computer Science 2014 with solution and explanation. Q1. A grammar G is LL(1) if and only if the following conditions hold for two distinct productions A → α &#124; β I. First (α) ∩ First (β) ≠ {a} where a is some terminal symbol of [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Here you can get all Compiler Questions of UGC NET Computer Science 2014 with solution and explanation.</p>



<p>Q1. A grammar G is LL(1) if and only if the following conditions hold for two distinct productions A → α | β<br> I. First (α) ∩ First (β) ≠ {a} where a is some terminal symbol of the grammar.<br>II. First (α) ∩ First (β) ≠ λ<br>III. First (α) ∩ Follow(A) = φ if λ є First (β)<br>(A) I and II (B) I and III<br>(C) II and III (D) I, II and III</p>



<p>Ans: D<br>assume<br>S&#8212;&gt; aX |aYb first(aX)= a first(aYb)= a<br>so there will 2 entries for S in terminal &#8216;a&#8217; which violates the rule of LL(1) grammar because for every variable and for every terminal there can be at most 1 production .<br>hence ,their intersection should be ∅<br>first one statement is correct<br>second one is true with similar reasoning as for first. now third assume example<br> 1) S&#8211;&gt;aSA | ∈<br> 2) A&#8211;&gt; C | ∈</p>



<p>now take 2) production first(c)=c<br> follow(A) = follow(S) = =&gt; first(A)= c, ∈ ,$ now the first(c)∩ follow(A)= c means there will be again 2 entries for A in c place that means again violation of LL(1) rules. so first(c)∩ follow(A)= ∅ is true.<br> hence answer is (D)</p>



<p>Q2. Which of the following suffices to convert an arbitrary CFG to an LL(1) grammar ?<br> (A) Removing left recursion alone.<br> (B) Removing the grammar alone<br> (C) Removing left recursion and factoring the grammar<br> (D) None of the above</p>



<p>Ans: D The grammar not only need to be free from left recursion and left factoring but also it need to be free from ambiguity</p>



<p><br> Q3. A shift reduce parser suffers from<br> (A) shift reduce conflict only<br> (B) reduce reduce conflict only<br> (C) both shift reduce conflict and reduce reduce conflict<br> (D) shift handle and reduce handle conflicts</p>



<p>Ans: C </p>



<p>Both shift reduce conflict and reduce reduce conflict A shift-reduce parser scans and parses the input text in one forward pass over the text, without backing up.</p>



<h3 class="wp-block-heading">Compiler Questions of UGC NET CS Paper &#8211; II December &#8211; 2014</h3>



<p>Q1. Shift-Reduce parsers perform the following :<br> (A) Shift step that advances in the input stream by K(K&gt;1) symbols and Reduce step that applies a completed grammar rule to some recent parse trees, joining them together as one tree with a new root symbol.<br> (B) Shift step that advances in the input stream by one symbol and Reduce step that applies a completed grammar rule to some recent<br>parse trees, joining them together as one tree with a new root symbol.<br> (C) Shift step that advances in the input stream by K(K = 2) symbols and Reduce step that applies a completed grammar rule to form a single tree.<br> (D) Shift step that does not advance in the input stream and Reduce step that applies a completed grammar rule to form a single tree.</p>



<p>Ans: B</p>



<p><br> Q2. Which of the following is true ?<br> (A) Canonical LR parser is LR (1) parser with single look ahead terminal<br> (B) All LR(K) parsers with K &gt; 1 can be transformed into LR(1) parsers.<br> (C) Both (A) and (B)<br> (D) None of the above</p>



<p>Ans: C A canonical LR parser or LR(1) parser is an LR(k) parser for k=1, i.e. with a single look-ahead terminal. The special attribute of this parser is that all LR(k) parser&#8217;s with k&gt;1 can be transformed into a LR(1) parser.</p>



<p><br> Q3. In a two-pass assembler, symbol table is<br> (A) Generated in first pass<br> (B) Generated in second pass<br> (C) Not generated at all<br> (D) Generated and used only in second pass</p>



<p>Ans: A<br> In first pass it does following things It allocates space for the literals.<br> It computes the total length of the program.<br> It builds the symbol table for the symbols and their values </p>



<p>Q4. Debugger is a program that<br> (A) allows to examine and modify the contents of registers<br> (B) does not allow execution of a segment of program<br> (C) allows to set breakpoints, execute a segment of program and display contents of<br> register<br> (D) All of the above</p>



<p>Ans: C<br>Debugger allows to set breakpoints, execute a segment of program and display<br>contents of register. One of the Debugger name is GDB used under Unix.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://old.unifystudy.com/compiler-previous-year-questions-nta-ugc-net-2014/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Solve Theory of Computation and Compilers questions of UGC NET AND GATE</title>
		<link>https://old.unifystudy.com/solve-theory-of-computation-and-compilers-questions-of-ugc-net-and-gate/</link>
					<comments>https://old.unifystudy.com/solve-theory-of-computation-and-compilers-questions-of-ugc-net-and-gate/#comments</comments>
		
		<dc:creator><![CDATA[Priyanka Chatterjee]]></dc:creator>
		<pubDate>Mon, 26 Aug 2019 09:53:36 +0000</pubDate>
				<category><![CDATA[Previous Years Solve]]></category>
		<guid isPermaLink="false">https://unifystudy.com/?p=761</guid>

					<description><![CDATA[Here we are trying to post all the free resources as per our knowledge to solve the Previous years UGC NET and GATE questions. Please try to share more resources to help others. 30 GATE Previous Year Questions &#8211; Finite Automata in TOC by GATE NoteBook 150 Short Tricks : Closure Properties &#38; Previous Year [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Here we are trying to post all the free resources as per our knowledge to solve the Previous years UGC NET and GATE questions.</p>



<p>Please try to share more resources to help others.</p>



<h4 class="wp-block-heading">30 GATE Previous Year Questions &#8211; Finite Automata  in TOC</h4>



<p>by  <a href="https://www.youtube.com/channel/UC2UzX55u-PvWN_F_g_1DlTw" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">GATE NoteBook</a>  </p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="30 GATE Previous Year Questions - Finite Automata  in TOC" width="500" height="281" src="https://www.youtube.com/embed/AwnBmZtlTis?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h4 class="wp-block-heading">150 Short Tricks : Closure Properties &amp; Previous Year Questions (TOC) &#8211; GATE &amp; UGC NET</h4>



<p>by  <a href="https://www.youtube.com/channel/UC2UzX55u-PvWN_F_g_1DlTw" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">GATE NoteBook</a> </p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="150 Short Tricks : Closure Properties &amp; PYQs (TOC) - (Unacademy Discount &amp; SRPs Code : HELLOSONU01)" width="500" height="281" src="https://www.youtube.com/embed/vTwZ6gMc8Ws?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h4 class="wp-block-heading">Theory Of Computation GATE Previous Year Questions from 1989 to 1998 Finite Automata </h4>



<p>by <a href="https://www.youtube.com/channel/UCCbHlQRF99DGR8USBQ073Jg" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">NTA UGC NET Computer Science CSE</a>  channel.</p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Theory Of Computation GATE Previous Year Questions from 1989 to 1998 Finite Automata" width="500" height="375" src="https://www.youtube.com/embed/LWfFoMD88TY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h4 class="wp-block-heading">Grammar TOC/Theory of Computation GATE Questions with Answers | Regular, Linear, Reduced, Ambiguous</h4>



<p>by <a href="https://www.youtube.com/channel/UCCDB1Hwlr5Bk-zO4eEcWNTQ" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">Gradeup- GATE, ESE, PSUs Exam Preparation</a></p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Grammar TOC/Theory of Computation GATE Questions with Answers | Regular, Linear, Reduced, Ambiguous" width="500" height="281" src="https://www.youtube.com/embed/m5XPwMkZvCw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h4 class="wp-block-heading">Regular Expression, Finite Automata GATE Questions and Answers | GATE 2019 Computer Science</h4>



<p>by <a href="https://www.youtube.com/channel/UCCDB1Hwlr5Bk-zO4eEcWNTQ" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">Gradeup- GATE, ESE, PSUs Exam Preparation</a></p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Regular Expression, Finite Automata GATE Questions and Answers | GATE 2019 Computer Science" width="500" height="281" src="https://www.youtube.com/embed/AKRcnC-Bpcc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<h4 class="wp-block-heading"> Which of the following languages is regular? </h4>



<p>by  <a href="https://www.youtube.com/channel/UCT_sBCCRPHtMxNtgecXBbjg" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">mallesham devasane</a> </p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
https://www.youtube.com/watch?v=mTeS4n70uzg&#038;list=PLsjMk6JTaYcHON6LxkdqICtukwrSMKpCh
</div></figure>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://old.unifystudy.com/solve-theory-of-computation-and-compilers-questions-of-ugc-net-and-gate/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
