Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged intermediate-code
3
votes
1
answer
91
Test by Bikram | Compiler Design | Test 1 | Question: 20
The least number of temporary variables required to create a $3$ address code sequence for the statement $L= P + R$ is ________.
Bikram
asked
in
Compiler Design
Nov 25, 2016
by
Bikram
758
views
tbb-cd-1
numerical-answers
compiler-design
intermediate-code
2
votes
2
answers
92
Test by Bikram | Compiler Design | Test 1 | Question: 15
Which of these is NOT true about Abstract Syntax Tree (AST)? An AST is usually the result of the syntax analysis phase of a compiler. AST has no impact on the final output of the compiler. AST is a tree ... structure of source code written in a programming language. AST is also used in program analysis and program transformation systems.
Bikram
asked
in
Compiler Design
Nov 25, 2016
by
Bikram
595
views
tbb-cd-1
compiler-design
syntax-directed-translation
intermediate-code
0
votes
1
answer
93
The issues in the design of code generation are __
The issues in the design of Code generation are ________ The issues in the design of code generation are due the what reason ? The compiler converts the source code by accepting HLL into target code or machine code ... the various instructions . These dynamic acyclic graphs which are obtianed are they platform independent or platform independent??
LavTheRawkstar
asked
in
Compiler Design
Nov 23, 2016
by
LavTheRawkstar
2.2k
views
compiler-design
intermediate-code
0
votes
1
answer
94
compilation
Which of the following class of statement usually produces no executable codes when compiled? Assignment Declaration Input and output statement Structural statements
vaishali jhalani
asked
in
Compiler Design
Nov 22, 2016
by
vaishali jhalani
714
views
compiler-design
intermediate-code
three-address-code
0
votes
1
answer
95
madeeasy test series
vaishali jhalani
asked
in
Compiler Design
Nov 22, 2016
by
vaishali jhalani
1.5k
views
compiler-design
intermediate-code
made-easy-test-series
0
votes
1
answer
96
Ace Test Series: Compiler Design - Intermediate Code
The answer given was D but isn't array access not a TAC as the following link suggests: https://web.stanford.edu/class/archive/cs/cs143/cs143.1128/handouts/240%20TAC%20Examples.pdf Can someone please clarify?
Kai
asked
in
Compiler Design
Nov 18, 2016
by
Kai
441
views
ace-test-series
compiler-design
intermediate-code
0
votes
1
answer
97
Ace Test Series: Compiler Design - Intermediate Code
Consider the following expression: (a+a*(b-c)+(b-c)*d) What is the minimum number of three address statements for the expression? My question is whether we should optimize the expression before evaluating it or go as it is. For instance the above expression can be optimized as (a+(b-c)*(a+d)) which would generate lesser number of statements.
Kai
asked
in
Compiler Design
Nov 18, 2016
by
Kai
523
views
ace-test-series
compiler-design
intermediate-code
1
vote
1
answer
98
Intermediate Code
thor
asked
in
Compiler Design
Nov 17, 2016
by
thor
640
views
compiler-design
intermediate-code
test-series
0
votes
1
answer
99
Three address code
thor
asked
in
Compiler Design
Nov 17, 2016
by
thor
1.1k
views
compiler-design
intermediate-code
three-address-code
test-series
1
vote
1
answer
100
ME TEST SERIES
Aman Jha
asked
in
Compiler Design
Oct 14, 2016
by
Aman Jha
366
views
compiler-design
intermediate-code
three-address-code
directed-acyclic-graph
made-easy-test-series
1
vote
1
answer
101
self
typechecking is done by : 1. lexical analyser 2. syntax analyser 3. semantic analyser 4. ICG
kashyap.rj
asked
in
Compiler Design
Oct 10, 2016
by
kashyap.rj
297
views
compiler-design
lexical-analysis
intermediate-code
0
votes
1
answer
102
self
consider the above ICG, The number of nodes and edges in control-flow-graph constructed for the above code, respectively, are
Rajesh Raj
asked
in
Compiler Design
Oct 10, 2016
by
Rajesh Raj
238
views
intermediate-code
1
vote
1
answer
103
Compiler Gate
Construct DAG for [a+a * (b-c) + [ (b-c) + d ].
LavTheRawkstar
asked
in
Compiler Design
Jun 27, 2016
by
LavTheRawkstar
1.1k
views
compiler-design
intermediate-code
directed-acyclic-graph
2
votes
2
answers
104
Write Quadruples,Triples, and indirect Triples for the expression
Write Quadruples,Triples, and indirect Triples for the expression : (a+b) * (c+d) - (a+b+c)
LavTheRawkstar
asked
in
Compiler Design
Jun 25, 2016
by
LavTheRawkstar
30.2k
views
compiler-design
intermediate-code
three-address-code
3
votes
1
answer
105
Three address code invloves
Three address code invloves exactly 3 addresses at most 3 addresses at least 3 addresses No unary opeartors
sh!va
asked
in
Compiler Design
Jun 23, 2016
by
sh!va
14.8k
views
compiler-design
intermediate-code
three-address-code
25
votes
2
answers
106
GATE CSE 1992 | Question: 11b
Write $3$ address intermediate code (quadruples) for the following boolean expression in the sequence as it would be generated by a compiler. Partial evaluation of boolean expressions is not permitted. Assume the usual rules of precedence of the operators.$(a+b) > (c+d) \text{ or } a > c \text{ and }b < d$
go_editor
asked
in
Compiler Design
Apr 24, 2016
by
go_editor
2.6k
views
gate1992
compiler-design
syntax-directed-translation
intermediate-code
descriptive
1
vote
1
answer
107
Ace Test Series: Compiler Design - Intermediate Code
A) a & b both are wrong B) a & b both are correct C) a is correct & b is wrong D) b is correct & a is wrong How to solve such qstn??
Tushar Shinde
asked
in
Compiler Design
Jan 12, 2016
by
Tushar Shinde
583
views
ace-test-series
compiler-design
intermediate-code
1
vote
2
answers
108
quadruple notation
Himanshu1
asked
in
Compiler Design
Jan 1, 2016
by
Himanshu1
1.3k
views
compiler-design
intermediate-code
made-easy-test-series
2
votes
1
answer
109
Is Intermediate code generation part of analyis or synthesis phase?
During code generation, we need to do register allocation (kind of machine dependent stuff). So, I think it must be the part of Synthesis phase?
monanshi
asked
in
Compiler Design
Dec 10, 2015
by
monanshi
1.8k
views
compiler-design
intermediate-code
5
votes
4
answers
110
Find number of variables in optimized code
Consider following 3 address code t1 = t+e t2 = g+a t3 = t1*t2 t4 = t2+t2 t5 = t4+t3 The minimum number of temporary variables that can be used in equivalent 3-address code of above code is Approach: t = t+e, g = g+a, t = t*g, g = g+g,t = t+g. Hence 4 temporary variables are needed. Is this right?
Kitty Kat
asked
in
Compiler Design
Oct 12, 2015
by
Kitty Kat
2.3k
views
compiler-design
intermediate-code
three-address-code
6
votes
4
answers
111
ISRO2008-38
Relative to the program translated by a compiler, the same program when interpreted runs Faster Slower At the same speed May be faster or slower
अनुराग पाण्डेय
asked
in
Compiler Design
Oct 4, 2015
by
अनुराग पाण्डेय
3.8k
views
isro2008
compiler-design
intermediate-code
5
votes
1
answer
112
Difference between relocatable machine code and absolute machine code!!!1
Difference between relocatable machine code and absolute machine code!!!1
pyuri
asked
in
Compiler Design
Oct 4, 2015
by
pyuri
11.0k
views
compiler-design
intermediate-code
80
votes
7
answers
113
GATE CSE 2015 Set 1 | Question: 55
The least number of temporary variables required to create a three-address code in static single assignment form for the expression $q + r / 3 + s - t * 5 + u * v/w$ is__________________.
makhdoom ghaya
asked
in
Compiler Design
Feb 14, 2015
by
makhdoom ghaya
28.7k
views
gatecse-2015-set1
compiler-design
intermediate-code
normal
numerical-answers
static-single-assignment
41
votes
7
answers
114
GATE CSE 2015 Set 2 | Question: 29
Consider the intermediate code given below. (1) i=1 (2) j=1 (3) t1 = 5 * i (4) t2 = t1 + j (5) t3 = 4 * t2 (6) t4 = t3 (7) a[t4] = -1 (8) j = j + 1 (9) if j <= 5 goto (3) (10) i = i +1 (11) if i < 5 goto (2) The number of nodes and edges in control-flow-graph constructed for the above code, respectively, are $5$ and $7$ $6$ and $7$ $5$ and $5$ $7$ and $8$
go_editor
asked
in
Compiler Design
Feb 12, 2015
by
go_editor
25.4k
views
gatecse-2015-set2
compiler-design
intermediate-code
normal
54
votes
4
answers
115
GATE CSE 2015 Set 1 | Question: 8
For computer based on three-address instruction formats, each address field can be used to specify which of the following: (S1) A memory operand (S2) A processor register (S3) An implied accumulator register Either $S1$ or $S2$ Either $S2$ or $S3$ Only $S2$ and $S3$ All of $S1$, $S2$ and $S3$
makhdoom ghaya
asked
in
Compiler Design
Feb 12, 2015
by
makhdoom ghaya
18.7k
views
gatecse-2015-set1
compiler-design
intermediate-code
normal
47
votes
1
answer
116
GATE CSE 1994 | Question: 1.12
Generation of intermediate code based on an abstract machine model is useful in compilers because it makes implementation of lexical analysis and syntax analysis easier syntax-directed translations can be written for intermediate code generation it ... the compiler it is not possible to generate code for real machines directly from high level language programs
Kathleen
asked
in
Compiler Design
Oct 4, 2014
by
Kathleen
19.7k
views
gate1994
compiler-design
intermediate-code
easy
35
votes
4
answers
117
GATE CSE 2014 Set 3 | Question: 17
One of the purposes of using intermediate code in compilers is to make parsing and semantic analysis simpler. improve error recovery and error reporting. increase the chances of reusing the machine-independent code optimizer in other compilers. improve the register allocation.
go_editor
asked
in
Compiler Design
Sep 28, 2014
by
go_editor
9.0k
views
gatecse-2014-set3
compiler-design
intermediate-code
easy
100
votes
9
answers
118
GATE CSE 2014 Set 2 | Question: 34
For a C program accessing $\mathbf{X[i] [j] [k]}$, the following intermediate code is generated by a compiler. Assume that the size of an integer is $32$ bits and the size of a character is $8$ bits. t0 = i ∗ 1024 t1 = j ∗ 32 t2 = k ∗ 4 t3 = t1 + t0 t4 ... as "char $\mathbf{X[4] [32] [8]}$ . $\mathbf{X}$ is declared as "char $\mathbf{X[32] [16] [2]}$ .
go_editor
asked
in
Compiler Design
Sep 28, 2014
by
go_editor
30.9k
views
gatecse-2014-set2
compiler-design
intermediate-code
programming-in-c
normal
Page:
« prev
1
2
3
4
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(24)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(682)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
243k
comments
79.7k
users
Recent questions tagged intermediate-code
Recent Blog Comments
Hlo I'm Rupesh I got AIR 3485 in gate CS and AIR...
@Ajay Sasank here is the direct link...
Thank you for the post didi My GATE 2023 & 2024...
I Hope it helps 😊
Today's best post I seen thank you for motivation