Explore topic-wise MCQs in Testing Subject.

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

1.

. 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.
2.

. 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-else
Answer» B. condition
3.

. 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
4.

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

. Which of the following is not a construct?

A. sequence
B. condition
C. c) repetition
D. selection
Answer» E.
8.

. 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 diagram
Answer» D. workflow diagram
9.

. 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 diagram
Answer» B. state transition diagram
10.

. A data condition occurs whenever a data is passed to an input element followed by a processing element and the result in control output.

A. true
B. false
Answer» B. false
11.

. 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 diagram
Answer» C. control specification
12.

. 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 analysis
Answer» B. cardinality
13.

. A data model contains

A. data object
B. attributes
C. relationships
D. all of the mentioned
Answer» E.
14.

. 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
15.

. A description of each function presented in the DFD is contained in a ________.

A. data flow
B. process specification
C. control specification
D. data store
Answer» C. control specification
16.

. 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.
17.

. Open source development involves making the source code of a system publicly available.

A. true
B. false
Answer» B. false
18.

. 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. c) reconfigure()
D. reportstatus()
Answer» E.
19.

. If the system state is Shutdown then it can respond to which of the following message?

A. restart()
B. reconfigure()
C. powersave()
D. all of the mentioned
Answer» E.
20.

. Which model shows the flow of object interactions?

A. sequence model
B. subsystem model
C. dynamic model
D. both sequence and dynamic model
Answer» B. subsystem model
21.

. 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.
22.

. We use _________ where various parts of system use are identified and analyzed in turn.

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

. Which of the following come under system control?

A. reconfigure
B. shutdown
C. powersave
D. all of the mentioned
Answer» E.
24.

. 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
25.

. 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
26.

. 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.
27.

. How many diagrams are here in Unified Modelling Language?

A. six
B. seven
C. eight
D. nine
Answer» E.
28.

. h of the following diagram is time oriented?

A. collaboration
B. sequence
C. c) activity
Answer» C. c) activity
29.

. Structure diagrams emphasize the things that must be present in the system being modeled.

A. true
B. false
Answer» B. false
30.

. Interaction Diagram is a combined term for

A. sequence diagram + collaboration diagram
B. activity diagram + state chart diagram
C. deployment diagram + collaboration diagram
D. none of the mentioned
Answer» B. activity diagram + state chart diagram
31.

. 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.
32.

. Which of the following UML diagrams has a static view?

A. collaboration
B. use case
C. state chart
D. activity
Answer» C. state chart
33.

. 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
34.

. 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
35.

. 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.
36.

. 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
37.

. If you are working on real-time process control applications or systems that involve concurrent processing, you would use a

A. activity diagram
B. sequence diagram
C. statechart diagram
D. object diagram
Answer» D. object diagram
38.

. Object diagram captures the behavior of a single use case.

A. true
B. false
Answer» C.
39.

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

A. activity
B. sequence
C. collaboration
D. class
Answer» C. collaboration
40.

. Which things are dynamic parts of UML models?

A. structural things
B. behavioral things
C. grouping things
D. annotational things
Answer» C. grouping things
41.

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

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

.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
43.

. Classes and interfaces are a part of

A. structural things
B. behavioral things
C. grouping things
D. annotational things
Answer» B. behavioral things
44.

. Which of the following is a building block of UML?

A. things
B. relationships
C. diagrams
D. all of the mentioned
Answer» E.
45.

. Referring to the attached diagram, the arrow indicates:

A. navigability
B. dependency
C. association
D. refers to
Answer» B. dependency
46.

. 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.
47.

. 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 these
Answer» E.
48.

. 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.
49.

. 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. c) a class that has no direct instances, but whose descendants may have direct instances.
Answer» D.
50.

. What is an object?

A. an object is an instance of a class.
B. an object includes encapsulation of data
C. c) an object is not an instance of a class
Answer» B. an object includes encapsulation of data