CS FundamentalsHardGATE CS · Software Engineering · Advanced
A configuration has 4 parameters with 3 possible values each. What is the minimum number of test cases needed to cover every pair of values of every two different parameters at least once (pairwise / 2-way testing)?
- A. 12
- B. 9
- C. 6
- D. 81
Correct answer: B. 9
Any two parameters have 3 x 3 = 9 value pairs and one test covers only one pair of those two parameters, so at least 9 tests are needed; an orthogonal array L9 (3^4) attains exactly 9. Exhaustive testing needs 81.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team of 6 developers is increased to 9 developers to catch up on a late project. If every pair of team members needs one communication…
- A mutation tool generated 60 mutants. Review shows 10 of them are equivalent mutants, and the current test suite kills 30 of the others…
- What is printed? python class S: def init(self): self.obs = [] def notify(self, x): for o in self.obs: o(x) log = [] def a(x)…
- What is printed? python class Cfg: inst = None def new(cls, args): if cls.inst is None: cls.inst = super().new(cls) return cls.inst def…
- A Kanban team's board holds on average 15 items (queued or in progress), and over a long period the team delivers 20 items in every 10…
- A method contains 3 if statements, 1 while loop and 1 for loop, with no && or || operators and no other branching. What is its cyclomatic…