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.
In April, RBI imposed a monetary penalty of Rs 36 lakh on ____________ for non-compliance with certain directions of the central bank?
What monthly scholarship amount will each selected PM-YUVA 3.0 author receive?
Employees’ Provident Fund Organisation has released its latest payroll data regarding the status of the number of subscriber been increased or decreas...
Which company has inaugurated a new center of excellence (CoE) focused on generative artificial intelligence (GenAI), in collaboration with the Indian...
DPS Flamingo Lake, recently declared a conservation reserve, is located in which Indian city?
Who launched the web portal for faster bank settlements of interest subvention claims under Agriculture Infrastructure?
Amrit Mahotsav FD scheme is launched for its retail investors, offering returns of 7.65% for elderly individuals and 7.15% for the general public. Which...
What was the birth name of Assamese singer Zubeen Garg?
What is the new category created by the Reserve Bank of India (RBI) for commercial banks as part of the revised investment norms?
Which NATO Joint Force Command will oversee the new Multi Corps Land Component Command in Finland?