CS FundamentalsVery hardWipro NLTH · GATE CS

Module A calls B and C; B calls D and E; C calls F. In top-down integration testing with depth-first ordering, in which order are modules integrated?

  1. A. A, B, D, E, C, F
  2. B. A, B, C, D, E, F
  3. C. D, E, F, B, C, A
  4. D. A, C, F, B, D, E

Correct answer: A. A, B, D, E, C, F

Depth-first top-down goes down one branch fully (A, B, D, E) before the next (C, F), using stubs for modules not yet integrated.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic