Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged directed-acyclic-graph
0
0 votes
0
0 answers
2.1k
2.1k views
DAG Representation
How to solve Questions of DAG like :- https://gateoverflow.in/2068/gate2014-3-34My Solution:- (Please Point out what i am doing wrong)and please also do tell the proper w...
Na462
2.1k
views
asked
Jun 8, 2018
Compiler Design
directed-acyclic-graph
+
–
2
2 votes
1
1 answer
1.2k
1.2k views
DAG representation
Please answer this!Consider the basic block given below:\[\begin{array}{l}b=b+c \\d=b+d \\b=b-d \\e=d+b\end{array}\]The minimum number of nodes and edges present in the D...
Balaji Jegan
1.2k
views
asked
Jan 20, 2018
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
descriptive
test-series
+
–
2
2 votes
0
0 answers
1.2k
1.2k views
MadeEasy Test Series 2018: Compiler Design - Code Optimization
I got answer 8 nodes and 10 edges.but answer is 6 nodes and 6 edgesanyone plz explain.
ashish pal
1.2k
views
asked
Jan 8, 2018
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
made-easy-test-series
+
–
6
6 votes
0
0 answers
1.8k
1.8k views
DAG Representation
Consider C program given belowmain() { a=a+b; c=a*c; d=c-d; a=c/d; printf("%d",a); }What will the minimum number of nodes and edge present in the DAG representation of th...
srestha
1.8k
views
asked
Jan 4, 2018
Compiler Design
compiler-design
directed-acyclic-graph
+
–
–2
–2 votes
1
1 answer
774
774 views
ace test series
eyeamgj
774
views
asked
Jan 3, 2018
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
ace-test-series
+
–
0
0 votes
1
1 answer
1.2k
1.2k views
DAG problem
What will be the DAG representation of a=b+c , b= b+c
phprashanthans
1.2k
views
asked
Dec 3, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
descriptive
+
–
1
1 vote
2
answers
2 answers
2.8k
2.8k views
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
2.8k
views
asked
Nov 11, 2017
Compiler Design
compiler-design
intermediate-code
directed-acyclic-graph
+
–
3
3 votes
1
answers
1 answer
12.4k
12.4k views
#DAG #Ullman
((x+y)-((x+y)*(x-y)))+((x+y)*(x-y))Is this correct DAG for given expression ?
Pawan Kumar 2
12.4k
views
asked
Nov 2, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
+
–
3
3 votes
1
1 answer
1.5k
1.5k views
topological ordering of DAG
What is the method to find no of topological ordering of a Directed Acyclic Graph?For an instance, i found two graphs on internet, whose no of topological ordering is giv...
stanchion
1.5k
views
asked
Oct 21, 2017
Data Structures
topological-sort
data-structures
directed-acyclic-graph
no-of-topological-ordering
+
–
2
2 votes
1
1 answer
995
995 views
dag#intermediatecode
Minimum number of edges in the dag that represents the expression :x + x + x + x + x + x + x + x + x
pm9999
995
views
asked
Oct 5, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
numerical-answers
+
–
6
6 votes
1
answers
1 answer
3.8k
3.8k views
DAG COMPILER
A) 2B)3C) 4D) 5
set2018
3.8k
views
asked
Sep 28, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
+
–
1
1 vote
1
answers
1 answer
3.0k
3.0k views
A directed acyclic graph represents one form of intermediate repsentation .
A directed acyclic graph represents one form of intermediate representation.The number of non-terminal nodes in DAG of a=(b+c)*(b+c)a)2b)3c)4d)5
neha singh
3.0k
views
asked
Mar 17, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
+
–
0
0 votes
1
answers
1 answer
1.2k
1.2k views
DAG ace test question
How does answer change when it is in SSA form? does answer remains 4 or 5
thor
1.2k
views
asked
Jan 22, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
numerical-answers
ace-test-series
+
–
2
2 votes
4
4 answers
3.9k
3.9k views
Directed acyclic graph
In questions like, when asked to find the edges or nodes in the DAG of following expression,a=a+b*c-(a+b)+(b*c)do we also consider "=" as a node and its related edges?
Shradha
3.9k
views
asked
Jan 9, 2017
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
+
–
4
4 votes
1
answers
1 answer
4.5k
4.5k views
DAG compilers
How to find unnecessary production while optimising DAG. for ex-a = b * c d = b e = d * c b = e f = b + c g = f + dHow many production need to be removed and how to find ...
Tendua
4.5k
views
asked
Dec 21, 2016
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
+
–
1
1 vote
1
1 answer
720
720 views
ME TEST SERIES
Aman Jha
720
views
asked
Oct 14, 2016
Compiler Design
compiler-design
intermediate-code
three-address-code
directed-acyclic-graph
made-easy-test-series
+
–
1
1 vote
0
0 answers
860
860 views
dag
Here is a sequence of twelve array assignments and references:r = a[i]s = a[j]t = a[i]a[j] = bu = a[i]v = a[j]a[j] = cw = a[i]x = a[j]y = a[i]z = a[j]a[j] = bConstruct th...
__
860
views
asked
Sep 2, 2016
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
test-series
+
–
1
1 vote
1
answers
1 answer
2.3k
2.3k views
Compiler Gate
Construct DAG for[a+a * (b-c) + [ (b-c) + d ].
LavTheRawkstar
2.3k
views
asked
Jun 27, 2016
Compiler Design
compiler-design
intermediate-code
directed-acyclic-graph
+
–
1
1 vote
4
4 answers
4.5k
4.5k views
DAG
Q). Consider the following directed acyclic graph (DAG): The expression represented by above DAG is:(A) $a+a+(a+a+a)$(B) $a+a+(a+a+a+(a+a+a+a))$...
Mojo-Jojo
4.5k
views
asked
Jan 29, 2016
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
+
–
0
0 votes
3
answers
3 answers
2.8k
2.8k views
How to evaluate given DAG ?
In this one I am unable to follow in the above node marked as "-" ,it has two edges one upward and one downward for "+" node so then how to proceed with this ?Consider th...
radha gogia
2.8k
views
asked
Dec 9, 2015
Compiler Design
compiler-design
code-optimization
directed-acyclic-graph
numerical-answers
test-series
+
–
92
92 votes
6
answers
6 answers
53.8k
53.8k views
GATE CSE 2014 | Set 3 | Question: 34
Consider the basic block given below. a = b + c c = a + d d = b + c e = d - b a = e + b The minimum number of nodes and edges present in the DAG representation of the abo...
go_editor
53.8k
views
asked
Sep 28, 2014
Compiler Design
gatecse-2014-set3
compiler-design
code-optimization
directed-acyclic-graph
normal
+
–
Page:
« prev
1
2