CS FundamentalsHardCognizant · Capgemini pattern
A function has three integer inputs. How many test cases does worst-case boundary value analysis (every combination of min, min+, nom, max−, max) need?
- A. 125
- B. 13
- C. 19
- D. 343
Correct answer: A. 125
Worst-case BVA takes the Cartesian product of 5 values per variable: 5³ = 125. Standard BVA gives 4n + 1 = 13, robust BVA 6n + 1 = 19, and robust worst-case 7³ = 343.
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
- main has commits A–B–C. Branch feature was created from B and has commits D–E. On feature you run git rebase main. How many of these…
- How many of the following statements about git reset are correct? 1. git reset --mixed HEAD~1 removes the last commit and leaves its…
- On main you run git merge --squash feature and then git commit. Afterwards you try git branch -d feature. What happens?
- You checked out an old commit by its hash, made two commits, then ran git checkout main. What happened to those two commits?
- A file secrets.env was committed last month. Today you add secrets.env to .gitignore and commit. Why does git status still show changes to…
- Two developers branch from the same commit. In which of these situations will git merge report a conflict? 1. Both changed different…