Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Define black box and white box testing. What are the advantages of each approach? Why are both necessary? b) Consider a program component Binary_Search

 

Define black box and white box testing. What are the advantages of each approach? Why are both necessary? b) Consider a program component Binary_Search (list, searched_string) which search a string in an array of maximum 100000 elements. i) What are test cases you would like to test this procedure based on equivalence classes? ii) What would be additional test cases based on boundary values. c) Path coverage testing requires that every possible path through the code be tested at least once. Decision point coverage testing requires that each outcome of each decision point be tested at least once. Why does decision point coverage usually require fewer test cases than full path coverage? What kinds of errors might this testing miss?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Economics

Authors: Campbell R. McConnell, Stanley L. Brue, Sean M. Flynn

18th edition

978-0077413798, 0-07-336880-6, 77413792, 978-0-07-33688, 978-0073375694

More Books

Students also viewed these Programming questions