subject

The purpose of this assignment is to determine a set of test cases knowing only the function’s specifications, reported hereafter:The program takes as input a 2D matrix with N rows. The program finds the column index of the first non-zero value for each row in the matrix A, and also determines if that non-zero value is positive or negative. It records the indices of the columns, in order, in the array W. It records whether each value was positive or negative, in order, in the array T (+1 for positive, -1 for negative). Assume that all rows have at least one column with a non-zero value. As this is black-box testing, you will not have access to the source so you must use what you have learned. You need to include a comment that describes how you chose your test cases. Students should identify the input equivalence partitions classes and select test cases on or just to one side of the boundary of equivalence classes. Students will gain 25 points for each input equivalence partition classes and valid test cases reported. Any language can be used, preferably C or C++ but it's not an issue if it's not in these two. Thanks!

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:20
Write a function balancechemical to balance chemical reactions by solving a linear set of equations. the inputs arguments are: reagents: symbols of reagents in string row array products: symbols of products in string row array elements: elements in the reaction in string row array elcmpreag: elemental composition of reactants in two dimensional numeric array elcmpprdcts: elemental composition of prducts in two dimensional numeric array hint: the first part of the problem is setting up the set of linear equations that should be solve. the second part of the problem is to find the integers from the solution. one way to do this is to mulitiply the rational basis for the nullspace by increasing larger integers until both the left-and right-side integers exist. for example, for the reaction that involves reacting with to produce and : reagents=["ch4", "o2"]; products =["co2", "h2o"]; elements =["c","h", "o"] elcmpreag=[1,4,0;
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Some peer-to-peer networks have a server and some don't. true false
Answers: 2
question
Computers and Technology, 25.06.2019 00:00
What function key is used to enable the spelling and grammar function
Answers: 1
You know the right answer?
The purpose of this assignment is to determine a set of test cases knowing only the function’s spe...
Questions
question
English, 20.09.2020 01:01
question
Mathematics, 20.09.2020 01:01
question
Mathematics, 20.09.2020 01:01
question
Mathematics, 20.09.2020 01:01
question
English, 20.09.2020 01:01
Questions on the website: 13722362