MCQOPTIONS
Saved Bookmarks
This section includes 5 Mcqs, each offering curated multiple-choice questions to sharpen your Junit knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The _____________ exercises the application under load and verifies that it scales correctly. |
| A. | Development platform |
| B. | Integration platform |
| C. | Acceptance platform |
| D. | Stress test platform |
| Answer» E. | |
| 2. |
On the development platform, _________ unit tests are executed. |
| A. | Acceptance |
| B. | Lossless |
| C. | Logic |
| D. | Functional |
| Answer» D. Functional | |
| 3. |
Eliminating duplication ensures that code is written that s not only testable but also_____________ |
| A. | Erasable |
| B. | Maintainable |
| C. | Upgradeable |
| D. | Changeable |
| Answer» C. Upgradeable | |
| 4. |
When the _________ is used as the method s first client, it becomes easier to focus purely on the API. |
| A. | Object |
| B. | Class |
| C. | Test |
| D. | Stub |
| Answer» D. Stub | |
| 5. |
___________ is favoured over conditionals to better write testable code. |
| A. | Polymorphism |
| B. | Composition |
| C. | Inheritance |
| D. | Overloading |
| Answer» B. Composition | |