Software Engineering a Clearly explain the difference betwee

Software Engineering

(a) Clearly explain the difference between Blackbox Testing and WhiteBox Testing.

(b) Consider the following method:
bool isEven(int x); // returns true if x is even, false otherwise.
Assuming you have no knowledge of how the function is implemented, what test
cases would you choose to help ensure thorough coverage. You must explain
your choices.

(c) What is software reuse? Give two benefits of software reuse.

(d) Suppose we have the following files in a project:
linkedList.cpp - an implementation of a linked list ADT
linkedList.h - header file for linked list.
driver.cpp - main program which uses the linked list.
Write a makefile which has the following targets:
driver : creates an executatable called driver from linking driver.o and linkedList.o
driver.o : compiles driver program
linkedList.o : compiles linkedList
clean : remove all compiled code

Solution

Black box testing:

-->It is a software testing method in which the internal structure/ design/ implementation of the item
being tested is NOT known to the tester.
-->It is Mainly applicable to higher levels of testing:Acceptance Testing System Testing.
--->Generally, independent Software Testers.
-->For this Programming Knowledge,Implementation Knowledge is not required.


White box testing:

-->It is a software testing method in which the internal structure/ design/ implementation
of the item being tested is known to the tester.
-->Mainly applicable to lower levels of testing:Unit Testing,Integration Testing.
-->Software Developers has the responsibility.
-->For this Programming Knowledge,Implementation Knowledge is required.

Software Engineering (a) Clearly explain the difference between Blackbox Testing and WhiteBox Testing. (b) Consider the following method: bool isEven(int x); //

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site