Explore topic-wise MCQs in Master of Science in Computer Science (M.Sc CS).

This section includes 104 Mcqs, each offering curated multiple-choice questions to sharpen your Master of Science in Computer Science (M.Sc CS) knowledge and support exam preparation. Choose a topic below to get started.

51.

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

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

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

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

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

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

. Which of the following is not a construct?

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

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

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

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

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

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

. A data model contains

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

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

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

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

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

A. true
B. false
Answer» B. false
68.

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

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

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

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

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

. Which of the following come under system control?

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

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

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

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

. How many diagrams are here in Unified Modelling Language?

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

. h of the following diagram is time oriented?

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

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

A. true
B. false
Answer» B. false
80.

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

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

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

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

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

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

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

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

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

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

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

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

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

. Which things are dynamic parts of UML models?

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

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

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

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

. Classes and interfaces are a part of

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

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

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

. Referring to the attached diagram, the arrow indicates:

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

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

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

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

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

. 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