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
1
vote
0
answers
61
MadeEasy Test Series: Compiler Design - Static Single Assignment
What is the Static Single Assignment (SSA) form for the following code segment: a = b+c; c = a+x; d = b+c; d = a+x; Should we use only 1 temporary variable for c=a+x and d=a+x because both of them evaluate the same expression finally?
Heena Jain
asked
in
Compiler Design
Nov 15, 2018
by
Heena Jain
1.7k
views
made-easy-test-series
compiler-design
intermediate-code
static-single-assignment
2
votes
1
answer
62
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
1
vote
5
answers
63
Static Single Assignment form
Consider the following code generation: a=b+c; c=a+x; d=b+c; b=a+x; The minimum no. of total variables required to convert the above code to static single assignment form is______
Sambhrant Maurya
asked
in
Compiler Design
Nov 1, 2018
by
Sambhrant Maurya
2.8k
views
compiler-design
static-single-assignment
intermediate-code
4
votes
2
answers
64
Intermediate code generation-Made easy test series
The minimum number of temporary variables created in 3 address code of the following expression are _____ a+b*c+d-e-a+b*c Assume order of precedence from highest to lowest as: *,+ and - .Consider associativity for + and * are not important but - is left associative.
Sambhrant Maurya
asked
in
Compiler Design
Nov 1, 2018
by
Sambhrant Maurya
2.3k
views
compiler-design
intermediate-code
made-easy-test-series
numerical-answers
0
votes
2
answers
65
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
66
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
2
votes
1
answer
67
ISRO2018-28
Incremental-Compiler is a compiler: which is written in a language that is different from the source language compiles the whole source code to generate object code afresh compiles only those portion of source code that have been modified that runs on one machine but produces object code for another machine
Arjun
asked
in
Compiler Design
Apr 22, 2018
by
Arjun
2.5k
views
isro2018
compiler-design
intermediate-code
2
votes
1
answer
68
MadeEasy Test Series 2018: Compiler Design - Intermediate Code
Consider the intermediate code given below: The number of nodes and edges in the control-flow graph constructed for the above code, respectively are X and Y. The value of X + Y is ________.
rahul sharma 5
asked
in
Compiler Design
Jan 24, 2018
by
rahul sharma 5
1.2k
views
compiler-design
intermediate-code
made-easy-test-series
4
votes
2
answers
69
MadeEasy Test Series 2018: Compiler Design - Intermediate Code
The following program uses six temporary variables p, q, r, s, t and u. The code is : Assuming that all operations take their operands from registers. The minimum number of registers needed to execute this program without spilling are ... three lines and the last line are dead code. So the answer should be 2. Please correct me if wrong.
Saikat Dutta
asked
in
Compiler Design
Jan 22, 2018
by
Saikat Dutta
1.4k
views
compiler-design
intermediate-code
made-easy-test-series
2
votes
1
answer
70
Intermediate Code Generation
dragonball
asked
in
Compiler Design
Jan 14, 2018
by
dragonball
1.5k
views
compiler-design
intermediate-code
1
vote
0
answers
71
Code Generation
Difference between assembly code generation and intermediate code generation lies in number of registers both of them used for intermediate results Which is more register and in which phase?
srestha
asked
in
Compiler Design
Jan 4, 2018
by
srestha
577
views
compiler-design
intermediate-code
0
votes
2
answers
72
intermediate code
Consider four programming languages viz. C, C++, C# and JAVA and three machines which have different configuration (such as OS, hardware). If someone needs to write a compiler for the above mentioned languages and machines, then the number of compilers required with and without intermediate code phase are --------- and ------ respectively.
Parshu gate
asked
in
Compiler Design
Nov 27, 2017
by
Parshu gate
2.1k
views
intermediate-code
compiler-design
1
vote
2
answers
73
DAG Representation of the below grammar
Consider the following code segment. x = u – t; y = x * v; x = y + w; y = t – z; y = x * y;
techbrk3
asked
in
Compiler Design
Nov 11, 2017
by
techbrk3
1.4k
views
compiler-design
intermediate-code
directed-acyclic-graph
3
votes
1
answer
74
Number of internal nodes in the DAG representation of the following expression are :
((a ∗ a) ∗ (a ∗ a)) ∗ ((a ∗ a) ∗ (a ∗ a)))
techbrk3
asked
in
Compiler Design
Nov 11, 2017
by
techbrk3
1.4k
views
compiler-design
intermediate-code
2
votes
1
answer
75
self doubt
what is meant by reusing machine independent code optimizer in other compilers ???? generally the machine independent code is the intermediate code which can be used to build a back end for any platform ..please clarify
Venkat Sai
asked
in
Compiler Design
Oct 21, 2017
by
Venkat Sai
314
views
compiler-design
intermediate-code
0
votes
1
answer
76
compiler design
CAN ANYONE PLEASE EXPLAIN WHAT IS SSA I AM NOT UNDERSTANDING THAT CONCEPT ANYWHERE!!!! NOT EVEN THERE IN ULLMAN
Venkat Sai
asked
in
Compiler Design
Oct 14, 2017
by
Venkat Sai
354
views
intermediate-code
1
vote
1
answer
77
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
365
views
compiler-design
intermediate-code
three-address-code
descriptive
0
votes
1
answer
78
Compiler Design
a) (i) and (ii) only b) (ii) and (iii) only c) (i) and (iv) only d) All are correct
stblue
asked
in
Compiler Design
Aug 26, 2017
by
stblue
825
views
compiler-design
intermediate-code
compilation-phases
test-series
2
votes
1
answer
79
dragon book - exercise 6.2.2 i)
How to represent a=b[i]+c[j] in quadruple?
shriram s 1
asked
in
Compiler Design
Aug 21, 2017
by
shriram s 1
870
views
compiler-design
intermediate-code
4
votes
1
answer
80
Test by Bikram | Mock GATE | Test 4 | Question: 2
Consider the following statements : $S1$: Automatic garbage collection is not essential to implement recursion. $S2$: Operator precedence parser falls under the category of top down parsers. $S3$: To evaluate a postfix expression, an operator stack is required. Which of the ... true ? $S1$ & $S3$ $S1$ & $S2$ $S2$ & $S3$ $S1$ & $S4$
Bikram
asked
in
GATE
May 14, 2017
by
Bikram
418
views
tbb-mockgate-4
compiler-design
parsing
intermediate-code
runtime-environment
1
vote
1
answer
81
compiler design
the following intermediate best suited for derivation of common subexpression?????????? a. qudraples b.triples c.trees d.postfix code explain plz
akankshadewangan24
asked
in
Compiler Design
Apr 24, 2017
by
akankshadewangan24
274
views
compiler-design
intermediate-code
36
votes
4
answers
82
GATE CSE 2017 Set 1 | Question: 12
Consider the following intermediate program in three address code p = a - b q = p * c p = u * v q = p + q Which one of the following corresponds to a static single assignment form of the above code? p1 = a - b q1 = p1 * c p1 = u * v q1 = p1 + q1 p3 = a - b q4 = p3 * c p4 = ... = a - b q1 = p2 * c p3 = u * v q2 = p4 + q3 p1 = a - b q1 = p * c p2 = u * v q2 = p + q
Arjun
asked
in
Compiler Design
Feb 14, 2017
by
Arjun
11.4k
views
gatecse-2017-set1
compiler-design
intermediate-code
normal
static-single-assignment
0
votes
1
answer
83
MADE EASY_COMPILER
Which of the following is correct? a. One of the purposes of using intermediate code in compilers is to improve the register allocation. b. Leaf node of the tree always have only inherited attribute. c. The difference between assembly code generation ... used by both of them to hold the intermediate results. d. The output of intermediate code generation is machine dependent.
cse23
asked
in
Compiler Design
Jan 28, 2017
by
cse23
1.6k
views
compiler-design
intermediate-code
register-allocation
descriptive
made-easy-booklet
0
votes
1
answer
84
What to study in code optimization?..Please list the topics
Please can anyone list the topics to study in this part. The syllabus only states basics of code generation and optimization. Anyone who had prepared gate earlier. What did you study?
Tridhara Chakrabarti
asked
in
Compiler Design
Jan 23, 2017
by
Tridhara Chakrabarti
1.3k
views
compiler-design
code-optimization
target-code-generation
intermediate-code
0
votes
2
answers
85
Virtual Gate Test Series: Compiler Design - Triples
Which of the following is an advantage of $\text{'Triples'}$ Statements can be moved around Wastage of too much space Space is not wasted Two memory access per operation
ManojK
asked
in
Compiler Design
Jan 9, 2017
by
ManojK
919
views
compiler-design
intermediate-code
virtual-gate-test-series
0
votes
1
answer
86
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
501
views
intermediate-code
three-address-code
compiler-design
1
vote
1
answer
87
MadeEasy Subject Test: Compiler Design - Intermediate Code
rahul sharma 5
asked
in
Compiler Design
Dec 29, 2016
by
rahul sharma 5
531
views
compiler-design
made-easy-test-series
intermediate-code
1
vote
1
answer
88
GATE CSE 1988 | Question: 10iia
Translate the executable statements of the following Pascal Program into quadruples. Assume that integer and real values require four words each. repeat flag[i]:=true; while turn !=i do begin while flag[j] do skip turn:=i; end critical section flag[i]:=false; until false Program Test; ... 1...10] of real; begin i:=0; While i:<=10 do begin a[i]:=0; i:=i+1 end; end.
go_editor
asked
in
Compiler Design
Dec 19, 2016
by
go_editor
803
views
gate1988
descriptive
compiler-design
intermediate-code
pascal
out-of-gate-syllabus
8
votes
1
answer
89
GATE CSE 1988 | Question: 2xvii
Construct a DAG for the following set of quadruples: E:=A+B F:=E-C G:=F*D H:=A+B I:=I-C J:=I+G
go_editor
asked
in
Compiler Design
Dec 19, 2016
by
go_editor
2.4k
views
gate1988
descriptive
compiler-design
intermediate-code
5
votes
2
answers
90
GATE CSE 1989 | Question: 4-v
Is the following code template for the if-then-else statement correct? if not, correct it. $\text{if} \text{ expression then statement } 1$ $\text{else statement }2$ Template: Code for expression (*result in $E, E > O$ indicates true *) Branch on $E > O$ to $L1$ Code for statement $1$ $L1$: Code for statement $2$
makhdoom ghaya
asked
in
Compiler Design
Nov 30, 2016
by
makhdoom ghaya
1.8k
views
descriptive
gate1989
compiler-design
intermediate-code
Page:
« prev
1
2
3
4
next »
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.6k
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