CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE
A system accepts a value from 1 to 41 inclusive. Using equivalence partitioning, what is the minimum number of test cases needed to cover all partitions?
- A. 5
- B. 3
- C. 2
- D. 4
Correct answer: B. 3
There are three partitions: below 1, 1 to 41 inclusive, and above 41; 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
- A file-system explorer needs to treat individual files and whole folders (which may themselves contain files and folders) uniformly…
- A PERT activity has optimistic time 5 days, most likely time 10 days and pessimistic time 14 days. What is its expected duration, Te = (O…
- Two components with availability 99.9% and 98.0% are connected in series (the system works only if both are up). What is the system's…
- A company rents virtual machines, storage and networking from a provider but installs and manages its own operating system, runtime and…
- A system accepts a value from 10 to 109 inclusive. Using equivalence partitioning, what is the minimum number of test cases needed to…
- Why is a non-functional requirement (e.g. 'the system must respond within 200ms under 1000 concurrent users') often harder to verify than…