

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.
1. |
_______ 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?? | |
2. |
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?? | |
3. |
Forward engineering and reverse engineering can be applicable to _____ |
A. | class diagram?? |
B. | stereotypes?? |
C. | tagged values?? |
D. | adornments |
Answer» B. stereotypes?? | |
4. |
During the design phase, the overall ———— of the system is described. |
A. | architecture |
B. | system flow |
C. | data flow |
D. | none |
Answer» B. system flow | |
5. |
The vertical dimension of a sequence diagram shows |
A. | abstract |
B. | line |
C. | time |
D. | messages |
Answer» D. messages | |
6. |
________ are handled without causing a change in state. |
A. | transitions |
B. | events?? |
C. | signals?? |
D. | state |
Answer» B. events?? | |
7. |
________ 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?? | |
8. |
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?? | |
9. |
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 | |
10. |
________ can model the behavior of an individual object. |
A. | class |
B. | use case?? |
C. | state machine?? |
D. | activity?? |
Answer» D. activity?? | |
11. |
________ specifies a path to send and receive messages between two objects |
A. | link |
B. | sequencing |
C. | object |
D. | role |
Answer» B. sequencing | |
12. |
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 | |
13. |
________ are used to model the dynamic aspects of collaborations. |
A. | sequence diagrams?? |
B. | structural |
C. | interactions?? |
D. | messages?? |
Answer» D. messages?? | |
14. |
________ diagram illustrates use case realizations. |
A. | sequence |
B. | class |
C. | use case |
D. | activity?? |
Answer» B. class | |
15. |
A ________ is a stream of messages exchanged between objects |
A. | sequence?? |
B. | modeling |
C. | transition?? |
D. | objects |
Answer» B. modeling | |
16. |
________ 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?? | |
17. |
Executable atomic computations are called as ________ |
A. | action states?? |
B. | activity states |
C. | composite states?? |
D. | concurrent states |
Answer» B. activity states | |
18. |
________ 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 | |
19. |
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 | |
20. |
What is the difference between anactive object and a passive object? |
A. | an active object controls a passiveobject. |
B. | an active object does not have athread of control; a passive objecthas a thread of control. |
C. | an active object executes in a distributedsystem; a passive objectexecutes in a centralized system. |
D. | an active object has a thread ofcontrol; a passive object does nothave a thread of control |
Answer» E. | |
21. |
What is a deployment view of a softwarearchitecture? |
A. | a static view in terms of a modulehierarchy |
B. | a static view in terms of componentsand connectors |
C. | a view of the physical configurationin terms of nodes and interconnections |
D. | a dynamic interaction view interms of objects and messages |
Answer» D. a dynamic interaction view interms of objects and messages | |
22. |
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 | |
23. |
Aggregation is … |
A. | set of relationship |
B. | composed of relationship |
C. | part of relationship |
D. | all of these |
Answer» C. part of relationship | |
24. |
Group of functionally related objects is … |
A. | concatenation |
B. | cohesion |
C. | coupling |
D. | all of these |
Answer» C. coupling | |
25. |
—————– pattern suggests a solution in which components interact with via announced messages or events. |
A. | newspaper |
B. | librarian |
C. | bookkeeper |
D. | publish subscribe |
Answer» E. | |
26. |
What does a component interface consistof? |
A. | the externally visible operations ofa component |
B. | the operations provided by a component |
C. | the operations required by a component |
D. | the operations that a componentsupports |
Answer» B. the operations provided by a component | |
27. |
A producer sends a message to a consumer.Which one of the following isasynchronous message communication? |
A. | the producer waits for a responsefrom the consumer. |
B. | the producer does not wait for aresponse from the consumer. |
C. | the producer goes to sleep. |
D. | the producer waits for a timeout. |
Answer» C. the producer goes to sleep. | |
28. |
Which of the following is NOT a case ofevent synchronization? |
A. | external event |
B. | internal event |
C. | timer event |
D. | user event |
Answer» E. | |
29. |
Which GOF design pattern is applied in the code snippet below?public class PrintSpooler {private static final PrintSpooler INSTANCE = new PrintSpooler();private PrintSpooler() {}public static PrintSpooler getInstance() {return INSTANCE;}} |
A. | printspooler design pattern |
B. | singleton design pattern |
C. | factory design pattern |
D. | abstract singleton design pattern |
Answer» C. factory design pattern | |
30. |
What happens in a Layers of Abstractionpattern? |
A. | each layer uses services in the layerimmediately below it. |
B. | each layer uses services in the layerimmediately above it. |
C. | each layer uses services in the layersimmediately above it and belowit. |
D. | each layer is independent of theother layers. |
Answer» B. each layer uses services in the layerimmediately above it. | |
31. |
When designing an entity class as a relationaltable, which of the following isNOT true? |
A. | the relational table has multipleprimary keys. |
B. | the relational table has multipleforeign keys. |
C. | the relational table has a primarykey. |
D. | the relational table has a concatenatedprimary key. |
Answer» B. the relational table has multipleforeign keys. | |
32. |
To hide the internal implementation of an object we use … |
A. | inheritance |
B. | encapsulation |
C. | polymorphism |
D. | none of these |
Answer» C. polymorphism | |
33. |
What two categories of stereotypes areused in modeling SPL classes? |
A. | kernel and optional stereotypes |
B. | optional and variant stereotypes |
C. | common and variant stereotypes |
D. | reuse and application role stereotypes |
Answer» E. | |
34. |
—————- pattern facilitates accessing shared resources and services for large numbers of distributed distributed clients. |
A. | web server |
B. | client server |
C. | data server |
D. | proxy server |
Answer» D. proxy server | |
35. |
————- pattern splits system into a number of computationally independent execution structures to achieve optimized usage of resources. |
A. | layers |
B. | multi tier |
C. | agent |
D. | broker |
Answer» C. agent | |
36. |
The time oriented diagram include … |
A. | sequence |
B. | classes |
C. | activity |
D. | none of these |
Answer» B. classes | |
37. |
Which of the following is true for aHierarchical Control architectural pattern? |
A. | control is divided among variouscontrol components. |
B. | it provides overall control over severalclient subsystems. |
C. | it provides overall control by coordinatingseveral control components. |
D. | it provides overall control over variousi/o objects. |
Answer» D. it provides overall control over variousi/o objects. | |
38. |
Abstraction provide an operation named as … |
A. | encapsulation |
B. | call back |
C. | turndown |
D. | inheritance |
Answer» C. turndown | |
39. |
System’s ability to continuously provide correct service without any failure, is called |
A. | performance |
B. | reliability |
C. | security |
D. | availability |
Answer» C. security | |
40. |
Which GRASP pattern helps to find out answer for “Who should be responsible for creating a new instance of some class?" |
A. | adapter |
B. | protected variations |
C. | creator |
D. | controller |
Answer» D. controller | |
41. |
————— pattern defines a runtime component that mediates the communication between a number of clients and servers. |
A. | proxy |
B. | middleware |
C. | broker |
D. | load balancer |
Answer» D. load balancer | |
42. |
In a client-server model where ‘n clients’ are sending request or receiving data from ‘m servers’. There are ‘x intermediate servers’ present which re-route the request (coming from Clients) to appropriate server based on the type of request. The intermediate server also returns the response to the client user-interface. What is the role of the intermediate server here? |
A. | blackboard |
B. | pipe |
C. | controller or model |
D. | broker |
Answer» E. | |
43. |
Given the following scenario:You want to create families of related objects, to be used interchangeably to configure you application. What is most appropriate GoF pattern to use? |
A. | chain of responsibility |
B. | abstract factory |
C. | builder |
D. | observer |
Answer» C. builder | |
44. |
How are feature conditions used in a software product line(SPL) C32 state machine? |
A. | a guard condition |
B. | a condition that is true or false |
C. | to identify if a feature is selected ornot in the state machine |
D. | to allow state machine inheritance |
Answer» B. a condition that is true or false | |
45. |
What does the C30software architecturedescribe? |
A. | the software inside a family ofbuildings |
B. | the structure of a client/server productfamily |
C. | the overall structure of the softwareproduct line |
D. | the software product line classesand their relationships |
Answer» D. the software product line classesand their relationships | |
46. |
Which of the following term is best defined by the statement:”The client sends structured query language (SQL) requests to the server which are transmitted as messages across the net”? |
A. | file servers |
B. | database servers |
C. | client servers |
D. | high end servers |
Answer» C. client servers | |
47. |
Cohesion and coupling are represented by using … |
A. | structure part |
B. | structure effect |
C. | dependence matrix |
D. | all of these |
Answer» D. all of these | |
48. |
CRC approach and noun phrase approach are used to identify … |
A. | classes |
B. | colaborators |
C. | use cases |
D. | object |
Answer» B. colaborators | |
49. |
How is Multiple Client/Multiple Servicearchitectural pattern different from aMultiple Client/Single Service architecturalpattern? |
A. | a service can receive requests frommultiple clients. |
B. | a client can send requests to multipleservices. |
C. | a client can send requests to other clients. |
D. | a service can respond to requestsfrom multiple clients. |
Answer» E. | |
50. |
————– pattern describes a collection of distributed components that provide and/or consume the services. |
A. | client server |
B. | broker |
C. | p2p |
D. | soa |
Answer» E. | |