Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

The _______________ represents the product’s stakeholders and the voice of the customer(a) Development Team(b) Scrum Master(c) Product Owner(d) Servant-leaderI got this question in quiz.My question is from White Box Testing in chapter Software Testing Principles of JUnit

Answer» CORRECT CHOICE is (c) Product Owner

The BEST explanation: The Product Owner is accountable for ensuring that the team delivers VALUE to the business.
2.

A value ____________ technique is used to identify waste.(a) Mapping(b) Stream(c) Stream Mapping(d) FlowThis question was addressed to me during an interview.My enquiry is from Black Box Testing topic in section Software Testing Principles of JUnit

Answer»

The correct choice is (c) Stream Mapping

To explain I would say: Waste REMOVAL takes place iteratively until even processes and procedures which are seemingly ESSENTIAL are LIQUIDATED.

3.

DSDM stands for _____________(a) Dynamic systems development method(b) Dynamic solutions development method(c) Database systems development method(d) Database solutions development methodI got this question by my college professor while I was bunking the class.Asked question is from Types of Unit Tests topic in portion Software Testing Principles of JUnit

Answer»

Correct CHOICE is (a) Dynamic systems development method

The BEST I can explain: DSDM is an AGILE methodology that stands for Dynamic systems development method.

4.

In a reactive approach, the bulk of the test design work begins __________(a) Before any software is made(b) After some modules are completed(c) After every module, testing is done(d) After the software has been producedThe question was asked during an online exam.Asked question is from Types of Unit Tests in chapter Software Testing Principles of JUnit

Answer»

The correct option is (d) After the software has been produced

The best I can EXPLAIN: In the reactive approach, the PRODUCT or software is first COMPLETED and then the TEST DESIGN work begins.

5.

___________ tests are designed after the software has been produced.(a) Preventive(b) Reactive(c) Associative(d) AmorousI have been asked this question by my school teacher while I was bunking the class.Asked question is from Stress Testing in chapter Software Testing Principles of JUnit

Answer»

Correct ANSWER is (b) Reactive

To explain I WOULD say: Reactive testing is a software testing APPROACH done after the PRODUCTION of the software.

6.

___________ tests whether a JavaBean has a particular property.(a) isProperty(b) porperty(c) hasProperty(d) isPresentI have been asked this question in homework.My doubt stems from Need for Unit Tests topic in section Software Testing Principles of JUnit

Answer» RIGHT CHOICE is (c) HASPROPERTY

For explanation: The hasProperty is a core HAMCREST matcher.
7.

A key principle of Scrum is ______________(a) Strict requirements(b) Requirements volatility(c) Fixed scale development(d) Cross-functional developmentThis question was addressed to me at a job interview.My question is from White Box Testing in chapter Software Testing Principles of JUnit

Answer»

The correct ANSWER is (B) Requirements volatility

For explanation: The customers can change their MINDS about what they want and NEED and SCRUM recognizes this.

8.

The isCloseTo class extends which base class?(a) Matcher(b) HamcrestCore(c) TypeMatcher(d) TypeSafeMatcherThis question was addressed to me in homework.The query is from Integration Software Testing topic in section Software Testing Principles of JUnit

Answer» CORRECT CHOICE is (d) TypeSafeMatcher

The explanation: The TypeSafeMatcher is a useful base class for Matchers that require non-null VALUES of a specific TYPE.
9.

Lean Development follows the principle of ______________(a) Decide as late as possible(b) Deliver as late as possible(c) Decide as early as possible(d) Not building integrityI got this question during an internship interview.My question comes from Black Box Testing in chapter Software Testing Principles of JUnit

Answer»

Correct answer is (a) DECIDE as late as possible

The best I can explain: Lean Development USES the principle of Deciding as late as possible to as SOFTWARE development is always ASSOCIATED with some LEVEL of uncertainty.

10.

In software testing, a _____________ is a collection of software and test data configured to test a program unit by putting it under varying conditions and monitoring its behavior and output.(a) Test harness(b) Test automation(c) Test mechanics(d) Test manuscriptsThis question was addressed to me during an interview.I'm obligated to ask this question of Acceptance Software Testing topic in chapter Software Testing Principles of JUnit

Answer»

The correct OPTION is (a) Test harness

The best EXPLANATION: Test harnesses ALLOW the AUTOMATION of tests to be PERFORMED.

11.

Unit tests allow greater test _____________ than functional tests.(a) Coverage(b) Redundancy(c) Prowess(d) AccuracyI had been asked this question in class test.I need to ask this question from Functional Software Testing topic in portion Software Testing Principles of JUnit

Answer»

Right answer is (a) Coverage

The best I can EXPLAIN: Unit tests can easily SIMULATE ERROR conditions, which is EXTREMELY difficult to do with functional tests.

12.

The output of the requirement analysis and the requirement specification is used as the input for writing ____________(a) User Acceptance Test Cases(b) User Rejection Test Cases(c) Product Rejection Test Cases(d) Product Acceptance Test CasesI have been asked this question by my school principal while I was bunking the class.I'm obligated to ask this question of Types of Unit Tests topic in chapter Software Testing Principles of JUnit

Answer»

Correct ANSWER is (a) User Acceptance Test Cases

For explanation: During UAT, the software is TESTED by actual users of the product.

13.

The test execution engine does not carry any information about the ___________ product.(a) untested(b) tested(c) marketed(d) semi-testedThe question was asked in examination.My doubt is from Acceptance Software Testing in division Software Testing Principles of JUnit

Answer»

Correct CHOICE is (a) untested

For explanation: Only the TEST specification and the test data has information about the TESTED product.

14.

The ______________ comprises an ordered list of requirements that a Scrum Team maintains for a product.(a) Sprint Review(b) Sprint Backlog(c) Product Increment(d) Product backlogThe question was posed to me during a job interview.The question is from White Box Testing topic in portion Software Testing Principles of JUnit

Answer» RIGHT answer is (d) PRODUCT backlog

For explanation I would SAY: The product backlog CONSISTS of features, bug fixes, non-functional requirements and whatever else must be done to successfully deliver a viable product.
15.

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) DRYI have been asked this question in an internship interview.Question is taken from Stress Testing topic in section Software Testing Principles of JUnit

Answer»

Right ANSWER is (d) DRY

The explanation is: The DRY principle is STATED as “EVERY piece of knowledge must have a single, unambiguous, AUTHORITATIVE representation within a system”.

16.

The one who is responsible to initialise the project by ensuring that essential requirements are found early on in an DSDM environment is ____________(a) Executive Sponsor(b) Visionary(c) Ambassador User(d) Advisor UserI have been asked this question at a job interview.The question is from Types of Unit Tests in section Software Testing Principles of JUnit

Answer»

The CORRECT OPTION is (b) Visionary

The explanation: The Visionary has the most accurate PERCEPTION of the business OBJECTIVES of the PROJECT.

17.

_____________ consists of exploring and explaining the domain of the problem to be solved.(a) Feature Teams(b) Inspections(c) Domain Object Modelling(d) Configuration ManagementI have been asked this question during an internship interview.The origin of the question is Black Box Testing in chapter Software Testing Principles of JUnit

Answer»

The correct option is (C) Domain Object Modelling

Easiest explanation: The RESULTING domain object model PROVIDES an overall framework which can be USED to add features.

18.

_______________ tests are designed early.(a) Preventive(b) Reactive(c) Associative(d) AmorousThe question was posed to me during an internship interview.This key question is from Stress Testing in portion Software Testing Principles of JUnit

Answer»

Correct answer is (a) PREVENTIVE

Explanation: Preventive TESTING INVOLVES not only MEASURING, but also improving the quality of the software.

19.

A _____________ is the basic unit of development in Scrum.(a) Class(b) Manifesto(c) Slice(d) SprintI got this question in my homework.My enquiry is from White Box Testing in division Software Testing Principles of JUnit

Answer» CORRECT OPTION is (d) Sprint

Best EXPLANATION: In Scrum, each iteration is also known as a Sprint, which is the basic unit of DEVELOPMENT.
20.

The TypeSafeMatcher implements the __________ interface.(a) Self(b) Describing(c) EqulityCheck(d) SelfDescribingI had been asked this question during an interview for a job.The question is from Integration Software Testing topic in division Software Testing Principles of JUnit

Answer»

Right CHOICE is (d) SelfDescribing

Easiest EXPLANATION: This interface dictates the ABILITY of an OBJECT to describe what it does.

21.

____________ can be thought of as a vehicle to perform a test process.(a) Testing technique(b) Testing tools(c) MoSCow(d) DRYThis question was addressed to me in an online quiz.The doubt is from Acceptance Software Testing topic in division Software Testing Principles of JUnit

Answer» CORRECT answer is (b) TESTING tools

Easy EXPLANATION: The testing tools can be thought of as a RESOURCE to the tester, but is in itself insufficient to conduct testing.
22.

assertThat(0.03, is(closeTo(1.0, 0.03))) is ___________(a) True(b) False(c) Null(d) ErrorThe question was asked during an online exam.My question is taken from Integration Software Testing topic in section Software Testing Principles of JUnit

Answer»

Right CHOICE is (b) False

The BEST I can explain: 1.0-0.03 = 0.97>0.03, hence is false.

23.

A/An __________ property is an array instead of a single value.(a) Indexed(b) valued(c) null(d) variableThis question was addressed to me in an internship interview.Origin of the question is Need for Unit Tests topic in portion Software Testing Principles of JUnit

Answer» RIGHT option is (a) Indexed

Explanation: In such cases, the BEAN CLASS is responsible for providing methods for setting and GETTING EVERYTHING.
24.

_______________ ensure there is always an up-to-date system that can be demonstrated to the client.(a) Domain Object Modelling(b) Individual Class (Code) Ownership(c) Visibility of progress and results(d) Regular BuildsThe question was posed to me by my college director while I was bunking the class.This intriguing question comes from Black Box Testing topic in portion Software Testing Principles of JUnit

Answer»

The CORRECT answer is (d) Regular BUILDS

Explanation: Regular builds HELPS highlighting integration errors of source CODE for the FEATURES early.

25.

DSDM originally sought to provide some discipline to the ______________ method.(a) MSF(b) Scrum(c) RAD(d) BDDI have been asked this question by my school principal while I was bunking the class.The question is from Types of Unit Tests in section Software Testing Principles of JUnit

Answer»

Right ANSWER is (c) RAD

To EXPLAIN I would say: DSDM was originally made to PROVIDE some structure to Rapid APPLICATION Development.

26.

Independent testers are _____________ and identify different defects at the same time.(a) Isolated(b) Biased(c) Unbiased(d) ModularThis question was addressed to me in my homework.My question is from Types of Unit Tests in section Software Testing Principles of JUnit

Answer» CORRECT option is (c) Unbiased

To EXPLAIN I would say: Independent tests are conducted by an independent BODY, be it a group or a PERSON not associated with the development of the PRODUCT.
27.

__________________ tests whether a given string equals another one, ignoring the case.(a) stringEqual(b) equalToIgnoringCase(c) ignoringCaseEqual(d) equalToCaseThis question was addressed to me in class test.This key question is from Need for Unit Tests in section Software Testing Principles of JUnit

Answer»

Correct option is (B) EQUALTOIGNORINGCASE

Explanation: equalToIgnoringCase is a CORE Hamcrest Matcher which tests given string EQUALITY.

28.

DRY stands for ____________(a) Do right yourself(b) Don’t repeat yourself(c) Don’t ring the yarn(d) Do rule over yourselfThe question was posed to me in an interview for internship.My doubt stems from Stress Testing topic in portion Software Testing Principles of JUnit

Answer»

Right option is (b) Don’t repeat yourself

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.

29.

Functional tests are more _____________ compared to unit tests.(a) Fine grained(b) Accurate(c) Time consuming(d) Coarse grainedI have been asked this question in quiz.This intriguing question comes from Functional Software Testing in section Software Testing Principles of JUnit

Answer»

Right CHOICE is (d) Coarse grained

Easy EXPLANATION: Functional Tests need the full APPLICATION (or a good PART of it) to be READY before it can be tested.

30.

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.(a) RCM(b) TPM(c) QRM(d) TOCThis question was posed to me during an interview.This intriguing question comes from Black Box Testing topic in chapter Software Testing Principles of JUnit

Answer»

Correct choice is (d) TOC

For EXPLANATION: TOC or theory of constraints uses a FOCUSSING process to identify the CONSTRAINT.

31.

The likelihood of a/an __________ event determines the level of risk.(a) unlikely(b) adverse(c) ordinary(d) expectedI had been asked this question during a job interview.My question is from Stress Testing in section Software Testing Principles of JUnit

Answer»

The correct answer is (B) ADVERSE

To explain I would say: The adverse EVENT and the impact of the event DETERMINES the level of risk.

32.

The Sprint is a/an ___________ effort.(a) Timeboxed(b) Closed(c) Sandboxed(d) OpenI had been asked this question during an online exam.I want to ask this question from White Box Testing in chapter Software Testing Principles of JUnit

Answer» RIGHT option is (a) Timeboxed

Explanation: The SPRINT is RESTRICTED to a specific DURATION.
33.

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 completedThe question was asked in examination.My doubt stems from Stress Testing in chapter Software Testing Principles of JUnit

Answer» CORRECT option is (d) Defines when a test level is COMPLETED

To EXPLAIN I would say: An exit criteria is USED to DENOTE that a particular test level is completed.
34.

To retain a design across features, agile methodologies encourage ______________ to adapt the code base as needed.(a) Changing(b) Adapting(c) Refactoring(d) DuplicatingI had been asked this question in exam.This question is from Functional Software Testing in chapter Software Testing Principles of JUnit

Answer»

Right OPTION is (C) Refactoring

For EXPLANATION I would SAY: Unit tests tells when and where code breaks and gives the confidence to REFACTOR.

35.

The agile methodologies try to lower project risks by providing the ability to cope with ________(a) Change(b) Refactoring(c) Inefficiency(d) RedundancyThe question was asked by my school principal while I was bunking the class.My question is taken from Functional Software Testing topic in portion Software Testing Principles of JUnit

Answer»

Right answer is (a) Change

For explanation I would say: AGILE methodologies allow and EMBRACE change by standardizing on QUICK ITERATIONS.

36.

________________ is a client-centric, architecture-centric, and pragmatic software process.(a) Loss Testing(b) Feature Driven Development(c) DSDM(d) ScrumI had been asked this question in an online interview.The origin of the question is Black Box Testing in division Software Testing Principles of JUnit

Answer»

The correct answer is (b) Feature Driven DEVELOPMENT

For explanation I WOULD say: Feature Driven Development or FDD is an iterative and incremental development PROCESS which is CLIENT and architecture centric.

37.

Lean philosophy regards everything not adding value to the customer as __________(a) Unnecessary(b) Waste(c) Useful(d) NecessaryI had been asked this question in an interview for job.My doubt stems from Black Box Testing in portion Software Testing Principles of JUnit

Answer» CORRECT CHOICE is (b) WASTE

Best explanation: Waste INCLUDES partially WORK done and defects.
38.

Testing the end to end functionality of the system as a whole is defined as _______________(a) Unit Testing(b) Functional Testing(c) Stress Testing(d) Load TestingThe question was asked during a job interview.My question is taken from Types of Unit Tests topic in division Software Testing Principles of JUnit

Answer»

Correct CHOICE is (b) Functional TESTING

Easy explanation: Functional testing covers all possible scenarios INCLUDING failure paths and BOUNDARY cases.

39.

The ___________ method of the TypeSafeMatcher class is made final.(a) matches(b) matchesSafely(c) describeMismatchSafely(d) No mehtodThe question was asked during an online exam.The query is from Integration Software Testing topic in portion Software Testing Principles of JUnit

Answer» RIGHT answer is (a) matches

For explanation: The matches METHOD MADE FINAL to prevent accidental override.
40.

The closeTo function is found under which package?(a) org.hamcrest.TypeSafeMatcher(b) org.hamcrest.BaseMatcher(c) org.hamcrest.number.IsCloseTo(d) org.hamcrest.number.CloseToThe question was posed to me in unit test.The query is from Integration Software Testing in section Software Testing Principles of JUnit

Answer»

Right choice is (c) org.hamcrest.number.IsCloseTo

To EXPLAIN: The CLOSETO function is actually a METHOD of the isCloseTo CLASS of Hamcrest.

41.

DSDM fixes cost, quality and time at the outset and uses the ___________ prioritisation of scope.(a) KISS(b) MoSCow(c) PRINCE2(d) PSPI have been asked this question during a job interview.I want to ask this question from Types of Unit Tests topic in portion Software Testing Principles of JUnit

Answer»

Correct ANSWER is (b) MoSCow

The EXPLANATION: DSDM uses MoSCow to divide into MUSTS, shoulds, COULDS andwon’t HAVES.

42.

Unit Tests can detect ________________(a) Regressions(b) Quality Check(c) Database Errors(d) Enforced ErrorI had been asked this question in an online interview.My doubt is from Functional Software Testing topic in division Software Testing Principles of JUnit

Answer»

Right ANSWER is (a) Regressions

Best explanation: A UNIT TEST tells that a specific method is failing for a specific REASON.

43.

YAGNI stands for _____________(a) Your agile going now inside(b) You aren’t gonna need it(c) You are gonna need it(d) You are given no informationThe question was posed to me during an interview.Question is taken from Functional Software Testing topic in division Software Testing Principles of JUnit

Answer»

The correct choice is (b) You aren’t gonna need it

For EXPLANATION I would say: YAGNI being dependent on supporting practices is PART of the original definition of XP.

44.

The ____________ matcher checks if a given key is in a map.(a) hasEntry(b) hasValue(c) hasKey(d) isKeyThis question was addressed to me by my school teacher while I was bunking the class.I want to ask this question from Integration Software Testing in division Software Testing Principles of JUnit

Answer»

Right choice is (C) HASKEY

Easiest explanation: The hasKey matcher checks if the particular key is present in the MAP.

45.

__________ Hamcrest matcher tests for null values.(a) isNull(b) nullValue(c) isNullValue(d) isNullableThis question was addressed to me in class test.The origin of the question is Need for Unit Tests topic in division Software Testing Principles of JUnit

Answer»

Correct answer is (b) nullValue

The EXPLANATION: The nullValue FUNCTION is defined to DETECT null valued OBJECTS.

46.

The package to which hasItem() function belongs is _______________(a) org.junit.JUnitMatchers.hasItem(b) org.junit.hasItem(c) org.junit.Junit.hasItem(d) org.junit.hamcrest.hasItemThe question was posed to me during an interview for a job.This interesting question is from Need for Unit Tests in section Software Testing Principles of JUnit

Answer» RIGHT ANSWER is (a) org.junit.JUnitMatchers.hasItem

To ELABORATE: The hasItem() is a JUnitMatcher.
47.

______________ beta versions are released to a select group of individuals for undergoing user test.(a) Open(b) Surround(c) Closed(d) MandatedThis question was posed to me in an online quiz.This question is from Acceptance Software Testing topic in portion Software Testing Principles of JUnit

Answer»

The correct ANSWER is (C) Closed

For explanation: The select GROUP is INVITATION only to TEST the version and give feedback.

48.

______________ is a parallel development of functions and subsequent integration.(a) AOP(b) OOP(c) Agile Development(d) RADI have been asked this question by my college professor while I was bunking the class.Question is taken from Acceptance Software Testing in section Software Testing Principles of JUnit

Answer»

Correct option is (d) RAD

For explanation: COMPONENTS under RAD MODEL are DEVELOPED in parallel as if they were MINI projects.

49.

A ______________ is the second phase of software testing in which a sampling of the intended audience tests the product.(a) Alpha(b) Beta(c) Gamma(d) DeltaThe question was asked during an interview for a job.My doubt is from Acceptance Software Testing topic in chapter Software Testing Principles of JUnit

Answer»

Right answer is (B) Beta

To EXPLAIN: Beta TESTING is done by the CUSTOMER to TEST the product.

50.

To define a ________ in a JavaBean class, public getter and setter methods have to be supplied.(a) Class(b) Object(c) Value(d) PropertyI had been asked this question in homework.This is a very interesting question from Need for Unit Tests in division Software Testing Principles of JUnit

Answer» RIGHT answer is (d) Property

The best I can explain: Public SETTER and getter METHODS are REQUIRED for Properties to be defined in JAVABEANS classes.