πŸ§ͺ jUnit MCQ Quiz Hub

Junit Mcq Question Set 2

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

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





βœ… Correct Answer: 3

Jetty was originally called __________





βœ… Correct Answer: 4

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





βœ… Correct Answer: 1

In Jetty, ______ object processes the HTTP requests.





βœ… Correct Answer: 2

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





βœ… Correct Answer: 3

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





βœ… Correct Answer: 1

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





βœ… Correct Answer: 1

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





βœ… Correct Answer: 2

The ResourceHandler is found in the package ________





βœ… Correct Answer: 1

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





βœ… Correct Answer: 3

KISS is an acronym for _______





βœ… Correct Answer: 1

DRY stands for _______





βœ… Correct Answer: 2

Unit tests allow greater test _______ than functional tests.





βœ… Correct Answer: 1

Functional tests are more _____________ compared to unit tests.





βœ… Correct Answer: 4

Unit Tests can detect _________





βœ… Correct Answer: 1

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





βœ… Correct Answer: 4

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





βœ… Correct Answer: 4

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





βœ… Correct Answer: 4

YAGNI is a principle behind the XP practice of _______





βœ… Correct Answer: 4

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





βœ… Correct Answer: 2

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





βœ… Correct Answer: 4

Hamcrest is not a _____ framework in itself.





βœ… Correct Answer: 2

________ Hamcrest matcher can be used to match absolutely everything.





βœ… Correct Answer: 3

_______ is used to test object identity.





βœ… Correct Answer: 4

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





βœ… Correct Answer: 1

The Cobertura command to run while reporting is _______





βœ… Correct Answer: 1

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





βœ… Correct Answer: 4

______ parameter specifies the encoding used to read the source.





βœ… Correct Answer: 3

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





βœ… Correct Answer: 1

The JJ in JJ-path stands for _______





βœ… Correct Answer: 4

__________ is the most common and least efficient debugging technique.





βœ… Correct Answer: 1

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





βœ… Correct Answer: 3

LSD stands for ________





βœ… Correct Answer: 1

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





βœ… Correct Answer: 2

A value ____________ technique is used to identify waste.





βœ… Correct Answer: 3

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.





βœ… Correct Answer: 4

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





βœ… Correct Answer: 1

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





βœ… Correct Answer: 3

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





βœ… Correct Answer: 3

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





βœ… Correct Answer: 2

In Jetty, ____________ object processes the HTTP requests.





βœ… Correct Answer: 2

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





βœ… Correct Answer: 3

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





βœ… Correct Answer: 1

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





βœ… Correct Answer: 2

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





βœ… Correct Answer: 1

A key principle of Scrum is ________





βœ… Correct Answer: 2

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





βœ… Correct Answer: 3

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





βœ… Correct Answer: 2

At the _____________ the team reflects on the past Sprint.





βœ… Correct Answer: 3

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





βœ… Correct Answer: 4