MCQOPTIONS
Saved Bookmarks
This section includes 458 Mcqs, each offering curated multiple-choice questions to sharpen your Computer Science Engineering (CSE) knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Yellow pages brokering is useful whena service requester: |
| A. | needs to discover the location ofthe service |
| B. | knows the type of service requiredbut not the specific service |
| C. | knows the specific service requiredbut not the type of service |
| D. | needs to discover the broker |
| Answer» C. knows the specific service requiredbut not the type of service | |
| 52. |
“An administrator wants to run different parts of the application in different systems, and also the system needs to exchange, add and remove the components at run-time.” Which one of the following architecture patterns will be most suitable in the context given above? |
| A. | mvc |
| B. | broker |
| C. | blackboard |
| D. | pipe and filter |
| Answer» C. blackboard | |
| 53. |
With a Negotiation pattern, which ofthe following is NOT true? |
| A. | the client agent can propose a service. |
| B. | the service agent can offer a servicein response to a client agentproposal. |
| C. | the client agent can request a service. |
| D. | the service agent can offer a servicein response to a client agentrequest. |
| Answer» E. | |
| 54. |
UML activity diagrams are useful in representing which analysis model elements? |
| A. | behavioral elements |
| B. | class-based elements |
| C. | flow-based elements |
| D. | scenario-based |
| Answer» E. | |
| 55. |
________ is used to represent concurrent flows in an Activity Diagram |
| A. | slide bar?? |
| B. | synchronization bar?? |
| C. | swim lane?? |
| D. | branch |
| Answer» C. swim lane?? | |
| 56. |
Objects placed in an Activity Diagram are connected to the activity or transition using ________ relationship |
| A. | association |
| B. | generalization |
| C. | dependency |
| D. | realization |
| Answer» B. generalization | |
| 57. |
________Â is a path from one activity state to the next activity state. |
| A. | action state |
| B. | activity state |
| C. | transition |
| D. | fork |
| Answer» D. fork | |
| 58. |
Executable atomic computations are called as ________ |
| A. | action states?? |
| B. | activity states |
| C. | composite states?? |
| D. | concurrent states |
| Answer» B. activity states | |
| 59. |
________Â uses the services of the system under design to fulfill the goals. |
| A. | primary actor?? |
| B. | supporting actor?? |
| C. | offstage actor?? |
| D. | secondary actor |
| Answer» B. supporting actor?? | |
| 60. |
A ________Â is a stream of messages exchanged between objects |
| A. | sequence?? |
| B. | modeling |
| C. | transition?? |
| D. | objects |
| Answer» B. modeling | |
| 61. |
An ________ shows an interaction consisting of a set of objects and their relationships, including the messages. |
| A. | interaction diagram?? |
| B. | class diagram?? |
| C. | use case diagram?? |
| D. | activity diagram |
| Answer» B. class diagram?? | |
| 62. |
________Â diagram illustrates use case realizations. |
| A. | sequence |
| B. | class |
| C. | use case |
| D. | activity?? |
| Answer» B. class | |
| 63. |
Which of the following doesn't include in message types? |
| A. | call?? |
| B. | return |
| C. | send?? |
| D. | delete |
| Answer» E. | |
| 64. |
Interaction diagrams are of ________ types. |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» C. 3 | |
| 65. |
________Â Â are used to model the dynamic aspects of collaborations. |
| A. | sequence diagrams?? |
| B. | structural |
| C. | interactions?? |
| D. | messages?? |
| Answer» D. messages?? | |
| 66. |
A set of messages exchanged among a set of objects is called as ________ |
| A. | use case?? |
| B. | activity |
| C. | interaction |
| D. | deployment |
| Answer» D. deployment | |
| 67. |
Sequence of messages is emphasized by ________ diagram. |
| A. | state chart?? |
| B. | sequence?? |
| C. | activity?? |
| D. | collaboration |
| Answer» C. activity?? | |
| 68. |
________Â specifies a path to send and receive messages between two objects |
| A. | link |
| B. | sequencing |
| C. | object |
| D. | role |
| Answer» B. sequencing | |
| 69. |
which diagram is used to show interactions between messages are classified as? |
| A. | activity |
| B. | state chart |
| C. | collaboration |
| D. | object lifeline |
| Answer» D. object lifeline | |
| 70. |
___________diagram is time-oriented? |
| A. | collaboration |
| B. | sequence |
| C. | activity |
| D. | use case |
| Answer» C. activity | |
| 71. |
which term are combined Interaction Diagram? |
| A. | sequence diagram + collaboration diagram |
| B. | activity diagram + state chart diagram |
| C. | deployment diagram + collaboration diagram |
| D. | activity diagram + deployment diagram |
| Answer» B. activity diagram + state chart diagram | |
| 72. |
________Â can model the behavior of an individual object. |
| A. | class |
| B. | use case?? |
| C. | state machine?? |
| D. | activity?? |
| Answer» D. activity?? | |
| 73. |
A ______ is a behaviour that specifies the sequence of states, an object goes through during its life time in reponse to an events. |
| A. | class |
| B. | state machine?? |
| C. | use case?? |
| D. | activity?? |
| Answer» C. use case?? | |
| 74. |
A ________Â Â is a condition during the life of an object during which it satisfies performs some activity or waits for some event |
| A. | class |
| B. | state |
| C. | actor |
| D. | component |
| Answer» C. actor | |
| 75. |
A ________Â is a relationship between two states indicating that an object in the first s will enter the second state |
| A. | transition |
| B. | state |
| C. | association?? |
| D. | generalization |
| Answer» C. association?? | |
| 76. |
________Â is the state that is active after completion of the transition. |
| A. | composite state?? |
| B. | history state?? |
| C. | target state?? |
| D. | source state?? |
| Answer» D. source state?? | |
| 77. |
A The relationship between two states is called ________ |
| A. | transition |
| B. | state |
| C. | association |
| D. | generalization |
| Answer» B. state | |
| 78. |
________Â Â are handled without causing a change in state. |
| A. | transitions |
| B. | events?? |
| C. | signals?? |
| D. | state |
| Answer» B. events?? | |
| 79. |
The state diagram |
| A. | depicts relationships between data objects |
| B. | depicts functions that transform the data |
| C. | indicates how data are transformed by the system |
| D. | indicates system reactions to external events |
| Answer» E. | |
| 80. |
Which of the following component is used to clarify which actor performs which activity in an activity diagram? |
| A. | forks |
| B. | joins |
| C. | swimlanes |
| D. | state |
| Answer» D. state | |
| 81. |
Which of the following is type of UML diagram? |
| A. | collaboration |
| B. | context |
| C. | user interface |
| D. | er diagram |
| Answer» B. context | |
| 82. |
If the system is performing no function then it is in ___ |
| A. | clear state |
| B. | initial state |
| C. | final state |
| D. | reset state |
| Answer» C. final state | |
| 83. |
In a sequence diagram, the _____ indicates when an object sends or receives a message |
| A. | command line |
| B. | focus |
| C. | request link |
| D. | lifeline |
| Answer» D. lifeline | |
| 84. |
Fork and Join terms are associated with |
| A. | activity diagram |
| B. | use case diagram |
| C. | class diagram |
| D. | object diagram |
| Answer» B. use case diagram | |
| 85. |
Which diagram is a special form of Sequence diagram? |
| A. | timing diagram |
| B. | class diagram?? |
| C. | object diagram |
| D. | use case diagram |
| Answer» B. class diagram?? | |
| 86. |
Which UML diagram shows the objects participating in the interaction by their links to each other and the messages that they send to each other |
| A. | class |
| B. | objects |
| C. | activity |
| D. | collaboration |
| Answer» E. | |
| 87. |
Which diagram is used to explore the behaviors of objects throughout a given period of time |
| A. | timing diagram |
| B. | class diagram?? |
| C. | object diagram |
| D. | object diagram |
| Answer» B. class diagram?? | |
| 88. |
An operation can be described as__________. |
| A. | ??object |
| B. | class |
| C. | functions |
| D. | object & class |
| Answer» E. | |
| 89. |
Select the diagram that is used to model the vocabulary of a system. |
| A. | object diagram |
| B. | activity diagram |
| C. | both a and b |
| D. | class diagram |
| Answer» E. | |
| 90. |
Select where the class diagrams are not convenient |
| A. | ??simple interactions model |
| B. | the vocabulary of a system model |
| C. | simple collaborations model |
| D. | ??logical database schema model |
| Answer» D. ??logical database schema model | |
| 91. |
Select the view which is shown by object Object diagram. |
| A. | logical |
| B. | ??dynamic |
| C. | static |
| D. | process |
| Answer» D. process | |
| 92. |
designers look for candidate classes ?why? |
| A. | to model entities in charge of or involved in program tasks |
| B. | to model things in the world that interact directly with the program |
| C. | to model structures and collections of objects |
| D. | all of the mentioned |
| Answer» E. | |
| 93. |
Which of the following is followed for Evaluating and Selecting Candidate Classes? |
| A. | discard classes with vague names or murky responsibilities |
| B. | ??discard classes will not do something out of scope |
| C. | ??look for actors |
| D. | all of the mentioned |
| Answer» B. ??discard classes will not do something out of scope | |
| 94. |
_______ is a physical element that exists at runtime and represents a computational resource. |
| A. | node?? |
| B. | actor?? |
| C. | ??name?? |
| D. | object & class |
| Answer» B. actor?? | |
| 95. |
 Associations ________ |
| A. | may exist only between actors and use cases?? |
| B. | identify the flow of data between actors and use cases?? |
| C. | identify interactions between actors and use cases?? |
| D. | identify dependencies between actors and use cases?? |
| Answer» D. identify dependencies between actors and use cases?? | |
| 96. |
The CRC modeling primarily requires |
| A. | identifying classes and their responsibilities |
| B. | )identifying collaborators of each class and their responsibilities |
| C. | developing a collaboration graph |
| D. | all of the mentioned |
| Answer» E. | |
| 97. |
The expansion of the acronym CRC is |
| A. | collecting responsibilities classes |
| B. | collaborating with relevant classes |
| C. | class responsibilities and collaborators |
| D. | creating relevant classes |
| Answer» D. creating relevant classes | |
| 98. |
Object-oriented system modelling using CRC method gives |
| A. | java programs for the system |
| B. | c++ programs for the system |
| C. | classes of the system, their responsibilities and collaborating classes |
| D. | objective c programs for the system |
| Answer» D. objective c programs for the system | |
| 99. |
The association stereotype «Extends» indicates ___ |
| A. | delegation of part of a task to another use case?? |
| B. | the target use case is a subprocess of the source use cases?? |
| C. | a specialized form of a use case?? |
| D. | a deviation from the uml standard?? |
| Answer» D. a deviation from the uml standard?? | |
| 100. |
Consider the code below, class class1{ public: void func1(); }; class class2 : protected class1 { }; Function func1 of class1 is ______ in class2 |
| A. | public |
| B. | private |
| C. | protected |
| D. | none of these |
| Answer» B. private | |