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.

51.

Agile methodologists favour writing code in _____________ slices to produce a working use case.(a) Horizontal(b) Small(c) Diagonal(d) VerticalThe question was asked during an interview for a job.Query is from Functional Software Testing topic in chapter Software Testing Principles of JUnit

Answer»

Right option is (d) Vertical

To explain I would say: As opposed to WRITING code in horizontal SLICES to PROVIDE services LAYER by layer.

52.

The _____________ is the list of work the Development Team must address during the next Sprint.(a) Sprint Review(b) Sprint Backlog(c) Product Increment(d) Product backlogThis question was posed to me in an international level competition.My question is from White Box Testing topic in portion Software Testing Principles of JUnit

Answer»

The correct ANSWER is (b) Sprint BACKLOG

For explanation I would say: The list is derived by the Scrum Team progressively selecting PRODUCT Backlog Items in priority ORDER.

53.

__________ in the code are signs of bad code designs and should be avoided.(a) Repetitions(b) Modularity(c) Functions(d) DocumentationI had been asked this question in quiz.The question is from Black Box Testing topic in portion Software Testing Principles of JUnit

Answer»

The correct ANSWER is (a) Repetitions

Best EXPLANATION: Repetition LEADS to REDUNDANCY which results in bad code designs.

54.

LSD stands for ________________(a) Lean Software Development(b) Live Software Development(c) Less Software Data(d) Least Software DatalossThe question was posed to me by my school principal while I was bunking the class.My query is from Black Box Testing in division Software Testing Principles of JUnit

Answer»

The correct option is (a) Lean SOFTWARE DEVELOPMENT

Easiest EXPLANATION: LSD STANDS for Lean Software Development which is a type of Agile development.

55.

KISS is an acronym for ________________(a) Keep it simple, stupid(b) Keep it safe and sound(c) Know it soundly and systematically(d) Know information safely and securelyThe question was posed to me in an online quiz.The query is from Stress Testing topic in section Software Testing Principles of JUnit

Answer»

Right choice is (a) Keep it simple, stupid

The best I can explain: The PRINCIPLE most FINDS its USES in minimalist software DEVELOPMENT CONCEPTS.

56.

All ____________ has to be completed before integration testing can be done.(a) Stress testing(b) Functional testing(c) Unit testing(d) Load testingThe question was posed to me in an international level competition.The above asked question is from Stress Testing in section Software Testing Principles of JUnit

Answer»

Correct choice is (c) UNIT testing

To EXPLAIN I WOULD say: Once the tests for a class are up and running, the next step is to HOOK up the class with other methods and services.

57.

To write custom matcher _____________ has to be implemented.(a) Matcher Interface(b) Hamcrest Interface(c) HamcrestMatching Interface(d) Not possible to implementI had been asked this question in semester exam.My question is taken from Integration Software Testing topic in division Software Testing Principles of JUnit

Answer»

The correct choice is (b) Hamcrest Interface

Easiest explanation: The MATCHER interface DESCRIBES all methods needed to write custom MATCHERS, which OVERRIDE the Matcher methods.

58.

A __________ is an (often times virtual) environment used to verify the correctness soundness of a design or model, like that of a software product.(a) Test model(b) Test criteria(c) Test Flow(d) Test benchI had been asked this question in examination.The question is from Acceptance Software Testing topic in section Software Testing Principles of JUnit

Answer»

The CORRECT OPTION is (d) TEST BENCH

The BEST I can explain: A test bench has an input, output, procedures to and procedures to check components.

59.

At the _____________ the team reflects on the past Sprint.(a) Sprint Review(b) Daily Scrum(c) Sprint Retrospective(d) Sprint ReflectionI got this question in homework.My question comes from White Box Testing topic in section Software Testing Principles of JUnit

Answer»

Correct answer is (c) Sprint RETROSPECTIVE

The best explanation: At the Sprint Retrospective, the team also Identifies and AGREES on continuous process IMPROVEMENT ACTIONS.

60.

Test harness has two main parts, the test script repository and _______________(a) Test specification(b) Test management controller(c) Test controller(d) Test execution engineI got this question in exam.My question comes from Acceptance Software Testing in portion Software Testing Principles of JUnit

Answer»

Right answer is (d) TEST execution ENGINE

For EXPLANATION: A test execution engine is a TYPE of software used to test complete or partial SYSTEMS.

61.

Violations of DRY are referred to as _________ solutions.(a) WET(b) NOT DRY(c) KISS(d) ENGAGEI have been asked this question during a job interview.The query is from Stress Testing in division Software Testing Principles of JUnit

Answer»

The correct CHOICE is (a) WET

To elaborate: WET stands for “WRITE everything TWICE”.

62.

______________ are the first type of tests any application should have.(a) Functional Tests(b) Unit Tests(c) Integration Tests(d) Stress TestsThis question was posed to me in an interview for job.My doubt is from Functional Software Testing in chapter Software Testing Principles of JUnit

Answer»

Right answer is (B) Unit Tests

The EXPLANATION is: The main goal of unit testing is to verify that your application works as EXPECTED and to catch BUGS EARLY.

63.

assertThat(1.03, is(closeTo(1.0, 0.03))) is ____________(a) True(b) False(c) Null(d) ErrorI got this question in exam.This key question is from Integration Software Testing in portion Software Testing Principles of JUnit

Answer» RIGHT ANSWER is (a) True

The EXPLANATION is: 1.0 + 0.03 is 1.03 which is the FIRST VALUE.
64.

1 Which Hamcrest core matcher checks if a number is equal to a number of some acceptable error?(a) closeTo(b) equals(c) errorBy(d) similarToI got this question in an international level competition.This is a very interesting question from Integration Software Testing topic in chapter Software Testing Principles of JUnit

Answer» CORRECT ANSWER is (a) closeTo

Explanation: Test WHETHER given numbers are close to a given value.
65.

_________ is used for combining those matchers which must both pass.(a) all(b) both(c) justTwo(d) matchTwoThis question was posed to me in an interview for job.The question is from Need for Unit Tests topic in portion Software Testing Principles of JUnit

Answer»

Correct choice is (b) both

Easiest explanation: The both FUNCTION is a part of the internal COMBINABLE MATCHERS of JUNIT.

66.

Each day during a Sprint, the team holds a ______________ with specific guidelines.(a) Impediment(b) Daily Scrum(c) Backlog refinement(d) Scrum of ScrumsThis question was posed to me during an online exam.I would like to ask this question from White Box Testing in chapter Software Testing Principles of JUnit

Answer»

The CORRECT choice is (B) Daily Scrum

Easiest explanation: A Daily Scrum, ALSO KNOWN as a stand up, is held everyday during a sprint.

67.

___________ defines “a flexible, holistic product development strategy where a development team works as a unit to reach a common goal”.(a) Scrum(b) FDD(c) DevOps(d) MDDI had been asked this question by my college professor while I was bunking the class.My question is from White Box Testing in division Software Testing Principles of JUnit

Answer»

The CORRECT CHOICE is (a) SCRUM

The EXPLANATION: Scrum is an iterative and incremental DEVELOPMENT framework for managing product development.

68.

___________ is a principle of extreme programming (XP) that states that a functionality should not be added until deemed necessary.(a) KISS(b) MoSCoW Method(c) Overengineering(d) YAGNII had been asked this question by my school principal while I was bunking the class.My question is from Functional Software Testing topic in portion Software Testing Principles of JUnit

Answer»

Correct choice is (d) YAGNI

Explanation: The foundation on which YAGNI rests is a SOLID BED of unit tests.

69.

Class JUnitMatchers extends _______________(a) java.lang.Object(b) java.lang.String(c) java.util.*(d) java.util.ArraysThe question was posed to me during an online exam.I would like to ask this question from Need for Unit Tests in section Software Testing Principles of JUnit

Answer» CORRECT answer is (a) java.lang.Object

The EXPLANATION: JUnitMatchers manipulates the default Java objects and thus, EXTENDS java.lang.Object.
70.

The JUnit hasItem() function is a _____________(a) Hamcrest Matcher(b) Instance Function(c) JUnitMatcher(d) MatcherThis question was addressed to me during an interview.My question is from Need for Unit Tests topic in division Software Testing Principles of JUnit

Answer»

The correct CHOICE is (C) JUnitMatcher

For EXPLANATION: hasItem() is a useful matcher with for USE with the assertThat METHOD.

71.

DSDM is a/an _____________ approach.(a) Waterfall(b) Spiral(c) Incremental(d) Iterative and IncrementalI have been asked this question in my homework.The above asked question is from Types of Unit Tests in chapter Software Testing Principles of JUnit

Answer» RIGHT answer is (d) ITERATIVE and INCREMENTAL

The EXPLANATION is: DSDM embraces principles of AGILE Development leading to an iterative and incremental approach.
72.

Beta Testing is also known as _________ testing.(a) Field(b) Unit(c) Functional(d) BoxThis question was addressed to me in quiz.Enquiry is from Acceptance Software Testing in division Software Testing Principles of JUnit

Answer»

The correct option is (a) Field

Easy EXPLANATION: Beta testing is DONE at the customer’s location LEADING to it being also CALLED field testing.