Quiznetik

Software Design Modeling (SDM) | Set 3

1. What is a deployment view of a software architecture?

Correct : C. a view of the physical configuration in terms of nodes and interconnections

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

Correct : D. broker

3. Which of the following pattern is the basis of interaction management in many web-based systems?

Correct : B. model-view-controller

4. Which view in architectural design shows the key abstractions in the system as objects or object classes?

Correct : C. logical

5. What is a database wrapper class?

Correct : C. a class that encapsulates the details of how to access data in a database

6. What is an object broker?

Correct : D. an object that mediates interactions between clients and services

7. What does a connector join?

Correct : C. the required port of one component to the provided port of another component

8. What is an event-driven input task?

Correct : C. a task that receives inputs from an external device when it generates interrupts

9. Which of the following is NOT a case of event synchronization?

Correct : D. user event

10. Which of the following type describes application architectures?

Correct : D. transaction processing applications and language processing systems

11. What two categories of stereotypes are used in modeling SPL classes?

Correct : D. reuse and application role stereotypes

12. A producer sends a message to a consumer. Which one of the following is asynchronous message communication?

Correct : B. the producer does not wait for a response from the consumer.

13. Which of the following is not included in Architectural design decisions?

Correct : D. testing the system

14. What happens in a Layers of Abstraction pattern?

Correct : A. each layer uses services in the layer immediately below it.

15. How is Multiple Client/Multiple Service architectural pattern different from a Multiple Client/Single Service architectural pattern?

Correct : D. a service can respond to requests from multiple clients.

16. In a SOA, which of the following is NOT true?

Correct : A. a client communicates with a specific service provided on a fixed server configuration.

17. What does a component interface consist of?

Correct : A. the externally visible operations of a component

18. What is broadcast message communication?

Correct : C. a message sent to all recipients

19. Which of the following is true for a Hierarchical Control architectural pattern?

Correct : C. it provides overall control by coordinating several control components.

20. What is a software product line(SPL) C12?

Correct : A. a family of systems with some common components and some variable components

21. What happens in a Call/Return pattern?

Correct : B. a calling operation in the calling object invokes an operation (a.k.a. method) in the called object.

22. When designing an entity class as a relational table, which of the following is NOT true?

Correct : A. the relational table has multiple primary keys.

23. With a Negotiation pattern, which of the following is NOT true?

Correct : D. the service agent can offer a service in response to a client agent request.

24. Yellow pages brokering is useful when a service requester:

Correct : B. knows the type of service required but not the specific service

25. What is the difference between an active object and a passive object?

Correct : D. an active object has a thread of control; a passive object does not have a thread of control

26. What does the C30software architecture describe?

Correct : C. the overall structure of the software product line

27. How are feature conditions used in a software product line(SPL) C32 state machine?

Correct : A. a guard condition

28. What is a kernel system in a software product line(SPL)?

Correct : B. a member of the spl composed of kernel classes and possibly some default classes

29. Systems that involve interaction with a shared database can be considered as.

Correct : B. transaction-based

30. Which of the following is not real-time architectural patterns that are commonly used?

Correct : A. asynchronous communication

31. Which diagram shows the configuration of run-time processing elements of the system? Select one:

Correct : C. component diagram

32. In two-tier client/server architecture,the running of application programs and the user interface programs is in control of

Correct : B. client side

33. One of the fundamental characteristics of service-oriented architecture is

Correct : A. business-driven

34. There are two basic types of service-oriented solution logic:

Correct : C. service ,service compositions

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

Correct : B. broker

36. System’s ability to continuously provide correct service without any failure, is called

Correct : B. reliability

37. Layered architecture style is best suited to develop the software applications which require

Correct : A. the components to be easily replaceable

38. —————- pattern facilitates accessing shared resources and services for large numbers of distributed distributed clients.

Correct : C. data server

39. —————– pattern suggests a solution in which components interact with via announced messages or events.

Correct : D. publish subscribe

40. Adding an intermediate component between two interacting modules in an application will improve:

Correct : D. modifiability of the system

41. ————- pattern splits system into a number of computationally independent execution structures to achieve optimized usage of resources.

Correct : B. multi tier

42. ————— pattern defines a runtime component that mediates the communication between a number of clients and servers.

Correct : C. broker

43. ————– pattern describes a collection of distributed components that provide and/or consume the services.

Correct : D. soa

44. Architecture of software is based on?

Correct : D. requirements

45. Which one of the following are correct statements?

Correct : C. an architecture is foremost an abstraction of a system that suppresses details of the components that do not affect how they are used

46. Which of the statements truly concludes client and server relation with architectural styles?

Correct : A. they are component types and their coordination is described in terms of protocols that server uses to communicate with each of its clients

47. What is a use case?

Correct : B. a sequence of interactions between the user and the system

48. What is a primary actor?

Correct : B. the actor that starts the use case

49. What can an inclusion use case be used for?

Correct : D. to describe a use case that includes other use cases

50. What is a boundary object?

Correct : C. an object that communicates with an external object

51. What is a business logic object?

Correct : B. an object that defines business specific application logic

52. In Noun Phrase Approach- Nouns in the textual description are considered to be classes and verbs to be methods of classes.

Correct : A. true

53. The relationship among objects is based on ___.

Correct : D. all of above.

54. A unary association, also referred to as a self-association.

Correct : A. true

55. A constraint specifies a condition or restriction that must be true.

Correct : A. true

56. Composition and aggregations are special forms of a relationship in which classes are connected by the ____________.

Correct : D. whole/part relationship.

57. An actor can also be an external system that either initiates or participates in the use case.

Correct : A. true

58. Each sequence through the use case is called a ____________

Correct : B. scenario

59. Dependencies between use cases can be defined by using _______________

Correct : C. both 1 & 2

60. An inclusion use case is usually abstract.

Correct : A. true

61. UML diagram that shows the interaction between users and system, is known as

Correct : A. use case diagram

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

Correct : B. use case

63. Multiplicity for an association ___________.

Correct : A. is the number of instances with a single instance

64. Main parts of a use case scenario _________________

Correct : D. all of the above

65. ________________represents a piece of information that is relevant to the description of the class.

Correct : A. attributes

66. Two classes that express the same information is known as ______________

Correct : B. redundant classes

67. The relationship among objects is based on _______________

Correct : D. all of the above

68. Multiplicity of Associations are __________________

Correct : D. optional association,1 & 2

69. A unary association is an association between an object of one class and another object in the same class.

Correct : A. true

70. A constraint specifies a condition or restriction that must be false.

Correct : B. false

71. "UML also provides a constraint language known as _______________"

Correct : B. object constraint language (ocl)

72. _________________ allows us to infer that different members of classes have some common characteristics.

Correct : C. generalization

73. ___________ classes are used to create the interface that the user sees and interacts with as the software is used.

Correct : C. boundary

74. ________ diagrams are used to illustrate data structures, and the static snapshots instances of the things found in the class diagrams.

Correct : B. object

75. Forward engineering and reverse engineering can be applicable to ________

Correct : A. class diagram

76. Which of the following diagram is used to model the vocabulary of a system?

Correct : C. class diagram

77. Forward engineering of an ________ is theoretically possible but programmatically o limited value.

Correct : A. object diagram

78. Class diagrams are not useful to ________

Correct : C. model simple interactions

79. Forward engineering in UML is the process of transforming ________

Correct : C. a model into a code

80. A use-case____________ represents how a use case will be implemented in terms of collaborating objects.

Correct : A. realization

81. For each use-case realization, there may be one or more class diagrams that depict its participating classes.

Correct : A. true

82. The reason for separating the use-case realization from its use case is ________________.

Correct : B. allows the requirements, in the form of use cases.

83. Find incorrect about Use Case.

Correct : D. operations

84. Use case diagrams can be used for ________________.

Correct : D. all of above.

85. UML use case diagrams are ideal for __________________

Correct : D. all of above.

86. Purpose of Class Diagrams ___________

Correct : D. all of above.

87. ________________ is a special type of aggregation where parts are destroyed when the whole is destroyed.

Correct : A. composition

88. An operation can be described as?

Correct : D. object & class behavior

89. Which of these are part of the class operation specification format?

Correct : D. all of the mentioned

90. Which among these are the rules to be considered to form Class diagrams?

Correct : A. class symbols must have at least a name compartment

91. Which of these are the heuristics?

Correct : D. all of the mentioned

92. __________ represented by In UML diagrams, relationship between component parts and object.

Correct : B. aggregation

93. A ____________ is a blueprint for an object.

Correct : B. class

94. The purpose of class diagram is to model the static view of an application.

Correct : A. true

95. Class diagrams are used for ______________

Correct : D. all of above.

96. Class diagrams are used to construct the executable code for forward and reverse engineering of any system.

Correct : A. true

97. Abstraction has ______ types.

Correct : D. 4

98. To hide the internal implementation of an object we use …

Correct : B. encapsulation

99. The vertcal dimension of a sequence diagram shows

Correct : C. time

100. CRC approach and noun phrase approach are used to identify …

Correct : A. classes