🧪 jUnit MCQ Quiz Hub

Junit Mcq Question Set 2

Choose a topic to test your knowledge and improve your jUnit skills

1. ______ is a Java HTTP (Web) server and Java Servlet container.




2. Jetty was originally called __________




3. To create a Jetty server object, we have to import _____




4. In Jetty, ______ object processes the HTTP requests.




5. To create a Jetty context object, we have to import _____




6. While creating a server object like- Server obj = new Server(8080), 8080 represents the number of connections.




7. The ______ method sets the document root from which to serve resources.




8. A ______ handler is attached to the root to serve files from the file system.




9. The ResourceHandler is found in the package ________




10. All _____ has to be completed before integration testing can be done.




11. KISS is an acronym for _______




12. DRY stands for _______




13. Unit tests allow greater test _______ than functional tests.




14. Functional tests are more _____________ compared to unit tests.




15. Unit Tests can detect _________




16. Agile methodologists favour writing code in _____________ slices to produce a working use case.




17. To retain a design across features, agile methodologies encourage _______ to adapt the code base as needed.




18. _______ is a principle of extreme programming (XP) that states that a functionality should not be added until deemed necessary.




19. YAGNI is a principle behind the XP practice of _______




20. A ______is a test that focuses on the interaction between components in their real environment.




21. __________ is a library that contains a lot of helpful matcher objects , ported in several languages.




22. Hamcrest is not a _____ framework in itself.




23. ________ Hamcrest matcher can be used to match absolutely everything.




24. _______ is used to test object identity.




25. ______ is a free Java tool that calculates the percentage of code accessed by tests.




26. The Cobertura command to run while reporting is _______




27. The ____________ parameter is used to specify the type of report.




28. ______ parameter specifies the encoding used to read the source.




29. _______ is a software analysis method used to identify structural units in code under test.




30. The JJ in JJ-path stands for _______




31. __________ is the most common and least efficient debugging technique.




32. _______ involves the use of induction or deduction and introduces the concept of binary partitioning.




33. LSD stands for ________




34. Lean philosophy regards everything not adding value to the customer as __________




35. A value ____________ technique is used to identify waste.




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




37. _______ in the code are signs of bad code designs and should be avoided.




38. _______ consists of exploring and explaining the domain of the problem to be solved.




39. _________ is a Java HTTP (Web) server and Java Servlet container.




40. To create a Jetty server object, we have to import _______




41. In Jetty, ____________ object processes the HTTP requests.




42. To create a Jetty context object, we have to import _______




43. The ______________ method sets the document root from which to serve resources.




44. A _____________ handler is attached to the root to serve files from the file system.




45. _______ defines “a flexible, holistic product development strategy where a development team works as a unit to reach a common goal”.




46. A key principle of Scrum is ________




47. The _______ represents the product’s stakeholders and the voice of the customer




48. Each day during a Sprint, the team holds a _____ with specific guidelines.




49. At the _____________ the team reflects on the past Sprint.




50. The _____ comprises an ordered list of requirements that a Scrum Team maintains for a product.