Semester
Subject
Year
Tribhuwan University
2079
Bachelor Level / Third Year / Fifth Semester / Science
(System Analysis and Design)
Full Marks: 60
Pass Marks: 24
Time: 3 Hours
Candidates are required to give their answers in their own words as for as practicable.
The figures in the margin indicate full marks.
Long Answers Questions
Black Box Testing tests the software without knowledge of internal code, while White Box Testing tests the software with full knowledge of internal structure and logic.
| Criteria | Black Box Testing | White Box Testing |
|---|---|---|
| Knowledge | No knowledge of internal code | Full knowledge of internal code |
| Focus | Tests functionality (what it does) | Tests logic and structure (how it does) |
| Performed by | Testers / End users | Developers |
| Also called | Functional testing / Closed box testing | Structural testing / Glass box testing |
| Techniques | Equivalence partitioning, Boundary value analysis | Statement coverage, Branch coverage, Path testing |
| Basis | Based on requirements and specifications | Based on source code and design |
| Programming knowledge | Not required | Required |
| Level of testing | Higher level (system, acceptance) | Lower level (unit testing) |
Testing is performed in multiple stages, each targeting a different level of the software system to ensure quality at every layer.
Testing stages move from small units → integrated modules → full system → user acceptance, ensuring defects are caught early and software quality is maintained at every level. Black box and white box testing complement each other to provide comprehensive test coverage.
Short Answers Questions