Solution:-
The topological sort of the graph can be done by finding the
indegree of every node, indegree of JCT A = 0 , indegree of JCT B =
1 , indegree of JCT C = 1 , indegree of JCT D = 2 , indegree of JCT
E = 1 , indegree of JCT F = 2 , indegree of JCT G = 2. Now choosing
the node having indegree as 0 (which is JCT A) and removing it due
to which indegree of every node would be affected and now again
choosing the node having indegree 0 (which is now JCT B) and
removing it. Now after removing JCT B you have 2 nodes having
indegree 0 that are JCT C , JCT D so anyone can be chosen and the
process will be repeated until all the nodes have been removed. So
the possible topological ordering can be
Ordering 1: JCT A, JCT B, JCT C, JCT D, JCT E, JCT F, JCT G
Ordering 2: JCT A, JCT B, JCT D, JCT C, JCT E, JCT F, JCT G
Ordering 3: JCT A, JCT B, JCT C, JCT E, JCT D, JCT F, JCT G
Find a topological sort for the graph in file hw9_dag_junctions.png. ЈСТ А 9 6 7 JCT...
15 points 3. Find the maximum flow from JCT A to JCT G for the graph in file hwo, dag Jjunctions png Show each step as in slides 84 to 85. JCT A 9 7 JCT G JCT B JCT D 4 8 CT F
2. Is the topological sort in
the Cormen textbook fig 22.7 unique? Are there other ways of
sorting? Explain why or why not considering the DFS approach.
613 22.4 Topological sort 11/16 undershorts socks) 17/18 watch 9/10 shoes 13/14 1215 Pants shirt 1/8 6/7 (belt (a) tie 2/5 jacket 3/4 (b) socks (undershorts ants shoes (watch (shirt belt tie acket 12/15 13/14 9/10 1/8 3/4 Figure 22.7 (a Professor Bumstead topologically sorts his clothing when getting dressed. Each directed edge...
Questions 5-7 refer to the drawing below. This graph represents the motion of a ball falling under the influence of gravity and no other forces. (Assume that upward is the positive direction of motion.) A C ecooscooeco0o 999900 D 0.8 0.6 04 02 time (seconds) velocity (m/s) The graph that represents a ball that is dropped without any initial velocity is A. A В. В О С. С D. D The graph that represents a ball that is thrown downward...
In the folldwing diagram of translation find: А 4. 30S ribosomal subunit 5. URNA 6. mRNA 7. Amino acid 8. A site 9. Anticodon 10. Start codon Me G Met D с F H AUGUUA AUG w B E
Make sure to answer part a and b. Consider the graph below. a. (5 points) Create an adjacency matrix. b. (5 points) Can this graph be topologically sorted? If so, what are the vertice topological order if you use the decrease-by-one (source) method to topologica sort and resolve ties in ascending order alphabetically? (В E С F D A
4.
5.
6.
7.
8
Find the 15th term of the arithmetic sequence whose common difference is d=9 and whose first term is a, = 2. 8 Х 5 ? 3 4 5 6 For a given arithmetic sequence, the 89th term, agg, is equal to – 233, and the 9th term, do, is equal to 7. Find the value of the 33' term, 233- 0 433 X ? Check 2020 Merwe 2 # 3 $ 4 % 5 8...
Using an insertion sort, sort the array 5, 7, 4, 9, 8, 6, 3 into ascending order. After the first swap, what will the array look like?
Rank the following organic acids from strongest(1) to weakest (5). НО HO OH С. В. А. Но F HO HO Е. D. NO2 I. A Strongest acid(1) II. С 2. III. B 3. 4. IV. D
discrete 2
question 31
For Esercises 25.28, write the nodes in a breadth first search of the graph for Exercises 21 the node specified 25、 26, g 20. In the computer network in the accompanying figure, the same message is to be broade Dribe ( 21-24 28. e 27. to nodes 4.Е. F and G. One way to do this is to find the shortest path from C to send out multiple copies of the same message. A more etficient...
6. Examine the IR below and classify the compound. 2 cm 500 3500 2500 2000 1500 1000 3000 Alcohol А. Aldehyde В. С. Amine Ketone 7 Е. D. Acid -9 02/2 -2 SsOC 1710.4 1374.3- 0c09 1470.8- -9 L26 -ga9