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 code-optimization
1
vote
1
answer
31
UGC NET CSE | June 2019 | Part 2 | Question: 73
Replacing the expression $4\ast 2\cdot 14$ by $8 \cdot 56$ is known as constant folding induction variable strength reduction code reduction
Arjun
asked
in
Compiler Design
Jul 2, 2019
by
Arjun
4.1k
views
ugcnetcse-june2019-paper2
code-optimization
constant-folding
0
votes
2
answers
32
Made Easy Test Series
b = b + c d = b + d b = b – d e = d + b The minimum number of nodes and edges present in the DAG representation of above basic block respectively are ? 4 and 5 5 and 4 6 and 6 6 and 7
balraj_allam
asked
in
Compiler Design
Jan 27, 2019
by
balraj_allam
2.4k
views
compiler-design
code-optimization
directed-acyclic-graph
made-easy-test-series
0
votes
1
answer
33
me test
Consider the basic block given below: u=u+v v=v+w x=v-w y=v-x z=u+v The minimum number of nodes and edges present in the DAG representations of the above basic block respectively are:
newdreamz a1-z0
asked
in
Compiler Design
Jan 12, 2019
by
newdreamz a1-z0
1.3k
views
compiler-design
code-optimization
directed-acyclic-graph
numerical-answers
0
votes
0
answers
34
Testbook Test Series: Compiler Design - Code Optimization
Consider the statement do { i = i + 1; } while ( a[i] < b ); The minimum number of variables required in the three address code of the above statement ?
Shobhit Joshi
asked
in
Compiler Design
Jan 1, 2019
by
Shobhit Joshi
383
views
testbook-test-series
compiler-design
code-optimization
0
votes
1
answer
35
GATE Overflow | Mock GATE | Test 1 | Question: 32
A sequential search operation is performed on an array $A$ for the key value of $'x'$ (ignore quotes). Consider the following piece of assembly language code that uses back patching to perform the sequential search. i=0; P: if (i<A.length) goto ____; ... in the blanks provided ordered from top to bottom? R T U P R U T P P U T R P T U R
Ruturaj Mohanty
asked
in
Algorithms
Dec 27, 2018
by
Ruturaj Mohanty
620
views
go-mockgate-1
algorithms
searching
compiler-design
intermediate-code
code-optimization
1
vote
1
answer
36
control flow graph
do we have control flow graph in gate syllabus?
harsh yadav
asked
in
Compiler Design
Dec 27, 2018
by
harsh yadav
659
views
compiler-design
code-optimization
1
vote
2
answers
37
NIELIT 2018-64
Which of the following code replacements is an example of operator strength reduction? Replace $ \text{P^2} $ by $P^*P$ Replace $ P^*16$ by $P<<4$ Replace $ \text{pow}(P,3) $ by $P^*P^*P$ Replace $ (P <<5) -P $ by $P^*3$
Arjun
asked
in
Compiler Design
Dec 7, 2018
by
Arjun
4.4k
views
nielit-2018
compiler-design
code-optimization
1
vote
2
answers
38
NIELIT 2018-77
_____ merges the bodies of two loops loop rolling loop folding loop merge loop jamming
Arjun
asked
in
Compiler Design
Dec 7, 2018
by
Arjun
1.5k
views
nielit-2018
compiler-design
code-optimization
0
votes
0
answers
39
Gateforum Test Series: Compiler Design - Code Optimization
Gupta731
asked
in
Compiler Design
Nov 29, 2018
by
Gupta731
411
views
gateforum-test-series
compiler-design
code-optimization
0
votes
1
answer
40
Virtual Gate
I_am_winner
asked
in
Compiler Design
Nov 23, 2018
by
I_am_winner
313
views
compiler-design
code-optimization
static-single-assignment
numerical-answers
virtual-gate-test-series
0
votes
1
answer
41
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
42
doubt
what is the usage of symbol table in code optimization phase please explain???
garimanand
asked
in
Compiler Design
Sep 28, 2018
by
garimanand
301
views
compiler-design
code-optimization
symbol-table
0
votes
2
answers
43
Doubt in Compilers
Which of the following optimization techniques are typically applied on loops? (a) Removal of invariant computation (b) Elimination of induction variables (c) Peephole optimization (d) Constant folding
goluabhinan
asked
in
Compiler Design
Sep 16, 2018
by
goluabhinan
4.9k
views
compiler-design
code-optimization
0
votes
2
answers
44
Directed Acyclic Graph
Question.Construct the Dag for the following Assume that + is left associative? a)a+b+(a+b) b)a+b+a+b c)a+a+(a+a+a+(a+a+a+a)) Please give the Answer to these questions?????
saumya mishra
asked
in
Compiler Design
Jun 13, 2018
by
saumya mishra
9.4k
views
compiler-design
code-optimization
directed-acyclic-graph
0
votes
2
answers
45
ISRO2018-29
DU-chains(Definition-Use) in compiler design: consist of a definition of a variable and all its uses, reachable from that definition are created using a form static code analysis are prerequisite for many compiler optimization including constant propagation and common sub-expression elimination All of the above
Arjun
asked
in
Compiler Design
Apr 22, 2018
by
Arjun
2.3k
views
isro2018
compiler-design
code-optimization
4
votes
2
answers
46
ISRO2018-30
Which of the following comment about peep-hole optimization is true? It is applied to small part of the code and applied repeatedly It can be used to optimize intermediate code It can be applied to a portion of the code that is not contiguous It is applied in symbol table to optimize the memory requirements.
Arjun
asked
in
Compiler Design
Apr 22, 2018
by
Arjun
4.3k
views
isro2018
compiler-design
code-optimization
0
votes
0
answers
47
General Topic Doubt Compiler Design: Live Variable
Ronish Jariwala 1
asked
in
Compiler Design
Apr 15, 2018
by
Ronish Jariwala 1
401
views
compiler-design
symbol-table
code-optimization
target-code-generation
general-topic-doubt
2
votes
0
answers
48
MadeEasy Test Series: Compiler Design - Code Optimization
I'm getting 8,10 but the answer given is 6,6
charul
asked
in
Compiler Design
Jan 21, 2018
by
charul
388
views
compiler-design
code-optimization
made-easy-test-series
2
votes
1
answer
49
DAG representation
Please answer this!
Balaji Jegan
asked
in
Compiler Design
Jan 20, 2018
by
Balaji Jegan
641
views
compiler-design
code-optimization
directed-acyclic-graph
descriptive
test-series
3
votes
0
answers
50
MadeEasy Test Series 2018: Compiler Design - Code Optimization
I got answer 8 nodes and 10 edges. but answer is 6 nodes and 6 edges anyone plz explain.
ashish pal
asked
in
Compiler Design
Jan 8, 2018
by
ashish pal
672
views
compiler-design
code-optimization
madeeasy-testseries-2018
made-easy-test-series
–2
votes
1
answer
51
ace test series
eyeamgj
asked
in
Compiler Design
Jan 3, 2018
by
eyeamgj
402
views
compiler-design
code-optimization
directed-acyclic-graph
ace-test-series
2
votes
2
answers
52
ISRO-DEC2017-67
Consider the code segment int i,j,x,y,m,n; n = 20; for(i=0;i<n;i++) { for(j=0;j<n;j++) { if(i%2) { x += ((4*j)+5*i); y += (7+4*j) } } } m=x+y; Which one of the following is false? ... loop invariant computation There is scope of common sub-expression elimination in this code There is scope of strength reduction in this code There is scope of dead code elimination in this code
gatecse
asked
in
Compiler Design
Dec 17, 2017
by
gatecse
1.5k
views
isrodec2017
code-optimization
compiler-design
0
votes
0
answers
53
MadeEasy Test Series: Compiler Design - Code Optimization
I'm getting 4 nodes and 5 edges. But the answer given is : 6 nodes and 7 edges
charul
asked
in
Compiler Design
Dec 6, 2017
by
charul
587
views
made-easy-test-series
compiler-design
code-optimization
0
votes
1
answer
54
DAG problem
What will be the DAG representation of a=b+c , b= b+c
phprashanthans
asked
in
Compiler Design
Dec 3, 2017
by
phprashanthans
849
views
compiler-design
code-optimization
directed-acyclic-graph
descriptive
0
votes
1
answer
55
compiler
The intermediate form for representing expressions which is best suited for code optimization is the postfix form.(true / false)
arch
asked
in
Compiler Design
Nov 19, 2017
by
arch
324
views
compiler-design
code-optimization
3
votes
1
answer
56
#DAG #Ullman
((x+y)-((x+y)*(x-y)))+((x+y)*(x-y)) Is this correct DAG for given expression ?
Pawan Kumar 2
asked
in
Compiler Design
Nov 2, 2017
by
Pawan Kumar 2
9.2k
views
compiler-design
code-optimization
directed-acyclic-graph
2
votes
1
answer
57
dag#intermediatecode
Minimum number of edges in the dag that represents the expression : x + x + x + x + x + x + x + x + x
pm9999
asked
in
Compiler Design
Oct 5, 2017
by
pm9999
523
views
compiler-design
code-optimization
directed-acyclic-graph
numerical-answers
6
votes
1
answer
58
DAG COMPILER
A) 2 B)3 C) 4 D) 5
set2018
asked
in
Compiler Design
Sep 28, 2017
by
set2018
3.1k
views
compiler-design
code-optimization
directed-acyclic-graph
1
vote
2
answers
59
static single assignment form
Consider the following code segment a= b - c d = a + d a = d + e d = c * f d = a * d the min number of total variables required to convert the above code segment to static single assignment form is _____________
A_i_$_h
asked
in
Compiler Design
Sep 7, 2017
by
A_i_$_h
595
views
compiler-design
code-optimization
static-single-assignment
numerical-answers
1
vote
1
answer
60
compiler design
is it true that code optimization has been removed from compiler design
arswarsi
asked
in
Compiler Design
Aug 27, 2017
by
arswarsi
289
views
compiler-design
code-optimization
descriptive
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
(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 code-optimization
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:...