Question
Which testing type evaluates internal code logic and
control flow?Solution
White Box Testing , also known as glass box or transparent box testing, evaluates the internal structure, logic, and flow of code. Testers use knowledge of the internal architecture to design test cases, focusing on code coverage, control structures, and paths. Techniques such as statement coverage, branch coverage, and path coverage are commonly used. For example, a white box test might verify that a loop executes the expected number of times or that all branches of an if-else statement are tested. This method ensures robust code quality and early defect detection. Why Other Options Are Incorrect :
- Unit Testing : This focuses on testing individual components or modules, regardless of their internal code logic.
- Integration Testing : This evaluates how different modules interact, without detailed inspection of internal logic.
- Black Box Testing : This examines external functionality without insight into the internal code structure.
- User Acceptance Testing (UAT) : This validates the system against user requirements and does not involve code-level testing.
Which financial institution has partnered with Accenture to create a scalable and secure enterprise data lake platform, aiming to enhance its operationa...
Sarathi, a first-of-its-kind digital onboarding journey to enable Electronic Data Capture (EDC) or Point of Sale (POS) for merchants to provide a seam...
Who received the ‘Karm Shiromani’ Award for May at SAIL-Bhilai Steel Plant?
Who has been named captain of the Ahmedabad IPL team?
Consider the following statement about “Measles".
1. According to a report by the WHO, estimated 11 lakh children in India missed their cruci...
Which of the following best describes the impact of the Hangor-class submarines being built for Pakistan by China?
 Which of the following folk dances of India is associated with the state of Assam?
How many compounds did AgeXtend screen in its study to identify anti-ageing molecules?
At the 15th Asian Airgun Championship held in South Korea, India has won how many medals in it?
Which deity is depicted performing the Pralaya Tandava in the discovered 15th-century lamp?