JUnit Questions and Answers – Types of Unit Tests

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Types of Unit Tests”.

1. The output of the requirement analysis and the requirement specification is used as the input for writing ____________
a) User Acceptance Test Cases
b) User Rejection Test Cases
c) Product Rejection Test Cases
d) Product Acceptance Test Cases
View Answer

Answer: a
Explanation: During UAT, the software is tested by actual users of the product.

2. Testing the end to end functionality of the system as a whole is defined as _______________
a) Unit Testing
b) Functional Testing
c) Stress Testing
d) Load Testing
View Answer

Answer: b
Explanation: Functional testing covers all possible scenarios including failure paths and boundary cases.

3. Independent testers are _____________ and identify different defects at the same time.
a) Isolated
b) Biased
c) Unbiased
d) Modular
View Answer

Answer: c
Explanation: Independent tests are conducted by an independent body, be it a group or a person not associated with the development of the product.
advertisement
advertisement

4. In a reactive approach, the bulk of the test design work begins __________
a) Before any software is made
b) After some modules are completed
c) After every module, testing is done
d) After the software has been produced
View Answer

Answer: d
Explanation: In the reactive approach, the product or software is first completed and then the test design work begins.

5. DSDM stands for _____________
a) Dynamic systems development method
b) Dynamic solutions development method
c) Database systems development method
d) Database solutions development method
View Answer

Answer: a
Explanation: DSDM is an Agile methodology that stands for Dynamic systems development method.

6. DSDM fixes cost, quality and time at the outset and uses the ___________ prioritisation of scope.
a) KISS
b) MoSCow
c) PRINCE2
d) PSP
View Answer

Answer: b
Explanation: DSDM uses MoSCow to divide into musts, shoulds, coulds and won’t haves.

7. DSDM originally sought to provide some discipline to the ______________ method.
a) MSF
b) Scrum
c) RAD
d) BDD
View Answer

Answer: c
Explanation: DSDM was originally made to provide some structure to Rapid Application Development.
advertisement

8. DSDM is a/an _____________ approach.
a) Waterfall
b) Spiral
c) Incremental
d) Iterative and Incremental
View Answer

Answer: d
Explanation: DSDM embraces principles of Agile Development leading to an iterative and incremental approach.

9. The one who is responsible to initialise the project by ensuring that essential requirements are found early on in an DSDM environment is ____________
a) Executive Sponsor
b) Visionary
c) Ambassador User
d) Advisor User
View Answer

Answer: b
Explanation: The Visionary has the most accurate perception of the business objectives of the project.
advertisement

10. ___________ is responsible for gathering and recording the requirements, agreements, and decisions made in every workshop.
a) Executive Sponsor
b) Visionary
c) Scribe
d) Project Manager
View Answer

Answer: c
Explanation: Scribe is a separate person responsible for the logging of the defects found.

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

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
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.