CS FundamentalsModerateTCS NQT · Infosys pattern
A black-box technique divides the input domain into classes whose members the program should treat the same way, then tests one value from each class. What is it called?
- A. Boundary value analysis
- B. Equivalence class partitioning
- C. Statement coverage
- D. Mutation testing
Correct answer: B. Equivalence class partitioning
Equivalence partitioning picks one representative per class (valid and invalid). Boundary value analysis tests the edges of those classes; statement coverage and mutation testing are white-box measures.
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 control flow graph has 9 edges and 7 nodes and is a single connected component. What is its cyclomatic complexity?
- A REST client wants to change only the email field of an existing user resource without sending the whole resource. Which HTTP method fits…
- A POST request successfully creates a new resource on a REST server. Which status code is the most appropriate response?
- What is the difference between git fetch and git pull?
- The 'O' in SOLID states that a software module should be:
- Which statement correctly describes a Type 1 hypervisor?