Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Compiler Design:
Recent questions tagged compiler-design
0
votes
2
answers
121
LR Bottom up parsing table.
dhruba
327
views
dhruba
asked
Jun 5, 2023
Compiler Design
compiler-design
parsing
+
–
21
votes
4
answers
122
GATE CSE 2023 | Question: 1
Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-end includes phases that are specific to the target hardware. S3: The back-end includes phases that are ... $\mathbf{S 3}$ are all TRUE. Only $\mathbf{S 1}$ and $\mathbf{S 3}$ are TRUE.
Consider the following statements regarding the front-end and back-end of a compiler.S1: The front-end includes phases that are independent of the target hardware.S2: The...
admin
15.1k
views
admin
asked
Feb 15, 2023
Compiler Design
gatecse-2023
compiler-design
compilation-phases
1-mark
+
–
8
votes
1
answer
123
GATE CSE 2023 | Question: 26
Consider the following program: int main() { f1 (); f2(2); f3(); return (0); } int f1 () { return(1); } int f2 (int X) { f3(); if (X==1); return f1 (); else return (X * f2 (X - 1)); } int f3 () { return (5); } Which one of the following options represents the activation tree corresponding to the main function?
Consider the following program:int main() { f1 (); f2(2); f3(); return (0); } int f1 () { return(1); } int f2 (int X) { f3(); if (X==1); return f1 (); else return (X * f2...
admin
7.9k
views
admin
asked
Feb 15, 2023
Compiler Design
gatecse-2023
compiler-design
runtime-environment
2-marks
+
–
12
votes
4
answers
124
GATE CSE 2023 | Question: 27
Consider the control flow graph shown. Which one of the following choices correctly lists the set of live variables at the exit point of each basic block? $\text{B1: { }, B2: {a}, B3: {a}, B4: {a}}$ $\text{B1: {i, j}, B2: {a}, B3: {a}, B4: {i}}$ $\text{B1: {a, i, j}, B2: {a, i, j}, B3: {a, i}, B4: {a}}$ $\text{B1: {a, i, j}, B2: {a, j}, B3: {a, j}, B4: {a, i, j}}$
Consider the control flow graph shown.Which one of the following choices correctly lists the set of live variables at the exit point of each basic block?$\text{B1: { }, B...
admin
11.9k
views
admin
asked
Feb 15, 2023
Compiler Design
gatecse-2023
compiler-design
live-variable-analysis
2-marks
+
–
4
votes
2
answers
125
GATE CSE 2023 | Question: 50
Consider the syntax directed translation given by the following grammar and semantic rules. Here $N, I, F$ and $B$ are non-terminals. $N$ is the starting non-terminal, and $\#, \mathbf{0}$ and $\mathbf{1}$ are lexical tokens ... \] The value computed by the translation scheme for the input string $10\#011$ is ____________. (Rounded off to three decimal places)
Consider the syntax directed translation given by the following grammar and semantic rules. Here $N, I, F$ and $B$ are non-terminals. $N$ is the starting non-terminal, an...
admin
7.2k
views
admin
asked
Feb 15, 2023
Compiler Design
gatecse-2023
compiler-design
syntax-directed-translation
numerical-answers
2-marks
+
–
1
votes
2
answers
126
Compiler Design | Error in which stage detection
What is the earliest stage compiler error for the following C code snippet: int x = @33; Lexical Error Syntax Error Semantic Error None
What is the earliest stage compiler error for the following C code snippet:int x = @33;Lexical ErrorSyntax ErrorSemantic ErrorNone
Souvik33
577
views
Souvik33
asked
Jan 12, 2023
Compiler Design
compiler-design
lexical-analysis
error-detection
+
–
0
votes
0
answers
127
register allocation
nbhatt
458
views
nbhatt
asked
Jan 12, 2023
Compiler Design
compiler-design
register-allocation
ace-test-series
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
...
67
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register