Explore topic-wise MCQs in Software Engineering.

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

1.

Which of the following statement(s) is true about interaction diagrams ?

A. Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen
B. Interaction diagrams are good at designing part or all of one use case’s functionality across multiple objects
C. Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects
D. All of the mentioned
Answer» E.
2.

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 mentioned
Answer» E.
3.

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 simplicity
Answer» B. Maintainability
4.

Which of the following term is best defined by the statement:”a structural relationship that specifies that objects of one thing are connected to objects of another” ?

A. Association
B. Aggregation
C. Realization
D. Generalization
Answer» B. Aggregation
5.

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 processing
Answer» B. Logic verification
6.

Which pattern prevents one from creating more than one instance of a variable ?

A. Factory Method
B. Singleton
C. Observer
D. None of the mentioned
Answer» C. Observer
7.

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 Test
Answer» B. Smoke Test
8.

Which things in UML are the explanatory parts of UML models ?

A. Structural things
B. Behavioral things
C. Grouping things
D. Annotational things
Answer» E.
9.

Which things are dynamic parts of UML models ?

A. Structural things
B. Behavioral things
C. Grouping things
D. Annotational things
Answer» C. Grouping things
10.

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 Pattern
Answer» C. General Hierarchy Pattern
11.

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 Pattern
Answer» D. Immutable Pattern
12.

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 mentioned
Answer» D. all of the mentioned
13.

Which of the following is not the primary objectives in the analysis model ?

A. describing the customer complaints
B. establishing a basis for the creation of a software design
C. defining a set of requirements that can be validated once the software is built
D. none of the mentioned
Answer» E.
14.

Which of the following is not needed to develop a system design from concept to detailed object-oriented design ?

A. Designing system architecture
B. Developing design models
C. Specifying interfaces
D. Developing a debugging system
Answer» E.
15.

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 validation
Answer» D. Interface validation
16.

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 Log
Answer» E.
17.

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 screen
Answer» D. Design for direct interaction with objects that appear on the screen
18.

Which of the following is not a construct ?

A. sequence
B. condition
C. repetition
D. selection
Answer» E.
19.

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 conditions
Answer» E.
20.

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 mentioned
Answer» E.
21.

Which of the following is a structural model that demonstrates the other systems in the environment of the system being developed ?

A. system context model
B. interaction model
C. environmental model
D. both system context and interaction
Answer» B. interaction model
22.

Which of the following is a dynamic model that shows how the system interacts with its environment as it is used ?

A. system context model
B. interaction model
C. environmental model
D. both system context and interaction
Answer» C. environmental model
23.

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 Coverage
Answer» D. All Paths Coverage
24.

Which of the following is a building block of UML ?

A. Things
B. Relationships
C. Diagrams
D. All of the mentioned
Answer» E.
25.

Which of the following come under system control ?

A. Reconfigure
B. Shutdown
C. Powersave
D. All of the mentioned
Answer» E.
26.

Which of the following are the valid relationships in Use Case Diagrams______________________?

A. Generalization
B. Include
C. Extend
D. All of the mentioned
Answer» E.
27.

Which model describes the static structure of the system using object classes and their relationships ?

A. Sequence model
B. Subsystem model
C. Dynamic model
D. Structural model
Answer» E.
28.

Which message is received so that the system moves to the Testing state, then the Transmitting state, before returning to the Running state ?

A. signalStatus()
B. remoteControl()
C. reconfigure()
D. reportStatus()
Answer» E.
29.

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 mentioned
Answer» D. None of the mentioned
30.

Which granularity level of testing checks the behavior of module cooperation ?

A. Unit Testing
B. Integration Testing
C. Acceptance Testing
D. Regression Testing
Answer» C. Acceptance Testing
31.

Which diagram shows the configuration of run-time processing elements ?

A. Deployment diagram
B. Component diagram
C. Node diagram
D. ER-diagram
Answer» B. Component diagram
32.

Which diagram indicates the behaviour of the system as a consequence of external events ?

A. data flow diagram
B. state transition diagram
C. control specification diagram
D. workflow diagram
Answer» C. control specification diagram
33.

Which diagram in UML shows a complete or partial view of the structure of a modeled system at a specific time ?

A. Sequence Diagram
B. Collaboration Diagram
C. Class Diagram
D. Object Diagram
Answer» E.
34.

Which diagram in UML emphasizes the time-ordering of messages ?

A. Activity
B. Sequence
C. Collaboration
D. Class
Answer» C. Collaboration
35.

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 mentioned
Answer» C. ER diagram
36.

Which design pattern defines one-to-many dependency among objects ?

A. Singleton pattern
B. Facade Pattern
C. Observer pattern
D. Factory method pattern
Answer» D. Factory method pattern
37.

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 mentioned
Answer» B. shortcuts
38.

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 ends
Answer» D. Testing never ends
39.

What refers to the value associated with a specific attribute of an object and to any actions or side ?

A. Object
B. State
C. Interface
D. None of the mentioned
Answer» C. Interface
40.

What is an object________________?

A. An object is an instance of a class
B. An object includes encapsulation of data
C. An object is not an instance of a class
D. All of the mentioned
Answer» B. An object includes encapsulation of data
41.

What is an abstract class ?

A. A class that has direct instances, but whose descendants may have direct instances
B. A class that has direct instances, but whose descendants may not have direct instances
C. A class that has no direct instances, but whose descendants may have direct instances
D. All of the mentioned
Answer» D. All of the mentioned
42.

What is a physical element that exists at runtime in UML ?

A. A node
B. An interface
C. An activity
D. None of the mentioned
Answer» B. An interface
43.

What is a collection of operations that specify a service of a class or component ?

A. Use Case
B. Actor
C. Interface
D. Relationship
Answer» D. Relationship
44.

What incorporates data, architectural, interface, and procedural representations of the software ?

A. design model
B. user’s model
C. mental image
D. system image
Answer» B. user’s model
45.

What establishes the profile of end-users of the system ?

A. design model
B. user’s model
C. mental image
D. system image
Answer» C. mental image
46.

What do you understand by V&V in software testing ?

A. Verified Version
B. Version Validation
C. Verification and Validation
D. Version Verification
Answer» D. Version Verification
47.

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 validation
Answer» D. interface validation
48.

What can be requested from any object of the class to affect behavior ?

A. object
B. attribute
C. operation
D. instance
Answer» D. instance
49.

We use _______________ where various parts of system use are identified and analyzed in turn?

A. tangible entities
B. scenario-based analysis
C. design-based analysis
D. none of the mentioned
Answer» C. design-based analysis
50.

UML interfaces are used to_____________________?

A. specify required services for types of objects
B. program in Java, but not in C++ or Smalltalk
C. define executable logic to reuse across classes
D. define an API for all classes
Answer» B. program in Java, but not in C++ or Smalltalk