CTFL-2018 Exam QuestionsBrowse all questions from this exam

CTFL-2018 Exam - Question 29


Tests have been specified for the latest software release and users have prioritised these.

However, there are some dependencies between tests as shown in the table below (e.g. Test ID. '123' cannot be run until Test ID. '456' has been successfully completed).

Which test execution schedule best meets the prioritisation and dependency conditions?

Show Answer
Correct Answer: D

The best test execution schedule must meet both the prioritization and dependency conditions. Starting with Test ID 1 makes sense because it has a Low priority and no dependencies. Test ID 4 depends on Test ID 1, so it must follow. Test ID 3 is next as it has High priority and depends on Test ID 4. Test ID 5 also has High priority, and no dependencies beyond those addressed previously. Test ID 2 can follow since it has a Medium priority and no dependencies yet unmet. Test ID 7 follows Test ID 2 due to its High priority and dependency on Test ID 2. Test ID 9 should come next because it has a Medium priority and depends on Test ID 3. Test ID 10, having High priority, can follow Test ID 9. Test ID 6 then comes up as it has Medium priority and depends on Test ID 5. Finally, Test ID 8, also with Medium priority and dependent on Test ID 3, completes the sequence. This matches option D's sequence: 1, 4, 3, 5, 2, 7, 9, 10, 6, 8.

Discussion

1 comment
Sign in to comment
MlealOption: B
Feb 10, 2023

It should be B because 5 is the first HIGH priority with no conditions.

[Removed]
Apr 17, 2023

D is correct, because if you run 5 first then you have to rrun 2 next because 7 is dependant on 2, that's why B cannot be correct, with D you get correct priority based on dependencies.