CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE
A system accepts a value from 10 to 109 inclusive. Using equivalence partitioning, what is the minimum number of test cases needed to cover all partitions?
- A. 3
- B. 5
- C. 4
- D. 2
Correct answer: A. 3
There are three partitions: below 10, 10 to 109 inclusive, and above 109; one representative from each partition suffices.
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
- Why is a non-functional requirement (e.g. 'the system must respond within 200ms under 1000 concurrent users') often harder to verify than…
- A text editor needs to render a document containing a million characters without creating a million separate heavyweight glyph objects, by…
- What does git log --graph --oneline --all help a developer see that a plain git log does not as clearly?
- Why are automated tests considered essential to a healthy CI/CD pipeline, rather than optional?
- A function has 2 independent input variables, each with its own valid range. Using standard (non-robust) BVA, varying one variable at a…
- A requirement states 'the system shall be user-friendly.' What is the main problem with this requirement as written?