Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(12%) Suppose you are designing test cases (with test data) to test a function called factorial (n) that computes n' = n * (n-1) *

image text in transcribed

(12%) Suppose you are designing test cases (with test data) to test a function called factorial (n) that computes n' = n * (n-1) * (n-2) *?.* 2 * l. We know that factorial (3)-6 and factorial (5)-120. It is possible that factorial function overflows for big integers. Note you may put n-10 and n - 13 in the same test case and give it a name. 7" cases to test esentilly all posible integer 100? Design the cases. (b) (6%) Are there any other test cases you may need? For example, is there something like boundary case, abnormal case etc

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

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago