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.

In factory method pattern, the framework must instantiate classes but it only knows about the abstract classes, which it cannot initiate. How would one solve this problem?(a) encapsulating the knowledge of which document subclass to is to be created and(b) moving this knowledge out of the framework(c) instantiating the application specific documents without knowing their class(d) all of the mentionedI got this question in an interview for internship.Query is from Software Design Pattern topic in section Design and Implementation of Software Engineering

Answer»

Right ANSWER is (d) all of the mentioned

To EXPLAIN: FOLLOWING all the options in ORDER will solve the factory method PROBLEM.

2.

Facade pattern couples a subsystem from its clients.(a) True(b) FalseI got this question in a national level competition.This interesting question is from Software Design Pattern topic in portion Design and Implementation of Software Engineering

Answer» RIGHT ANSWER is (b) False

Explanation: A FACADE can be a single ENTRY point to each SUBSYSTEM level. It decouples the subsystem.
3.

Which design pattern defines one-to-many dependency among objects?(a) Singleton pattern(b) Facade Pattern(c) Observer pattern(d) Factory method patternI had been asked this question in homework.The question is from Software Design Pattern topic in section Design and Implementation of Software Engineering

Answer» RIGHT choice is (c) OBSERVER pattern

To explain: Observer pattern defines one-to-many DEPENDENCY among OBJECTS so that when one object changes its STATE, all its dependents are notified.
4.

Which pattern prevents one from creating more than one instance of a variable?(a) Factory Method(b) Singleton(c) Observer(d) None of the mentionedThe question was asked during an interview.I'd like to ask this question from Software Design Pattern topic in chapter Design and Implementation of Software Engineering

Answer»

The correct choice is (b) SINGLETON

The explanation is: In singleton pattern, the class itself is made responsible for keeping track of its INSTANCE.Thus it ensures that no more than one instance is CREATED.

5.

Facade pattern promotes weak coupling between subsystem and its clients.(a) True(b) FalseI got this question in a job interview.This intriguing question comes from Software Design Pattern in division Design and Implementation of Software Engineering

Answer»

Right choice is (a) True

Easiest explanation: It is ONE of the patterns benefit.The facade pattern shields clients from SUBSYSTEM CLASSES and reduces the NUMBER of OBJECTS that clients deal with.

6.

Design pattern is a solution to a problem that occurs repeatedly in a variety of contexts.(a) True(b) FalseThis question was posed to me by my college director while I was bunking the class.The doubt is from Software Design Pattern topic in division Design and Implementation of Software Engineering

Answer» RIGHT OPTION is (a) True

To explain I would say: Each DESIGN pattern has a name and USE of each pattern has consequences.
7.

The recurring aspects of designs are called design(a) patterns(b) documents(c) structures(d) methodsI got this question in final exam.I need to ask this question from Software Design Pattern in division Design and Implementation of Software Engineering

Answer»

Right OPTION is (a) patterns

The explanation is: A PATTERN is the outline of a REUSABLE SOLUTION to a general problem encountered in a particular CONTEXT.

8.

You want to avoid multiple inheritance. Which design pattern would you choose?(a) Abstraction-Occurrence Pattern(b) Player-Role Pattern(c) General Hierarchy Pattern(d) Singleton PatternThe question was asked by my school teacher while I was bunking the class.The question is from Software Design Pattern in section Design and Implementation of Software Engineering

Answer» CORRECT CHOICE is (B) Player-Role Pattern

The EXPLANATION is: The ANSWER is self-explanatory.
9.

You want to minimize development cost by reusing methods? Which design pattern would you choose?(a) Adapter Pattern(b) Singleton Pattern(c) Delegation pattern(d) Immutable PatternI got this question in semester exam.Origin of the question is Software Design Pattern in portion Design and Implementation of Software Engineering

Answer»

Right answer is (c) Delegation pattern

Explanation: The delegation pattern is a DESIGN pattern in OOP where an OBJECT, instead of performing one of its stated tasks, DELEGATES that TASK to an associated helper object.

10.

Which of the following is a design pattern?(a) Behavioral(b) Structural(c) Abstract Factory(d) All of the mentionedThis question was posed to me in a job interview.The doubt is from Software Design Pattern in portion Design and Implementation of Software Engineering

Answer»

The CORRECT ANSWER is (d) All of the mentioned

To elaborate: All the options are design PATTERNS so OPTION d.

11.

The use of design patterns for the development of object-oriented software has important implications for(a) Component-based software engineering(b) Reusability in general(c) All of the mentioned(d) None of the mentionedThe question was posed to me during an interview.This intriguing question originated from Software Design Pattern in portion Design and Implementation of Software Engineering

Answer» CORRECT CHOICE is (C) All of the mentioned

Explanation: NONE.
12.

Design patterns does not follow the concept of software reuse.(a) True(b) FalseThis question was addressed to me during an internship interview.I'd like to ask this question from Software Design Pattern topic in section Design and Implementation of Software Engineering

Answer»

The correct OPTION is (b) False

The best I can explain: DESIGN patterns allow the designer to create the system architecture by INTEGRATING reusable components.

13.

Which mechanism is applied to use a design pattern in an OO system?(a) Inheritance(b) Composition(c) All of the mentioned(d) None of the mentionedThis question was posed to me by my college director while I was bunking the class.My doubt stems from Software Design Pattern topic in section Design and Implementation of Software Engineering

Answer»

The correct option is (C) All of the mentioned

Explanation: Using inheritance, an existing design PATTERN becomes a template for a new subclass.Composition is a CONCEPT that LEADS to aggregate objects.

14.

PRD stands for(a) Product Requirement Document(b) Project Requirement Document(c) Product Restrictions Document(d) None of the mentionedThis question was addressed to me in exam.Question is from Test Case Design topic in section Design and Implementation of Software Engineering

Answer»

Right option is (a) PRODUCT Requirement Document

To EXPLAIN I WOULD say: A product requirements document (PRD) is a document written by a COMPANY that defines a product they are making, or the requirements for one or more new features for an EXISTING product.

15.

Acceptance & system test planning are a part of architectural design.(a) True(b) FalseI had been asked this question in final exam.My question comes from Test Case Design topic in section Design and Implementation of Software Engineering

Answer» CORRECT choice is (b) False

The best I can EXPLAIN: They are a part of requirements engineering, while INTEGRATION & unit test PLANNING COME under architectural design.
16.

Specifying a set of test cases or test paths for each item to be tested at that level is known as(a) Test case generation(b) Test case design(c) ALL of the mentioned(d) None of the mentionedThis question was addressed to me by my school principal while I was bunking the class.Origin of the question is Test Case Design topic in portion Design and Implementation of Software Engineering

Answer» CORRECT answer is (C) ALL of the mentioned

To explain I WOULD SAY: None.
17.

When does the testing process stops?(a) When resources (time and budget) are over(b) When some coverage is reached(c) When quality criterion is reached(d) Testing never endsThe question was posed to me by my school principal while I was bunking the class.My question is from Test Case Design in division Design and Implementation of Software Engineering

Answer»

The correct choice is (c) When quality CRITERION is reached

Best explanation: As software testing is an exhaustive PROCESS, when the quality assurance is ESTABLISHED and the product is READY to be delivered, testing is stopped.

18.

Which of the following is not a part of a test design document?(a) Test Plan(b) Test Design Specification(c) Test Case Specification(d) Test LogThis question was posed to me during an internship interview.My doubt stems from Test Case Design in section Design and Implementation of Software Engineering

Answer»

The CORRECT choice is (d) Test Log

For EXPLANATION: Test log is a PART of TESTING result document.

19.

A white box test scales up well at different granularity levels of testing.(a) True(b) FalseI had been asked this question during an internship interview.This question is from Test Case Design in section Design and Implementation of Software Engineering

Answer»

Right choice is (b) False

The best explanation: A WHITE BOX test is mostly applicable at UNIT and integration TESTING level.

20.

In which test design each input is tested at both ends of its valid range and just outside its valid range?(a) Boundary value testing(b) Equivalence class partitioning(c) Boundary value testing AND Equivalence class partitioning(d) Decision tablesThis question was addressed to me in examination.I want to ask this question from Test Case Design topic in chapter Design and Implementation of Software Engineering

Answer»

The correct answer is (a) BOUNDARY value testing

For explanation: Boundary value analysis is a SOFTWARE testing technique in which TESTS are DESIGNED to include representatives of boundary values.

21.

A set of inputs, execution preconditions and expected outcomes is known as a(a) Test plan(b) Test case(c) Test document(d) Test SuiteThe question was asked in class test.This key question is from Test Case Design topic in chapter Design and Implementation of Software Engineering

Answer» RIGHT ANSWER is (B) Test case

The explanation is: None.
22.

Which of the following is a black box testing strategy?(a) All Statements Coverage(b) Control Structure Coverage(c) Cause-Effect Graphs(d) All Paths CoverageThis question was addressed to me in an interview for job.Query is from Test Case Design in section Design and Implementation of Software Engineering

Answer»

Right answer is (C) Cause-Effect Graphs

For explanation: Rest are test STRATEGIES of white BOX TESTING.

23.

Which test refers to the retesting of a unit, integration and system after modification, in order to ascertain that the change has not introduced new faults?(a) Regression Test(b) Smoke Test(c) Alpha Test(d) Beta TestI have been asked this question by my school principal while I was bunking the class.My question is based upon Test Case Design topic in section Design and Implementation of Software Engineering

Answer»

Correct ANSWER is (a) Regression TEST

The best explanation: Regression test seeks to uncover new SOFTWARE bugs in existing functional and non-functional AREAS of a system after changes have been made to them.

24.

In static test techniques, behavioral and performance properties of the program are observed.(a) True(b) FalseThe question was asked in an interview for internship.Origin of the question is Test Case Design topic in portion Design and Implementation of Software Engineering

Answer»

Correct CHOICE is (b) False

Explanation: Static Analysis Techniques are based SOLELY on the (manual or automated) examination of PROJECT documentation of software MODELS and CODE.

25.

Which granularity level of testing checks the behavior of module cooperation?(a) Unit Testing(b) Integration Testing(c) Acceptance Testing(d) Regression TestingThis question was posed to me in an online quiz.The above asked question is from Test Case Design in division Design and Implementation of Software Engineering

Answer»

The CORRECT answer is (b) INTEGRATION Testing

To ELABORATE: Integration testing is the PHASE in software testing in which individual software modules are COMBINED and tested as a group.

26.

What do you understand by V&V in software testing?(a) Verified Version(b) Version Validation(c) Verification and Validation(d) Version VerificationI had been asked this question by my college director while I was bunking the class.I'm obligated to ask this question of Test Case Design in section Design and Implementation of Software Engineering

Answer»

The correct OPTION is (C) Verification and Validation

For EXPLANATION: V&V GENERALLY refers to any activity that attempts to ensure that the software will function as required.

27.

What combines the outward manifestation of the computer-based system , coupled with all supporting information that describe system syntax and semantics?(a) mental image(b) interface design(c) system image(d) interface validationThis question was addressed to me in exam.The query is from User Interface Design in portion Design and Implementation of Software Engineering

Answer» RIGHT choice is (c) system image

The best explanation: When the system image and the system PERCEPTION are coincident, users generally feel comfortable with the software and USE it EFFECTIVELY.
28.

What establishes the profile of end-users of the system?(a) design model(b) user’s model(c) mental image(d) system imageThis question was addressed to me in my homework.The above asked question is from User Interface Design topic in section Design and Implementation of Software Engineering

Answer»

Correct choice is (b) USER’s model

The best I can explain: To build an effective user INTERFACE, all design should begin with an UNDERSTANDING of the intended users, including their profiles of their age, physical abilities, education, etc.

29.

A software engineer designs the user interface by applying an iterative process that draws on predefined design principles.(a) True(b) FalseThis question was posed to me during an online interview.My doubt is from User Interface Design in portion Design and Implementation of Software Engineering

Answer» RIGHT OPTION is (a) TRUE

Easiest EXPLANATION: The STATEMENT is true.
30.

What incorporates data, architectural, interface, and procedural representations of the software?(a) design model(b) user’s model(c) mental image(d) system imageI had been asked this question in examination.My question is from User Interface Design in division Design and Implementation of Software Engineering

Answer»

Correct choice is (a) design MODEL

The BEST EXPLANATION: The requirements specification may establish certain constraints that HELP to define the user of the system, but the interface design is often only INCIDENTAL to the design model.

31.

A software might allow a user to interact via(a) keyboard commands(b) mouse movement(c) voice recognition commands(d) all of the mentionedThe question was asked during an interview for a job.Asked question is from User Interface Design topic in division Design and Implementation of Software Engineering

Answer»

The CORRECT answer is (d) all of the mentioned

The BEST I can EXPLAIN: All the mentioned input mediums are available TODAY.

32.

Which of the following is not a user interface design process?(a) User, task, and environment analysis and modeling(b) Interface design(c) Knowledgeable, frequent users(d) Interface validationThe question was asked in an interview for job.The origin of the question is User Interface Design topic in section Design and Implementation of Software Engineering

Answer»

The CORRECT choice is (C) Knowledgeable, FREQUENT users

For explanation I would say: These are the end user for whom the product is being built.

33.

Which of the following option is not considered by the Interface design?(a) the design of interfaces between software components(b) the design of interfaces between the software and human producers and consumers of information(c) the design of the interface between two computers(d) all of the mentionedI got this question in my homework.My question is from User Interface Design in chapter Design and Implementation of Software Engineering

Answer» CORRECT OPTION is (c) the design of the INTERFACE between two computers

The explanation: None
34.

Which of the following is not a design principle that allow the user to maintain control?(a) Provide for flexible interaction(b) Allow user interaction to be interrupt-able and undo-able(c) Show technical internals from the casual user(d) Design for direct interaction with objects that appear on the screenI have been asked this question by my school teacher while I was bunking the class.This interesting question is from User Interface Design in chapter Design and Implementation of Software Engineering

Answer» RIGHT CHOICE is (c) SHOW technical internals from the casual user

For explanation I would say: The user interface should MOVE the user into the virtual world of the APPLICATION.
35.

When users are involved in complex tasks, the demand on __________ can be significant.(a) short-term memory(b) shortcuts(c) objects that appear on the screen(d) all of the mentionedThe question was asked in semester exam.The query is from User Interface Design in section Design and Implementation of Software Engineering

Answer»

Right answer is (a) short-term memory

The explanation: The INTERFACE should be DESIGNED to reduce the REQUIREMENT to REMEMBER past ACTIONS and results.

36.

Which of the following is golden rule for interface design?(a) Place the user in control(b) Reduce the user’s memory load(c) Make the interface consistent(d) All of the mentionedThis question was posed to me in an interview.This intriguing question originated from User Interface Design topic in chapter Design and Implementation of Software Engineering

Answer»

Right ANSWER is (d) All of the mentioned

For explanation I would say: These golden rules ACTUALLY form the basis for a SET of user interface design principles that guide this important software design activity.

37.

Which diagram evolved from a desire to develop a procedural design representation that would not allow violation of the structured constructs?(a) State transition diagram(b) Box diagram(c) ER diagram(d) None of the mentionedThe question was posed to me in exam.Asked question is from Component Level Design topic in chapter Design and Implementation of Software Engineering

Answer» CORRECT ANSWER is (B) BOX diagram

Explanation: NONE.
38.

The________ is represented as two processing boxes connected by an line (arrow) of control.(a) Repetition(b) Sequence(c) Condition(d) None of the mentionedI have been asked this question in an online quiz.Enquiry is from Component Level Design topic in chapter Design and Implementation of Software Engineering

Answer» RIGHT OPTION is (B) Sequence

Explanation: NONE.
39.

Which of the following term is best defined by the statement “Notation that can be input directly into a computer-based development system offers significant benefits.”?(a) Machine readability(b) Maintainability(c) Structure enforcement(d) Overall simplicityThis question was addressed to me during an interview for a job.This intriguing question originated from Component Level Design in portion Design and Implementation of Software Engineering

Answer» RIGHT CHOICE is (a) MACHINE READABILITY

The explanation: Readability is processing input.
40.

Which of the following is not a characteristics of box diagram?(a) functional domain(b) arbitrary transfer of control is impossible(c) recursion is easy to represent(d) providing a notation that translates actions and conditionsI got this question by my school teacher while I was bunking the class.The query is from Component Level Design in portion Design and Implementation of Software Engineering

Answer»

Correct answer is (d) providing a notation that TRANSLATES actions and conditions

To EXPLAIN: This functionality is COVERED by UML diagrams.

41.

A __________ executes the loop task first, then tests a condition and repeats the task until the condition fails.(a) repeat until(b) condition(c) do while tests(d) if then-elseThis question was posed to me in an online interview.My doubt stems from Component Level Design in portion Design and Implementation of Software Engineering

Answer»

The CORRECT ANSWER is (a) REPEAT until

Best EXPLANATION: NONE.

42.

A software component(a) Implements some functionality(b) Has explicit dependencies through provides and required interfaces(c) Communicates through its interfaces only(d) All of the mentionedThis question was addressed to me in an interview for internship.This key question is from Component Level Design topic in section Design and Implementation of Software Engineering

Answer»

Right OPTION is (d) All of the mentioned

To ELABORATE: All the options identify with FEATURES of a SOFTWARE component.

43.

_________ is a pidgin(simplified version of a language that develops as a means of communication between two or more groups that do not have a language in common)(a) program design language(b) structured English(c) pseudocode(d) all of the mentionedThis question was posed to me in an online interview.The query is from Component Level Design topic in chapter Design and Implementation of Software Engineering

Answer»

The CORRECT CHOICE is (d) all of the mentioned

Explanation: The difference between PDL and a real programming language lies in the use of NARRATIVE TEXT embedded directly within PDL statements.

44.

Which of the following term is best defined by the statement:”The ability to represent local and global data is an essential element of component-level design.”?(a) Data representation(b) Logic verification(c) “Code-to” ability(d) Automatic processingThe question was asked in a job interview.My question is taken from Component Level Design topic in chapter Design and Implementation of Software Engineering

Answer» CORRECT ANSWER is (a) DATA representation

The BEST I can EXPLAIN: None.
45.

Which of the following steps is applied to develop a decision table?(a) List all actions that can be associated with a specific procedure(b) List all conditions during execution of the procedure(c) Define rules by indicating what action(s) occurs for a set of conditions(d) All of the mentionedI had been asked this question by my college professor while I was bunking the class.My enquiry is from Component Level Design in section Design and Implementation of Software Engineering

Answer»

The correct answer is (d) All of the mentioned

For EXPLANATION: A decision table INCLUDES action STUB and a condition stub with a set of RULES.

46.

Which of the following is not a construct?(a) sequence(b) condition(c) repetition(d) selectionI got this question in a national level competition.The origin of the question is Component Level Design in portion Design and Implementation of Software Engineering

Answer» CORRECT option is (d) selection

To elaborate: Sequence implements processing STEPS that are ESSENTIAL in the specification of any algorithm. Condition PROVIDES the facility for selected processing BASED on some logical occurrence, and repetition allows for looping.
47.

The __________ of a relationship is 0 if there is no explicit need for the relationship to occur or the relationship is optional.(a) modality(b) cardinality(c) entity(d) structured analysisI had been asked this question in a job interview.My query is from Analysis Modelling in division Design and Implementation of Software Engineering

Answer»

Right ANSWER is (a) modality

Explanation: The modality is 1 if an OCCURRENCE of the RELATIONSHIP is mandatory, else 0 for optional relationship.

48.

The __________ contains a state transition diagram that is a sequential specification of behavior.(a) data flow diagram(b) state transition diagram(c) control specification(d) workflow diagramI got this question by my college director while I was bunking the class.I'd like to ask this question from Analysis Modelling topic in chapter Design and Implementation of Software Engineering

Answer»

Correct ANSWER is (C) CONTROL SPECIFICATION

The explanation: The control specification(CSPEC) describes the behavior of the system, but it GIVES us no information about the inner working of the processes that are activated as a result of this behavior .

49.

The __________ enables the software engineer to develop models of the information domain and functional domain at the same time(a) data flow diagram(b) state transition diagram(c) control specification(d) activity diagramThis question was posed to me in unit test.My doubt stems from Analysis Modelling topic in section Design and Implementation of Software Engineering

Answer» RIGHT option is (a) data flow diagram

The best I can explain: As the DFD is refined into greater levels of detail, the analyst performs an implicit functional decomposition of the SYSTEM, thereby accomplishing the FOURTH operational analysis principle for FUNCTION.
50.

A _________ is a graphical representation that depicts information flow and the transforms that are applied as data moves from input to output.(a) data flow diagram(b) state transition diagram(c) control specification(d) workflow diagramThis question was posed to me during an interview.Question is from Analysis Modelling topic in chapter Design and Implementation of Software Engineering

Answer»

The correct answer is (b) state transition diagram

The explanation: The BASIC form of a DATA flow diagram, ALSO known as a data flow GRAPH or a bubble chart.