JUnit Questions and Answers – Stress Testing

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

1. All ____________ has to be completed before integration testing can be done.
a) Stress testing
b) Functional testing
c) Unit testing
d) Load testing
View Answer

Answer: c
Explanation: Once the tests for a class are up and running, the next step is to hook up the class with other methods and services.

2. KISS is an acronym for ________________
a) Keep it simple, stupid
b) Keep it safe and sound
c) Know it soundly and systematically
d) Know information safely and securely
View Answer

Answer: a
Explanation: The principle most finds its uses in minimalist software development concepts.

3. In software engineering, _______________ is a principle of software development, which aims at reducing repetition of information of every kind, especially useful in multi-tier architectures.
a) KISS
b) WET
c) SSOT
d) DRY
View Answer

Answer: d
Explanation: The DRY principle is stated as “Every piece of knowledge must have a single, unambiguous, authoritative representation within a system”.
advertisement
advertisement

4. DRY stands for ____________
a) Do right yourself
b) Don’t repeat yourself
c) Don’t ring the yarn
d) Do rule over yourself
View Answer

Answer: b
Explanation: Application of the DRY principle successfully means a modification of any single element of a system does not need a change in other logically unrelated elements.

5. Violations of DRY are referred to as _________ solutions.
a) WET
b) NOT DRY
c) KISS
d) ENGAGE
View Answer

Answer: a
Explanation: WET stands for “write everything twice”.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. _______________ tests are designed early.
a) Preventive
b) Reactive
c) Associative
d) Amorous
View Answer

Answer: a
Explanation: Preventive testing involves not only measuring, but also improving the quality of the software.

7. ___________ tests are designed after the software has been produced.
a) Preventive
b) Reactive
c) Associative
d) Amorous
View Answer

Answer: b
Explanation: Reactive testing is a software testing approach done after the production of the software.
advertisement

8. What does an exit criteria do?
a) Define when to remove control
b) Defines the level of a test
c) Defines which test to not test
d) Defines when a test level is completed
View Answer

Answer: d
Explanation: An exit criteria is used to denote that a particular test level is completed.

9. The likelihood of a/an __________ event determines the level of risk.
a) unlikely
b) adverse
c) ordinary
d) expected
View Answer

Answer: b
Explanation: The adverse event and the impact of the event determines the level of risk.
advertisement

10. _______________ testing is used for testing systems for which the specification takes in the form of rules or cause-effect combinations.
a) Unit Testing
b) Functional Testing
c) Load Testing
d) Decision Table Testing
View Answer

Answer: d
Explanation: In a decision table the inputs are listed down in the form of a column, while the outputs are in the same column but below the inputs.

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.