CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE
A system accepts a value from 18 to 78 inclusive. Using equivalence partitioning, what is the minimum number of test cases needed to cover all partitions?
- A. 3
- B. 2
- C. 5
- D. 4
Correct answer: A. 3
There are three partitions: below 18, 18 to 78 inclusive, and above 78; 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 module of 8000 lines of code has 13 defects found in testing. What is the defect density, in defects per KLOC?
- Which SDLC model completes each phase (requirements, design, coding, testing, deployment) fully before the next one starts, in a strict…
- Which Git command makes a full local copy of a remote repository, including its history?
- In Scrum, who is responsible for ordering (prioritising) the Product Backlog?
- A company uses a web-based email service where the provider runs everything from servers to the application itself. Which cloud service…
- Testing an individual function or class in isolation, usually by the developer who wrote it, is called: