TOPIC-WISE QUESTIONS (72)
Topics Used in This Course
[āĻŦāĻŋāĻāĻĻā§āϰāĻ āϏāĻāϞ āĻĒā§āϰāĻļā§āύ āĻāĻāύāĻ āĻāĻĒāĻŋāĻ-āĻā§āĻžāĻāĻ āϏā§āĻāĻļāύ⧠āύāĻŋā§ā§ āĻāϏāĻž āϏāĻŽā§āĻāĻŦ āĻšā§āύāĻŋāĨ¤
āĻāĻŽāĻžāĻĻā§āϰ āĻāĻžāĻ āĻāϞāĻŽāĻžāύāĨ¤ āĻļā§āĻā§āϰāĻ āĻāĻ āĻā§āϰā§āϏā§āϰ āĻāύā§āϝ āϏāĻāϞ āĻĒā§āϰāĻļā§āύ āĻāĻĒāĻŋāĻ āĻ
āύā§āϏāĻžāϰ⧠āĻāĻāĻžāύ⧠āĻāϞāĻžāĻĻāĻžāĻāĻžāĻŦā§ āĻĻā§āĻāϤ⧠āĻĒāĻžāĻŦā§āύāĨ¤]
Uncategorized Questions
72 Questions
1.
Analyse the terms pre-processing and assembling.
......
Marks: 4.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
2.
Design Transition Diagrams of regular definitions ......
Marks: 12.00 |
Exam: 1st Mid |
Session: 19-20 |
Exam Date: 23 Feb, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
3.
Compiler design impacts several other areas of com......
Marks: 9.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
4.
Predictive parsing is a special form of recursive ......
Marks: 8.00 |
Exam: 1st Mid |
Session: 19-20 |
Exam Date: 23 Feb, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
5.
Let, two Context-free grammar G1 and G2:
G1=<{list......
Marks: 10.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
6.
Analyse "Panic Mode" in error recovery for Syntex ......
Marks: 5.00 |
Exam: 1st Mid |
Session: 19-20 |
Exam Date: 23 Feb, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
7.
Write two methods used in lexical analyzer for buf......
Marks: 6.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
8.
Compute FIRST from the following grammar:
    ......
Marks: 4.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
9.
Most languages are case sensitive, so keywords can......
Marks: 4.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
10.
Describe the languages denoted by the following re......
Marks: 3.00 |
Exam: 1st Mid |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
11.
What is compiler? Design the analysis and synthesi......
Marks: 3.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
12.
State the role of the lexical analyzer. Identify t......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
13.
Differentiate leftmost derivation and rightmost de......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
14.
Write down the NFA of all binary strings in which ......
Marks: 6.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
15.
Define a Parser. What is the role of grammars in P......
Marks: 6.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
16.
Define an LL(1) grammar. Is the following grammar ......
Marks: 5.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
17.
Show the following grammar:
S->Aa | bAc | Bc | bBa......
Marks: 7.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
18.
Design a recursive descent parser for the grammar:......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
19.
Analyze: Static versus Dynamic Checking.
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
20.
Define type equivalence. Explain the role of inter......
Marks: 3.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
21.
Define tokens, patterns, and lexemes with examples......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
22.
What is a dangling else?
Marks: 5.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
23.
Differentiate the terms (i) Yacc compiler, (ii) Le......
Marks: 6.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
24.
Describe algorithm for LR Parser.
Marks: 6.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
25.
Distinguish the following terms for error recovery......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
26.
Let, you would like do parsing for syntax analyzer......
Marks: 6.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
27.
In Compiler, syntax-directed checker and translato......
Marks: 5.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
28.
What is a dangling else?
Marks: 2.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
29.
Differentiate the terms (i) Yacc compiler, (ii) Le......
Marks: 6.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
30.
Analyze the terms: Recursive descent parsing and P......
Marks: 4.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
31.
Based on LL(1) predictive parsing table for the fo......
Marks: 6.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
32.
In LR(k) Parsers, Shift/Reduce decisions can be am......
Marks: 8.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
33.
A good compiler should assist in identifying and l......
Marks: 6.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
34.
Consider the following grammar and remove left rec......
Marks: 5.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
35.
Write the three-address code sequence for the stat......
Marks: 3.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
36.
Discuss the various phases of compiler and trace t......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
37.
Draw the DFA for the regular expression (a | b)* (......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
38.
Write down the sequence of top-down parse trees fo......
Marks: 6.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
39.
What is an LALR(1) grammar? Construct LALR parsing......
Marks: 6.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
40.
Check whether the grammar is LALR (1) but not SLR(......
Marks: 5.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
41.
Write short note on:
i) Synthesized attributes
ii)......
Marks: 5.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
42.
Find the FIRST and FOLLOW of the non-terminals in ......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
43.
Predictive parsing is a special form of recursive ......
Marks: 8.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
44.
Construct a quadruple, triples for the following e......
Marks: 5.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
45.
What are operations on Language? Let L be the set ......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
46.
How can the following grammar be ambiguous for (id......
Marks: 7.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
47.
Discuss about Handles.
Marks: 2.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
48.
Based on LR Parsing, for the following grammar, sh......
Marks: 6.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
49.
Construct the predictive parser for the following ......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
50.
Give specific examples of static checking for the ......
Marks: 6.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
51.
What will be the output of the lexical, syntax and......
Marks: 5.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
52.
Compiler design is not only about compilers, and m......
Marks: 4.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
53.
When a production for nonterminal A starts with a ......
Marks: 6.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
54.
The following grammar, which abstracts the danglin......
Marks: 8.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
55.
The following is a substring of grammar symbols:
a......
Marks: 6.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
56.
Describe algorithm for LR Parser.
Marks: 4.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
57.
Describe typical tasks of the lexical analyzer.
...
Marks: 3.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
58.
Discuss the position of a Code Generator in the co......
Marks: 3.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
59.
What is code optimization? Explain machine depende......
Marks: 3.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
60.
Using operator precedence relations, parse the str......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
61.
Draw the transition diagram for the regular defini......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
62.
Explain syntax directed definition with simple exa......
Marks: 2.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
63.
What is Recursive Descent parsing? List the proble......
Marks: 4.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
64.
Define peephole optimization. Explain machine depe......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
65.
Briefly explain the rules that define regular expr......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
66.
The following is a substring of grammar symbols:Â
......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
67.
Construct the LR parsing table for the following g......
Marks: 4.00 |
Exam: Final |
Session: 18-19 |
Exam Date: N/A |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
68.
What is the advantage of front end and back end mo......
Marks: 2.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
69.
Let, a Context-free grammar for simple expressions......
Marks: 6.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
70.
If the following expression is passed to the lexic......
Marks: 3.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
71.
Let, you would like do parsing for syntax analyzer......
Marks: 4.00 |
Exam: Final |
Session: 19-20 |
Exam Date: 29 Jun, 2025 |
Course Teacher:
Dr. Md Manjur Ahmed
Solution is Coming!
72.
Differentiate tokens, patterns, and lexeme.
Marks: 3.00 |
Exam: Final |
Session: 17-18 |
Exam Date: N/A |
Course Teacher:
N/A
Solution is Coming!
Show All Questions