// THE QUESTION BANK
A little focus.
A better attempt.
Find your topic. Work through a few questions. Open the official answer when one is available.
Loading your next set of questions…
// THE QUESTION BANK
Find your topic. Work through a few questions. Open the official answer when one is available.
Loading your next set of questions…
// THE QUESTION BANK
Find your topic. Work through a few questions. Open the official answer when one is available.
YOUR SELECTION
Showing 1–12 · 2 papers
Question 1
From Anna University — Compiler Design (CS8602), April/May 2025
Compare and contrast compiler and interpreter.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 2
From Anna University — Compiler Design (CS8602), April/May 2025
List the different phases in compilation.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 3
From Anna University — Compiler Design (CS8602), April/May 2025
Write a regular expression representing the strings whose length is divisible by 2 for Σ = {a,b}}.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Questions the exam body withdrew, and questions that need unavailable source figures, are stored with their papers and withheld here. Each served question links to its source paper.
This is self-study practice. It does not issue assessment results, certificates or profile proof. Attempts on this page reset when you leave it.
Question 4
From Anna University — Compiler Design (CS8602), April/May 2025
Write the reason for reduce-reduce conflict occurrence in CLR.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 5
From Anna University — Compiler Design (CS8602), April/May 2025
Write the context free grammar for representing palindrome of odd-length.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 6
From Anna University — Compiler Design (CS8602), April/May 2025
State Left recursive and Left factoring with an example.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 7
From Anna University — Compiler Design (CS8602), April/May 2025
What is activation record?
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 8
From Anna University — Compiler Design (CS8602), April/May 2025
How to access the non-local data?
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 9
From Anna University — Compiler Design (CS8602), April/May 2025
Mention the significance of Loop optimization.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 10
From Anna University — Compiler Design (CS8602), April/May 2025
What is the cost of the following instruction? ADD *R1, R2[0] SUB R3, #3 MOV M, R0.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 11
From Anna University — Compiler Design (CS8602), April/May 2025
(a) (i) Explain the process of input buffering. How is it implemented for processing the token separation? (6) (ii) List the various types of token formats. Write regular expression for representing each of the token format. (7) (OR) (b) Construct DFA for the regular expression (ab) + (a+b)*ba using Thompson’s method and by subset construction.
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.
Question 12
From Anna University — Compiler Design (CS8602), April/May 2025
(a) Consider the following grammar P → SbP | SbS | S S → WbS | W W → L*W | L L → id (i) Construct predictive parsing table. (5) (ii) Is the grammar an LL grammar? (2) (iii) Check whether the string ‘id * id b id * id’ will be parsed by predicative parser. (6) (OR) (b) Consider the following grammar S → aAd | bBd | aBe | bAe A → C B → C (i) Construct LALR parsing table. (6) (ii) Is the grammar an LALR grammar? (2) (iii) Check whether the string ‘bcd’ parsed by LALR (1)Parser. (5)
Write your answer in full; there are no options to pick from.
No verified answer is available for this question.
Question from the source paper. Published documents are listed by the exam body at its document index.