Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Yes i would need a code as well with this activity. SE333-433: Class Activity #1 The intention of these class activities are to encourage you

image text in transcribed

image text in transcribed

Yes i would need a code as well with this activity.

SE333-433: Class Activity #1 The intention of these class activities are to encourage you to think of testing in a more rigorous way than you may be used to. These exercises also hint at the strong relationship between specification clarity, faults, and test cases. Please submit an image of your notes to d21 under class activity 1 . 1. Take into consideration a Java method with the signature: public static Vector union (Vector a, Vector b) The method should return a Vector of objects that are in either of the two argument Vectors. (a) Identify as many possible faults as you can. (Note: Vector is a Java Collection class. If you are using another language, interpret Vector as a list.) (b) Create a set of test cases that you think would have a reasonable chance of revealing the faults you identified above (c) How can we rewrite the method signature to be precise enough to clarify the defects and ambiguities identified earlier? You might wish to illustrate your specification with examples drawn from your test cases

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_2

Step: 3

blur-text-image_step3

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

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

ISBN: 978-0764535376

More Books

Students explore these related Databases questions