jUnit/Junit Mcq Question Set 2 Sample Test,Sample questions

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

1.Impediment

2.Daily Scrum

3.Backlog refinement

4.Scrum of Scrums


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

1.Unnecessary

2.Waste

3.Useful

4.Necessary


Question:
 The ResourceHandler is found in the package ________

1.org.mortbay.jetty.handler.ResourceHandler

2.org.jetty.handler.ResourceHandler

3. org.mortbay.junit.handler.ResourceHandler

4.org.junit.jetty.handler.ResourceHandler


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

1.setResourceBase

2.resourceBase

3.setResource

4. setBase


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

1.org.mortbay.jetty.Server;

2.org.jetty.Server;

3. org.junit.jetty.Server;

4.org.junit.Server;


Question:
A key principle of Scrum is ________

1. Strict requirements

2.Requirements volatility

3.Fixed scale development

4.Cross-functional development


Question:
A value ____________ technique is used to identify waste.

1. Mapping

2.Stream

3.Stream Mapping

4.Flow


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

1.SourceHandler

2.ResourceHandler

3.AttachHandler

4.RootHandler


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

1. Logic unit test

2.Integration unit test

3.Functional unit test

4.Acceptance unit test


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

1. SourceHandler

2.ResourceHandler

3.AttachHandler

4.RootHandler


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

1.Horizontal

2. Small

3.Diagonal

4.Vertical


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

1.Stress testing

2. Functional testing

3. Unit testing

4.Load testing


Question:
At the _____________ the team reflects on the past Sprint.

1. Sprint Review

2.Daily Scrum

3.Sprint Retrospective

4.Sprint Reflection


Question:
DRY stands for _______

1.Do right yourself

2.Don’t repeat yourself

3.Don’t ring the yarn

4.Do rule over yourself


Question:
Functional tests are more _____________ compared to unit tests.

1.Fine grained

2. Accurate

3.Time consuming

4.Coarse grained


Question:
Hamcrest is not a _____ framework in itself.

1.Matching

2.Testing

3. Asserting

4. Checking


Question:
In Jetty, ______ object processes the HTTP requests.

1.Server

2.Context

3.Root

4. Handler


Question:
In Jetty, ____________ object processes the HTTP requests.

1.Server

2. Context

3. Root

4.Handler


Question:
Jetty was originally called __________

1.Eclipse

2.Maven

3.Ant

4.IssueTracker


Question:
KISS is an acronym for _______

1. Keep it simple, stupid

2.Keep it safe and sound

3.Know it soundly and systematically

4.Know information safely and securely


Question:
LSD stands for ________

1. Lean Software Development

2.Live Software Development

3.Less Software Data

4. Least Software Dataloss


Question:
The Cobertura command to run while reporting is _______

1.cobertura-report.bat

2.cobertura-instrument.bat

3.cobertura-check.bat

4.cobertura-merge.bat


Question:
The JJ in JJ-path stands for _______

1.Just Jump

2. Jump-in-JUnit

3. Java-JUnit

4.Jump-to-Jump


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

1.Sprint Review

2. Sprint Backlog

3.Product Increment

4. Product backlog


Question:
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.

1.RCM

2.TPM

3.QRM

4.TOC


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

1.setResourceBase

2.resourceBase

3.setResource

4.setBase


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

1.Development Team

2.Scrum Master

3. Product Owner

4.Servant-leader


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

1.datafile

2.basedir

3.encoding

4.format


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

1.org.mortbay.jetty.Context;

2.org.jetty.Context;

3.org.mortbay.jetty.servlet.Context;

4.org.junit.Server;


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

1.org.mortbay.jetty.Context;

2.org.jetty.Context;

3.org.mortbay.jetty.servlet.Context;

4.org.junit.Server;


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

1.org.mortbay.jetty.Server;

2. org.jetty.Server;

3.org.junit.jetty.Server;

4.org.junit.Server;


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

1.Changing

2.Adapting

3.Refactoring

4.Duplicating


Question:
Unit tests allow greater test _______ than functional tests.

1. Coverage

2.Redundancy

3.Prowess

4.Accuracy


Question:
Unit Tests can detect _________

1.Regressions

2.Quality Check

3.Database Errors

4.Enforced Error


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

1.True

2.False

3.JUnit

4.none of the above


Question:
YAGNI is a principle behind the XP practice of _______

1.KISS

2.MoSCoW

3. WIB

4.DTSTTCPW


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

1. Cobertura

2. JUnit

3.XUnit

4. Maven


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

1. Maven

2.Ant

3.Jetty

4.Zimbra


Question:
______ parameter specifies the encoding used to read the source.

1.datafile

2.basedir

3.encoding

4. format


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

1.Feature Teams

2.Inspections

3.Domain Object Modelling

4.Configuration Management


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

1. Scrum

2.FDD

3. DevOps

4.MDD


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

1.Repetitions

2.Modularity

3.Functions

4.Documentation


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

1.Brute force debugging

2.Backtracking

3.Cause elimination

4.Program slicing


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

1.KISS

2.MoSCoW Method

3.Overengineering

4.YAGNI


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

1. Linear code sequence and jump

2.State coverage

3.Lossless packs

4.Linear jumps


Question:
_______ is used to test object identity.

1. instanceOf

2. isCompatibleType

3. type

4.sameInstance


Question:
________ Hamcrest matcher can be used to match absolutely everything.

1.Is

2.AnyOf

3.Anything

4.Not


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

1.Maven

2.Ant

3.Jetty

4.Zimbra


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

1. Java

2. Pygame

3.AllenWake

4.Hamcrest


Question:
__________ is the most common and least efficient debugging technique.

1.Brute force debugging

2.Backtracking

3.Cause elimination

4.Program slicing


More MCQS

  1. Junit Mcq Question Set 1
  2. Junit Mcq Question Set 2
  3. Junit Mcq Question Set 3
  4. Junit Mcq Question Set 4
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!