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.
The precision is composed of which of the following two characteristics?
What is the primary difference between SRAM (Static Random-Access Memory) and DRAM (Dynamic Random-Access Memory)?
In IPv6, which of the following addresses is used for local communication within a network segment and is not routable beyond the local network?
Which of the following is a critical component of data protection in both Windows and Unix/Linux environments?
Which of the following is a primary difference between TCP and UDP in terms of reliability and connection management?
Which of the following statement is correct related to branch and bound method?
What is the primary purpose of Named Entity Recognition (NER)?
Which is relational Database
Which is best fit for blank space 15?
Which probability distribution is most widely used to model channel noise in pulse code modulation?