Software Engineering · Question 5 · Easy
Black-box testing designs test cases based on:
- The internal code structure and execution paths
- The requirements and specifications, without looking at the code
- The compiler's optimisation output
- Statement and branch coverage of the source code
Answer and explanation
Answer: B. The requirements and specifications, without looking at the code
Explanation: Black-box testing treats the software as opaque and derives tests from the specification. Testing based on code structure and coverage is white-box testing.
Previous: Which git command creates a local copy of an existing remote repository? · Next: A form field accepts an age from 18 to 60, inclusive. Which set of test values…
Practise software engineering
Try a fresh set of software engineering questions with an explanation after every answer, free and without signing up: Software Engineering practice. Or sit a full placement mock test.
More software engineering questions
- Testing an individual function or class in isolation from the rest of the…
- In Scrum, who is responsible for maintaining and prioritising the Product…
- Which git command creates a local copy of an existing remote repository?
- A form field accepts an age from 18 to 60, inclusive. Which set of test values…
- A program's control flow graph has 9 edges and 7 nodes and is a single…
- What is the main purpose of regression testing?
- What distinguishes the Spiral model from other SDLC models?
- What is the difference between git fetch and git pull?
- Good software design aims for which combination of cohesion and coupling?
- A function accepts an integer age that is valid from 18 to 60. Using…
More technical & programming practice
Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge