Define Black Box testing. Define White Box testing. Apply them by hand to any program and write the result.
Hello,
Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings. This method of test can be applied virtually to every level of software testing: unit, integration, system and acceptance.
White-box testing is a method of software testing that tests internal structures or workings of an application, as opposed to its functionality. In white-box testing an internal perspective of the system,as well as programming skills, are used to design test cases.
This is the main difference between Black Box texting and white Box texting. It's mainly a part of software engineering.
All the best.