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
static single assignment
# of temporary variable required to create 3 address code in static single assignment form for the expression P+Q*R-S/(Q*R).
minal
asked
in
Compiler Design
Jan 22, 2019
by
minal
925
views
compiler-design
intermediate-code
three-address-code
static-single-assignment
numerical-answers
0
votes
1
answer
32
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
988
views
compiler-design
three-address-code
made-easy-test-series
numerical-answers
0
votes
0
answers
33
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
472
views
compiler-design
intermediate-code
three-address-code
array
2
votes
1
answer
34
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
4.3k
views
compiler-design
intermediate-code
three-address-code
numerical-answers
0
votes
1
answer
35
made easy test series
Chetan28kumar
asked
in
Compiler Design
Oct 19, 2018
by
Chetan28kumar
448
views
compiler-design
code-optimization
three-address-code
numerical-answers
made-easy-test-series
0
votes
1
answer
36
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
470
views
three-address-code
made-easy-test-series
numerical-answers
0
votes
2
answers
37
3 address code
Shivangi Parashar 2
asked
in
Compiler Design
Sep 19, 2018
by
Shivangi Parashar 2
1.0k
views
compiler-design
intermediate-code
three-address-code
virtual-gate-test-series
0
votes
1
answer
38
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.6k
views
compiler-design
intermediate-code
three-address-code
0
votes
1
answer
39
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
561
views
compiler-design
three-address-code
numerical-answers
test-series
0
votes
2
answers
40
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 22, 2017
by
92komal
2.4k
views
compiler-design
three-address-code
test-series
7
votes
1
answer
41
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
591
views
compiler-design
three-address-code
numerical-answers
1
vote
1
answer
42
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
381
views
compiler-design
intermediate-code
three-address-code
descriptive
0
votes
1
answer
43
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
515
views
intermediate-code
three-address-code
compiler-design
0
votes
1
answer
44
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
732
views
compiler-design
intermediate-code
three-address-code
0
votes
1
answer
45
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
2
votes
1
answer
46
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
609
views
compiler-design
code-optimization
three-address-code
static-single-assignment
numerical-answers
made-easy-test-series
1
vote
1
answer
47
ME TEST SERIES
Aman Jha
asked
in
Compiler Design
Oct 14, 2016
by
Aman Jha
379
views
compiler-design
intermediate-code
three-address-code
directed-acyclic-graph
made-easy-test-series
2
votes
2
answers
48
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
49
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
5
votes
4
answers
50
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.4k
views
compiler-design
intermediate-code
three-address-code
Page:
« prev
1
2
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
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged three-address-code
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...