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 three-address-code
0
votes
1
answer
31
MadeEasy Test Series 2018: Compiler - Code Optimization
Given the 3-address code for a basic block: The number of registers that are needed to allocate this basic block with no spills are ________.? My doubt here is : Is there any difference in question asking for minimum ... ask for minimum number of variables required in three address code, Only then should we optimize the code before counting?
Shivam Kasat
asked
in
Compiler Design
Dec 23, 2018
by
Shivam Kasat
640
views
compiler-design
three-address-code
made-easy-test-series
numerical-answers
0
votes
0
answers
32
self_doubt
what will be the three address code for x=A[i][j] Given A[M][N] and w is word size; t1=i*N; t2=t1+j; t3=t2*w; t4=base address of array A[M][N] t5=t4+t3; x=t5; My doubt here: Is there any need of t4 variable for storing the base address of arrary or we can directly do it as t4=A[t3]; x=t4;
Shivam Kasat
asked
in
Compiler Design
Dec 22, 2018
by
Shivam Kasat
354
views
compiler-design
intermediate-code
three-address-code
array
2
votes
1
answer
33
3 address code
The minimum number of variables required in 3 address code of the given expression are:______ a * b * c + d - a + e * f - g + h Order of precedence: * > + > - ; with * as left associative and +,- as right associative.
Sambhrant Maurya
asked
in
Compiler Design
Nov 1, 2018
by
Sambhrant Maurya
3.5k
views
compiler-design
intermediate-code
three-address-code
numerical-answers
0
votes
1
answer
34
made easy test series
Chetan28kumar
asked
in
Compiler Design
Oct 19, 2018
by
Chetan28kumar
239
views
compiler-design
code-optimization
three-address-code
numerical-answers
made-easy-test-series
0
votes
1
answer
35
made easy online test
For question like :- Find minimum number of variable required to solve the expression in three address code. (not SSA) Do we need to consider the given variable also? Example:- q + r/3 + s – t * 5 + u * v/w how many variable required?
sardendu
asked
in
Compiler Design
Sep 29, 2018
by
sardendu
194
views
three-address-code
made-easy-test-series
numerical-answers
0
votes
2
answers
36
3 address code
Shivangi Parashar 2
asked
in
Compiler Design
Sep 19, 2018
by
Shivangi Parashar 2
601
views
compiler-design
intermediate-code
three-address-code
virtual-gate-test-series
0
votes
1
answer
37
Doubt in Compiler
Three address codes can be implemented by (a) indirect triples (b) direct triples (c) quadruples (d) none of the above
goluabhinan
asked
in
Compiler Design
Sep 16, 2018
by
goluabhinan
1.2k
views
compiler-design
intermediate-code
three-address-code
0
votes
1
answer
38
Test series
$\text{What is three address code representation of this ?}$ -a+b|c^d^e*f|g
Nikhil Patil
asked
in
Compiler Design
Feb 18, 2018
by
Nikhil Patil
349
views
compiler-design
three-address-code
numerical-answers
test-series
0
votes
2
answers
39
test series
Consider the following statements: S1 : Three-address code is a linearized representation of syntax tree. S2 : The syntax tree not depicts the natural hierarchical structure of source program. Which of the following is true? plz explain s1 statement
92komal
asked
in
Compiler Design
Dec 23, 2017
by
92komal
2.0k
views
compiler-design
three-address-code
test-series
7
votes
1
answer
40
No of Temporary Variable required
Consider the following $3-$address code. $t_1=t+e$ $t_2=g+a$ $t_3=t_1+t_2$ $t_4=t_2+t_2$ $t_5=t_4+t_3$ There are five temporary variables in above code. The minimum number of temporary variables that can be used in the equivalent optimised $3-$address code of above code are ______________. Can anyone Confirm How many temporary variables required here.? I got 3 .
junaid ahmad
asked
in
Compiler Design
Oct 5, 2017
by
junaid ahmad
443
views
compiler-design
three-address-code
numerical-answers
1
vote
1
answer
41
3 address representation
In 3 address code format can LHS be repeated ? For eg if we have expression a + b*c then t1 = a t2 = b*c t1 = t1 + t2 or t3 = t1 + t2 which one is correct?
Xylene
asked
in
Compiler Design
Aug 29, 2017
by
Xylene
227
views
compiler-design
intermediate-code
three-address-code
descriptive
0
votes
1
answer
42
doubt
why x=a[i][j] and x=f(a,b) are not three address code..
firki lama
asked
in
Compiler Design
Jan 5, 2017
by
firki lama
415
views
intermediate-code
three-address-code
compiler-design
0
votes
1
answer
43
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
369
views
compiler-design
intermediate-code
three-address-code
0
votes
1
answer
44
Three address code
thor
asked
in
Compiler Design
Nov 17, 2016
by
thor
764
views
compiler-design
intermediate-code
three-address-code
test-series
2
votes
1
answer
45
ME-Single Static Assignment
Do I have to define variables(a,b,c,d,e) in temp variable before use? Ans is 6 or 11??
KISHALAY DAS
asked
in
Compiler Design
Oct 21, 2016
by
KISHALAY DAS
402
views
compiler-design
code-optimization
three-address-code
static-single-assignment
numerical-answers
made-easy-test-series
1
vote
1
answer
46
ME TEST SERIES
Aman Jha
asked
in
Compiler Design
Oct 14, 2016
by
Aman Jha
199
views
compiler-design
intermediate-code
three-address-code
directed-acyclic-graph
made-easy-test-series
2
votes
2
answers
47
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
25.4k
views
compiler-design
three-address-code
3
votes
1
answer
48
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
12.3k
views
compiler-design
intermediate-code
three-address-code
5
votes
4
answers
49
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
1.9k
views
compiler-design
intermediate-code
three-address-code
Page:
« prev
1
2
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
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
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
NTA UGC NET JRF December 2022 Apply Online Form 2023
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.8k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent questions tagged three-address-code
Recent Blog Comments
It's not a standard resource, don't follow them.
https://byjus.com/maths/diagonalization/
@amit166 can you share the reference of the...
Twist at every point Man
Diagonalization of a MatrixIf there is an...