0% found this document useful (0 votes)
42 views

Software-Design-Modeling (Set 3)

Uploaded by

Girraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Software-Design-Modeling (Set 3)

Uploaded by

Girraj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Software Design Modeling (SDM)

3 of 5 sets

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


A. a static view in terms of a module hierarchy
B. a static view in terms of components and connectors
C. a view of the physical configuration in terms of nodes and interconnections
D. a dynamic interaction view in terms of objects and messages
Answer:C

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

o m
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?
. c
A. blackboard
te
B. pipe a
C. controller or model
q M
D. broker c
Answer:D M
203. Which of the following pattern is the basis of interaction management in many
web-based systems?
A. architecture
B. model-view-controller
C. repository pattern
D. different operating system
Answer:B

204. Which view in architectural design shows the key abstractions in the system as
objects or object classes?
A. physical
B. development
C. logical
D. process
Answer:C

205. What is a database wrapper class?


A. a class that encapsulates a data structure
B. a class that encapsulates a database
C. a class that encapsulates the details of how to access data in a database
D. a class that encapsulates a relational table
Answer:C

206. What is an object broker?


A. an object that breaks into a system
B. an object that sends requests to other objects
C. an object that handles requests sent by other objects
D. an object that mediates interactions between clients and services
Answer:D

207. What does a connector join?


A. the provided port of one component to the required port of another component
B. the provided port of one component to the provided port of another component
C. the required port of one component to the provided port of another component
D. the required port of one component to the required port of another component
Answer:C

208. What is an event-driven input task?


A. a task that executes every few seconds
B. a task that controls other tasks
C. a task that receives inputs from an external device when it generates interrupts
D. a task that checks whether there is new input from an external device
Answer:C

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


A. external event
B. internal event
C. timer event

View all MCQ's at McqMate.com


D. user event
Answer:D

210. Which of the following type describes application architectures?


A. transaction processing applications
B. language processing systems
C. client management systems
D. transaction processing applications and language processing systems
Answer:D

211. What two categories of stereotypes are used 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:D

212. A producer sends a message to a consumer.


Which one of the following is
asynchronous message communication?
A. the producer waits for a response from the consumer.
B. the producer does not wait for a response from the consumer.
C. the producer goes to sleep.
D. the producer waits for a timeout.
Answer:B

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


A. type of application
B. distribution of the system
C. architectural styles
D. testing the system
Answer:D

214. What happens in a Layers of Abstraction pattern?


A. each layer uses services in the layer immediately below it.
B. each layer uses services in the layer immediately above it.

View all MCQ's at McqMate.com


C. each layer uses services in the layers immediately above it and below it.
D. each layer is independent of the other layers.
Answer:A

215. How is Multiple Client/Multiple Service


architectural pattern different from a
Multiple Client/Single Service architectural
pattern?
A. a service can receive requests from multiple clients.
B. a client can send requests to multiple services.
C. a client can send requests to other clients.
D. a service can respond to requests from multiple clients.
Answer:D

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


A. a client communicates with a specific service provided on a fixed server configuration.
B. a client discovers and links to a service.
C. multiple clients communicate with a service.
D. standard protocols are provided to allow clients to communicate with services.
Answer:A

217. What does a component interface consist of?


A. the externally visible operations of a component
B. the operations provided by a component
C. the operations required by a component
D. the operations that a component supports
Answer:A

218. What is broadcast message communication?


A. a message sent to several recipients
B. a message sent to a specific recipient
C. a message sent to all recipients
D. a message sent to recipients who are members of a group
Answer:C

View all MCQ's at McqMate.com


219. Which of the following is true for a Hierarchical Control architectural
pattern?
A. control is divided among various control components.
B. it provides overall control over several client subsystems.
C. it provides overall control by coordinating several control components.
D. it provides overall control over various i/o objects.
Answer:C

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


A. a family of systems with some common components and some variable components
B. an assembly line
C. a family of identical systems
D. the software products marketed by a company
Answer:A

221. What happens in a Call/Return pattern?


A. a calling operation in the calling object sends a message to an operation (a.k.a. method) in the
called object.
B. a calling operation in the calling object invokes an operation (a.k.a. method) in the called
object.
C. the calling object waits for a response from the called object.
D. the calling object does not wait for a response from the called object.
Answer:B

222. When designing an entity class as a relational


table, which of the following is
NOT true?
A. the relational table has multiple primary keys.
B. the relational table has multiple foreign keys.
C. the relational table has a primary key.
D. the relational table has a concatenated primary key.
Answer:A

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


A. the client agent can propose a service.
B. the service agent can offer a service in response to a client agent proposal.

View all MCQ's at McqMate.com


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

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


A. needs to discover the location of the service
B. knows the type of service required but not the specific service
C. knows the specific service required but not the type of service
D. needs to discover the broker
Answer:B

225. What is the difference between an active object and a passive object?
A. an active object controls a passive object.
B. an active object does not have a thread of control; a passive object has a thread of control.
C. an active object executes in a distributed system; a passive object executes in a centralized
system.
D. an active object has a thread of control; a passive object does not have a thread of control
Answer:D

226. What does the C30software architecture describe?


A. the software inside a family of buildings
B. the structure of a client/server product family
C. the overall structure of the software product line
D. the software product line classes and their relationships
Answer:C

227. 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 or not in the state machine
D. to allow state machine inheritance
Answer:A

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


A. a member of the spl only composed of kernel classes

View all MCQ's at McqMate.com


B. a member of the spl composed of kernel classes and possibly some default classes
C. a member of the spl composed of kernel classes and possibly some optional classes
D. a member of the spl composed of kernel classes and possibly some entity classes
Answer:B

229. Systems that involve interaction with a shared database can be considered as.
A. software-based
B. transaction-based
C. server-based
D. client-based
Answer:B

230. Which of the following is not real-time architectural patterns that are
commonly used?
A. asynchronous communication
B. observe and react
C. environmental control
D. process pipeline
Answer:A

231. Which diagram shows the configuration of run-time processing elements of


the system? Select one:
A. deployment diagram
B. class diagram
C. component diagram
D. er diagram
Answer:C

232. In two-tier client/server architecture,the running of application programs and


the user interface programs is in control of
A. modulation side
B. client side
C. server side
D. host side
Answer:B

View all MCQ's at McqMate.com


233. One of the fundamental characteristics of service-oriented architecture is
A. business-driven
B. integration-centric
C. inventory-neutral
D. silo-driven
Answer:A

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


A. service,service registries
B. service candidates,service registries
C. service ,service compositions
D. top-down service models,bottom-up service models
Answer:C

235. “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:B

236. System’s ability to continuously provide correct service without any failure, is
called
A. performance
B. reliability
C. security
D. availability
Answer:B

237. Layered architecture style is best suited to develop the software applications
which require
A. the components to be easily replaceable
B. the high security of its data contents

View all MCQ's at McqMate.com


C. the performance quality as a dominant factor
D. information separating as a dominant factor
Answer:A

238. —————- 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:C

239. —————– pattern suggests a solution in which components interact with


via announced messages or events.
A. newspaper
B. librarian
C. bookkeeper
D. publish subscribe
Answer:D

240. Adding an intermediate component between two interacting modules in an


application will improve:
A. security of the system
B. reliability of the system
C. availability of the system
D. modifiability of the system
Answer:D

241. ————- 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:B

View all MCQ's at McqMate.com


242. ————— 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:C

243. ————– pattern describes a collection of distributed components that


provide and/or consume the services.
A. client server
B. broker
C. p2p
D. soa
Answer:D

244. Architecture of software is based on?


A. design
B. neither design nor requirements
C. design and requirements
D. requirements
Answer:D

245. Which one of the following are correct statements?


A. an architecture may or may not defines components
B. an architecture is not dependable on requirements
C. an architecture is foremost an abstraction of a system that suppresses details of the
components that do not affect how they are used
D. an architecture is only dependent on design
Answer:C

246. Which of the statements truly concludes client and server relation with
architectural styles?
A. they are component types and their coordination is described in terms of protocols that server
uses to communicate with each of its clients
B. multiple client cannot exist at an instance

View all MCQ's at McqMate.com


C. architecture are countless for client and server but their architectural styles are different
D. architectures are same
Answer:A

247. What is a use case?


A. a case study involving users
B. a sequence of interactions between the user and the system
C. a sequence of user inputs to the system
D. a sequence of interactions between the user and the objects in the system
Answer:B

248. What is a primary actor?


A. the actor who goes on stage first
B. the actor that starts the use case
C. an actor that participates in the use case
D. an object inside the system
Answer:B

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


A. to describe an inclusive use case
B. to describe a lengthy interaction with an actor
C. to describe functionality that is common to more than one use case
D. to describe a use case that includes other use cases
Answer:D

250. What is a boundary object?


A. an external object
B. an object that stores data
C. an object that communicates with an external object
D. an object that controls other objects
Answer:C

251. What is a business logic object?


A. an object used in business applications.
B. an object that defines business specific application logic

View all MCQ's at McqMate.com


C. the internal logic of an object
D. a business object that determines whether a client request is logical
Answer:B

252. In Noun Phrase Approach- Nouns in the textual description are considered to
be classes and verbs to be methods of classes.
A. true
B. false
Answer:A

253. The relationship among objects is based on ___.


A. assumptions each makes about other objects.
B. operations can be performed.
C. what behavior results.
D. all of above.
Answer:D

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


A. true
B. false
Answer:A

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


A. true
B. false
Answer:A

256. Composition and aggregations are special forms of a relationship in which


classes are connected by the ____________.
A. ternary associations
B. generalization/specialization hierarchy
C. is a relationship
D. whole/part relationship.
Answer:D

View all MCQ's at McqMate.com


257. An actor can also be an external system that either initiates or participates in
the use case.
A. true
B. false
Answer:A

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


A. interaction
B. scenario
C. requirement
D. transaction
Answer:B

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


A. include relationships
B. extend relationships
C. both 1 & 2
D. none of above
Answer:C

260. An inclusion use case is usually abstract.


A. true
B. false
Answer:A

261. UML diagram that shows the interaction between users and system, is known
as
A. use case diagram
B. activity diagram
C. class diagram
D. e-r diagram
Answer:A

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


A. collaboration
B. use case

View all MCQ's at McqMate.com


C. state chart
D. activity
Answer:B

263. Multiplicity for an association ___________.


A. is the number of instances with a single instance
B. is the number of instances with a number instance
C. both 1&2
D. none of the mentioned
Answer:A

264. Main parts of a use case scenario _________________


A. identifiers and initiators
B. the steps performed
C. the conditions, assumptions, and questions
D. all of the above
Answer:D

265. ________________represents a piece of information that is relevant to the


description of the class.
A. attributes
B. operations
C. methods
D. none of the mentioned
Answer:A

266. Two classes that express the same information is known as ______________
A. irrelevant classes
B. redundant classes
C. adjective classes
D. attribute classes
Answer:B

267. The relationship among objects is based on _______________


A. assumptions each makes about other objects.
B. operations can be performed.

View all MCQ's at McqMate.com


C. what behavior results.
D. all of the above
Answer:D

268. Multiplicity of Associations are __________________


A. one-to-one association
B. one-to-many association
C. both 1&2
D. optional association,1 & 2
Answer:D

269. A unary association is an association between an object of one class and


another object in the same class.
A. true
B. false
Answer:A

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


A. true
B. false
Answer:B

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


A. class constraint language (ccl)
B. object constraint language (ocl)
C. uml constraint language
D. none of the mentioned
Answer:B

272. _________________ allows us to infer that different members of classes have


some common characteristics.
A. realization
B. aggregation
C. generalization
D. dependency

View all MCQ's at McqMate.com


Answer:C

273. ___________ classes are used to create the interface that the user sees and
interacts with as the software is used.
A. controller
B. entity
C. boundary
D. business
Answer:C

274. ________ diagrams are used to illustrate data structures, and the static
snapshots instances of the things found in the class diagrams.
A. use case diagram
B. object
C. collaboration
D. sequence
Answer:B

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


A. class diagram
B. stereotypes
C. tagged values
D. adornments
Answer:A

276. Which of the following diagram is used to model the vocabulary of a system?
A. object diagram
B. activity diagram
C. class diagram
D. interaction diagram
Answer:C

277. Forward engineering of an ________ is theoretically possible but


programmatically o limited value.
A. object diagram
B. activity diagram

View all MCQ's at McqMate.com


C. class diagram
D. interaction diagram
Answer:A

278. Class diagrams are not useful to ________


A. model simple collaborations
B. model the vocabulary of a system
C. model simple interactions
D. model a logical database schema
Answer:C

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


A. a code into a model
B. a code into design n
C. a model into a code
D. a model into test
Answer:C

280. A use-case____________ represents how a use case will be implemented in


terms of collaborating objects.
A. realization
B. extend
C. include
D. all of above.
Answer:A

281. For each use-case realization, there may be one or more class diagrams that
depict its participating classes.
A. true
B. false
Answer:A

282. The reason for separating the use-case realization from its use case is
________________.
A. allows the interactions, in the form of use cases
B. allows the requirements, in the form of use cases.

View all MCQ's at McqMate.com


C. allows the physical components, in the form of use cases
D. all of the above
Answer:B

283. Find incorrect about Use Case.


A. actors
B. preconditions
C. basic flow
D. operations
Answer:D

284. Use case diagrams can be used for ________________.


A. requirement analysis and high level design
B. model the context of a system
C. reverse engineering
D. all of above.
Answer:D

285. UML use case diagrams are ideal for __________________


A. defining and organizing functional requirements in a system
B. specifying the context and requirements of a system
C. specifying the context and requirements of a system
D. all of above.
Answer:D

286. Purpose of Class Diagrams ___________


A. shows static structure of classifiers in a system
B. diagram provides a basic notation for other structure diagrams prescribed by uml
C. helpful for developers and other team members too
D. all of above.
Answer:D

287. ________________ is a special type of aggregation where parts are destroyed


when the whole is destroyed.
A. composition
B. complete composition

View all MCQ's at McqMate.com


C. full composition
D. none of above
Answer:A

288. An operation can be described as?


A. object behavior
B. class behavior
C. functions
D. object & class behavior
Answer:D

289. Which of these are part of the class operation specification format?
A. name
B. parameter list
C. return-type list
D. all of the mentioned
Answer:D

290. Which among these are the rules to be considered to form Class diagrams?
A. class symbols must have at least a name compartment
B. compartment can be in random order
C. attributes and operations can be listed at any suitable place
D. none of the mentioned
Answer:A

291. Which of these are the heuristics?


A. name classes, attributes, and roles with noun phrases
B. name operations and associations with verb phrases
C. stick to binary associations
D. all of the mentioned
Answer:D

292. __________ represented by In UML diagrams, relationship between


component parts and object.
A. ordination
B. aggregation

View all MCQ's at McqMate.com


C. segregation
D. increment
Answer:B

293. A ____________ is a blueprint for an object.


A. use case
B. class
C. object
D. state
Answer:B

294. The purpose of class diagram is to model the static view of an application.
A. true
B. false
Answer:A

295. Class diagrams are used for ______________


A. describing the static view of the system.
B. showing the collaboration among the elements of the static view.
C. describing the functionalities performed by the system.
D. all of above.
Answer:D

296. Class diagrams are used to construct the executable code for forward and
reverse engineering of any system.
A. true
B. false
Answer:A

297. Abstraction has ______ types.


A. 1
B. 2
C. 3
D. 4
Answer:D

View all MCQ's at McqMate.com


298. To hide the internal implementation of an object we use …
A. inheritance
B. encapsulation
C. polymorphism
D. none of these
Answer:B

299. The vertcal dimension of a sequence diagram shows


A. abstract
B. line
C. time
D. messages
Answer:C

300. CRC approach and noun phrase approach are used to identify …
A. classes
B. colaborators
C. use cases
D. object
Answer:A

View all MCQ's at McqMate.com

You might also like