78
69.8k

90+ Advance Software Engineering and Technology Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Master of Science in Computer Science (MSc CS) .

1.

. Object oriented analysis and design can be handled by the one who knows UML.

A. true
B. false
Answer» B. false
Explanation: the unified modeling language includes a set of graphic notation techniques to create visual models of object-oriented software-intensive systems.
2.

. At Conceptual level Class diagrams should include

A. operations only
B. attributes only
C. both (a) and (b)
D. none of the mentioned
Answer» B. attributes only
Explanation: in software engineering, a class diagram in the unified modeling language (uml) is a type of static structure diagram that describes the structure of a system by showing the system’s classes, their attributes, operations, and the relationships among objects.
3.

Select the statement true for activity diagrams.

A. they can be used to discover parallel activities
B. they are used to depict workflow for a particular business activity
C. activity diagram do not tell who does what and are difficult to trace back to object models
D. all of the mentioned
Answer» D. all of the mentioned
Explanation: activity diagrams are graphical representations of workflows of step wise activities and actions with support for choice, iteration and concurrency.
4.

. Constraints can be represented in UML by

A. {text}
B. [text]
C. constraint
D. none of the mentioned
Answer» A. {text}
Explanation: constraints are represented by {text string}.
5.

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
Answer» A. an object is an instance of a class.
Explanation: an object is an instance of a class.
6.

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.
Answer» C. a class that has no direct instances, but whose descendants may have direct instances.
Explanation: an abstract type is a type in a nominative type system which cannot be instantiated directly.
7.

Which of the following are the valid relationships in Use Case Diagrams

A. generalization
B. include
C. extend
D. all of the mentioned
Answer» D. all of the mentioned
Explanation: generalization, include, extend all of these are valid relationships in use case diagrams.
8.

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» D. all of these
Explanation: interaction diagram is used to describe some type of interactions among the different elements in the model. so this interaction is a part of dynamic behaviour of the system.
9.

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» A. specify required services for types of objects.
Explanation: an interface is like a template design for a class that contains no data or implementation; only definitions for methods, properties etc.
10.

Referring to the attached diagram, the arrow indicates:

A. navigability
B. dependency
C. association
D. refers to
Answer» A. navigability
Explanation: the arrows describe the ways you can navigate.
11.

Which of the following is a building block of UML?

A. things
B. relationships
C. diagrams
D. all of the mentioned
Answer» D. all of the mentioned
Explanation: all are the building blocks of uml which are further sub-categorized.
12.

Classes and interfaces are a part of

A. structural things
B. behavioral things
C. grouping things
D. annotational things
Answer» A. structural things
Explanation: structural things are mostly static parts of a model, representing elements that are either conceptual or physical.
13.

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» C. interface
Explanation: the answer is self explanatory.
14.

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

A. object
B. attribute
C. operation
D. instance
Answer» C. operation
Explanation: an operation is the implementation of a service that can be requested from any object of the class to affect behavior.
15.

Which things are dynamic parts of UML models?

A. structural things
B. behavioral things
C. grouping things
D. annotational things
Answer» B. behavioral things
Explanation: these are the verbs of a model, representing behavior over time and space.
16.

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

A. activity
B. sequence
C. collaboration
D. class
Answer» B. sequence
Explanation: this diagram is a model describing how groups of objects collaborate in some behavior over time.
17.

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

A. true
B. false
Answer» B. false
Explanation: sequence diagram is responsible for this.
18.

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» C. statechart diagram
Explanation: a statechart diagram shows a state machine, consisting of states, transitions, events, and activities.
19.

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

A. deployment diagram
B. component diagram
C. node diagram
D. er-diagram
Answer» A. deployment diagram
Explanation: a deployment diagram shows the configuration of run-time processing elements and the software components, processes, and objects.
20.

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

A. structural things
B. behavioral things
C. grouping things
D. annotational things
Answer» D. annotational things
Explanation: it include a note which is simply a symbol for rendering constraints and comments attached to an element or a collection of elements.
21.

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» A. association
Explanation: the answer is self explanatory.
22.

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» B. state
Explanation: in a state chart diagram, effects occur when the attribute’s value changes.
23.

Which of the following UML diagrams has a static view?

A. collaboration
B. use case
C. state chart
D. activity
Answer» B. use case
Explanation: a use case diagrams captures only the functionality of the system whereas a dynamic model/view captures the functions as well as the action.
24.

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» D. object diagram
Explanation: an object diagram focuses on some particular set of object instances and attributes, and the links between the instances. it is a static snapshot of a dynamic view of the system.
25.

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» A. sequence diagram + collaboration diagram
Explanation: interaction diagram are used to formalize the dynamic behavior of the system.
26.

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

A. true
B. false
Answer» A. true
Explanation: since structure diagrams represent the structure they are used extensively in documenting the architecture of software systems
27.

h of the following diagram is time oriented?

A. collaboration
B. sequence
C. activity
Answer» B. sequence
Explanation: a sequence diagrams timeline along which tasks are completed
28.

How many diagrams are here in Unified Modelling Language?

A. six
B. seven
C. eight
D. nine
Answer» D. nine
Explanation: the nine uml diagrams include use-case, sequence, collaboration, activity, state-chart, deployment, class, object and component.
29.

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» D. developing a debugging system
Explanation: the debugging system is a part of testing phase.
30.

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» B. interaction model
Explanation: the answer is self explanatory.
31.

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» A. system context model
Explanation: the context model of a system may be represented using associations. associations simply show that there are some relationships between the entities involved in the association.
32.

Which of the following come under system control?

A. reconfigure
B. shutdown
C. powersave
D. all of the mentioned
Answer» D. all of the mentioned
Explanation: functionalities are governed by the system.
33.

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» B. scenario-based analysis
Explanation: use a scenario-based analysis where various scenarios of system use are identified and analyzed in turn.
34.

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» D. structural model
Explanation: important relationships that may be documented at this stage are generalization (inheritance) relationships, uses/used-by relationships, and composition relationships.
35.

Which model shows the flow of object interactions?

A. sequence model
B. subsystem model
C. dynamic model
D. both sequence and dynamic model
Answer» A. sequence model
Explanation: sequence model are represented using a uml sequence or a collaboration diagram and are dynamic models
36.

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» D. all of the mentioned
Explanation: a restart() message causes a transition to normal operation. both the powersave() and reconfigure() messages cause a transition to a state in which the system reconfigures itself.
37.

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» D. reportstatus()
Explanation: the answer is self explanatory.
38.

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

A. true
B. false
Answer» A. true
Explanation: this means that many people can propose changes and improvements to the software.
39.

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» D. none of the mentioned
Explanation: all the options are covered in analysis model.
40.

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» B. process specification
Explanation: the answer is self explanatory.
41.

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» B. state transition diagram
Explanation: the state transition diagram represents the various modes of behavior (called states) of the system and the manner in which transitions are made from state to state.
42.

A data model contains

A. data object
B. attributes
C. relationships
D. all of the mentioned
Answer» D. all of the mentioned
Explanation: the data object,
43.

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» A. modality
Explanation: the modality is 1 if an occurrence of the relationship is mandatory, else 0 for optional relationship.
44.

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» B. state transition diagram
Explanation: the basic form of a data flow diagram, also known as a data flow graph or a bubble chart.
45.

. 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» A. true
Explanation: standard flow of condition check.
46.

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» A. data flow diagram
Explanation: as the dfd is refined into greater levels of detail, the analyst performs an implicit functional decomposition of the system,
47.

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» C. control specification
Explanation: the control specification(cspec) describes the behavior of the system, but it gives us no information about
48.

.Which of the following is not a construct?

A. sequence
B. condition
C. repetition
D. selection
Answer» D. selection
Explanation: sequence implements processing steps that are essential in the specification of any algorithm.
49.

.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» D. all of the mentioned
Explanation: a decision table includes action stub and a condition stub with a set of rules.
50.

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» A. data representation
Explanation: the answer is self explanatory.

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.