CS FundamentalsVery hardService-company placement · ISTQB-style
For a function of two independent bounded inputs, match each boundary-value technique with the number of test cases it needs. P. Normal BVA Q. Robust BVA R. Worst-case BVA S. Robust worst-case BVA 1. 49 2. 13 3. 9 4. 25
- A. P-3, Q-4, R-2, S-1
- B. P-3, Q-2, R-4, S-1
- C. P-2, Q-3, R-4, S-1
- D. P-3, Q-2, R-1, S-4
Correct answer: B. P-3, Q-2, R-4, S-1
For n inputs: normal BVA 4n + 1 = 9; robust adds two out-of-range values per input, 6n + 1 = 13; worst-case takes all 5 values per input in combination, 5ⁿ = 25; robust worst-case uses 7 values each, 7ⁿ = 49.
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 decision table has three yes/no conditions and four rules: R1: C1 = N (C2, C3 don't care) → A; R2: C1 = Y, C2 = N (C3 don't care) → B…
- A state machine has transitions a: S1→S2, b: S2→S3, c: S3→S1 and d: S2→S1. How many test items does 0-switch (every transition) coverage…
- How many of these statements about data-flow coverage criteria are correct? 1. All-uses subsumes all-defs (when every definition reaches…
- The condition x > 5 and x >= 0 (x an integer) is mutated four ways. Which mutant is equivalent, so that no test can kill it?
- Under basic COCOMO organic mode (Effort = 2.4 × KLOC^1.05 person-months), how does productivity in LOC per person-month for a 100 KLOC…
- Application A maintains the Customer master data. A separate Payroll application reads that customer data from A's database to print…