GATE Computer ScienceModerateGATE CS (PYQ pattern)
An activity-on-arc project has events S, A, B, C, D, E, T and activities (duration): S→A 3, S→B 2, A→C 4, B→C 6, A→D 2, C→D 3, C→E 5, D→E 1, B→E 4, E→T 2, D→T 6. By how many time units can activity B→E be delayed without delaying the whole project (its total float)?
- A. 9
- B. 7
- C. 4
- D. 11
Correct answer: A. 9
Earliest times: S 0, A 3, B 2, C 8, D 11, E 13, T 17. Latest times: T 17, E 15, D 11, C 8, B 2. Total float of B→E = LF(E) − ES(B) − 4 = 15 − 2 − 4 = 9. Using ES(E) instead of LF(E) gives the free float 7.
More Algorithms questions
- Prim's algorithm starts at A on a graph with edges AB 6, AC 1, AD 5, BC 5, BE 3, CD 7, CE 8, CF 4, DF 2, EF 9, FG 10, EG 11, DG 12, AG 13…
- A directed graph on vertices 0–4 has edges (weight): 0→1 2, 1→2 3, 0→2 9, 2→3 1, 1→3 8, 3→4 2, 2→4 7, 0→3 12, 1→4 15. What is the minimum…
- The directed graph on vertices 0–7 has edges 0→1, 1→2, 2→0, 2→3, 4→3, 4→5, 5→4, 6→5, 3→7, 7→3. For how many ordered pairs (u, v) with u ≠…
- A transformation is applied to a connected undirected graph with positive edge weights, and the result is compared with the original…
- Which of the following statements about minimum spanning trees of a connected weighted undirected graph is/are correct? I. If all edge…
- A graph has V = 1000 vertices and E = 250000 edges. Two Dijkstra implementations are compared by counting basic steps (ignoring…