Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Software Engineering (a) Clearly explain the difference between Blackbox Testing

ID: 3933798 • Letter: S

Question

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

Explanation / Answer

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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote