JUnit Questions and Answers – Black Box Testing


This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Black Box Testing”.

1. LSD stands for ________________
a) Lean Software Development
b) Live Software Development
c) Less Software Data
d) Least Software Dataloss
View Answer

Answer: a
Explanation: LSD stands for Lean Software Development which is a type of Agile development.

2. Lean philosophy regards everything not adding value to the customer as __________
a) Unnecessary
b) Waste
c) Useful
d) Necessary
View Answer

Answer: b
Explanation: Waste includes partially work done and defects.

3. A value ____________ technique is used to identify waste.
a) Mapping
b) Stream
c) Stream Mapping
d) Flow
View Answer

Answer: c
Explanation: Waste removal takes place iteratively until even processes and procedures which are seemingly essential are liquidated.
Note: Join free Sanfoundry classes at Telegram or Youtube

4. The ________________ is a management paradigm that specifies any manageable system as being limited in achieving more of its goals by a very small number of constraints.
a) RCM
b) TPM
c) QRM
d) TOC
View Answer

Answer: d
Explanation: TOC or theory of constraints uses a focussing process to identify the constraint.

5. __________ in the code are signs of bad code designs and should be avoided.
a) Repetitions
b) Modularity
c) Functions
d) Documentation
View Answer

Answer: a
Explanation: Repetition leads to redundancy which results in bad code designs.

6. Lean Development follows the principle of ______________
a) Decide as late as possible
b) Deliver as late as possible
c) Decide as early as possible
d) Not building integrity
View Answer

Answer: a
Explanation: Lean Development uses the principle of Deciding as late as possible to as software development is always associated with some level of uncertainty.

7. ________________ is a client-centric, architecture-centric, and pragmatic software process.
a) Loss Testing
b) Feature Driven Development
d) Scrum
View Answer

Answer: b
Explanation: Feature Driven Development or FDD is an iterative and incremental development process which is client and architecture centric.

8. _____________ consists of exploring and explaining the domain of the problem to be solved.
a) Feature Teams
b) Inspections
c) Domain Object Modelling
d) Configuration Management
View Answer

Answer: c
Explanation: The resulting domain object model provides an overall framework which can be used to add features.

9. _______________ ensure there is always an up-to-date system that can be demonstrated to the client.
a) Domain Object Modelling
b) Individual Class (Code) Ownership
c) Visibility of progress and results
d) Regular Builds
View Answer

Answer: d
Explanation: Regular builds helps highlighting integration errors of source code for the features early.

10. _____________ helps visualizing both the processes and the data of a method.
a) Configuration Management.
b) Domain Object Modelling
c) MetaModeling
d) Inspections
View Answer

Answer: c
Explanation: The advantage of metamodeling is that it is clear, compact, and consistent with UML standards.

Sanfoundry Global Education & Learning Series – JUnit.
To practice all areas of Junit, here is complete set of 1000+ Multiple Choice Questions and Answers.

Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.