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.
| 251. |
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 | |
| 252. |
Aggregation is … |
| A. | set of relationship |
| B. | composed of relationship |
| C. | part of relationship |
| D. | all of these |
| Answer» C. part of relationship | |
| 253. |
The time oriented diagram include … |
| A. | sequence |
| B. | classes |
| C. | activity |
| D. | none of these |
| Answer» B. classes | |
| 254. |
To distunguish between active and non-active object which property is applied? |
| A. | abstraction |
| B. | polymophism |
| C. | concurrency |
| D. | aggregation |
| Answer» D. aggregation | |
| 255. |
Abstraction provide an operation named as … |
| A. | encapsulation |
| B. | call back |
| C. | turndown |
| D. | inheritance |
| Answer» C. turndown | |
| 256. |
CRC approach and noun phrase approach are used to identify … |
| A. | classes |
| B. | colaborators |
| C. | use cases |
| D. | object |
| Answer» B. colaborators | |
| 257. |
The vertcal dimension of a sequence diagram shows |
| A. | abstract |
| B. | line |
| C. | time |
| D. | messages |
| Answer» D. messages | |
| 258. |
To hide the internal implementation of an object we use … |
| A. | inheritance |
| B. | encapsulation |
| C. | polymorphism |
| D. | none of these |
| Answer» C. polymorphism | |
| 259. |
Abstraction has ______ types. |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» E. | |
| 260. |
Class diagrams are used to construct the executable code for forward and reverse engineering of any system. |
| A. | true |
| B. | false |
| Answer» B. false | |
| 261. |
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» E. | |
| 262. |
The purpose of class diagram is to model the static view of an application. |
| A. | true |
| B. | false |
| Answer» B. false | |
| 263. |
A ____________ is a blueprint for an object. |
| A. | use case |
| B. | class |
| C. | object |
| D. | state |
| Answer» C. object | |
| 264. |
__________ represented by In UML diagrams, relationship between component parts and object. |
| A. | ordination |
| B. | aggregation |
| C. | segregation |
| D. | increment |
| Answer» C. segregation | |
| 265. |
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» B. compartment can be in random order | |
| 266. |
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» E. | |
| 267. |
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» E. | |
| 268. |
An operation can be described as? |
| A. | object behavior |
| B. | class behavior |
| C. | functions |
| D. | object & class behavior |
| Answer» E. | |
| 269. |
________________ is a special type of aggregation where parts are destroyed when the whole is destroyed. |
| A. | composition |
| B. | complete composition |
| C. | full composition |
| D. | none of above |
| Answer» B. complete composition | |
| 270. |
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» E. | |
| 271. |
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» E. | |
| 272. |
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» E. | |
| 273. |
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. |
| C. | allows the physical components, in the form of use cases |
| D. | all of the above |
| Answer» C. allows the physical components, in the form of use cases | |
| 274. |
For each use-case realization, there may be one or more class diagrams that depict its participating classes. |
| A. | true |
| B. | false |
| Answer» B. false | |
| 275. |
Find incorrect about Use Case. |
| A. | actors |
| B. | preconditions |
| C. | basic flow |
| D. | operations |
| Answer» E. | |
| 276. |
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» B. extend | |
| 277. |
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» D. a model into test | |
| 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» D. model a logical database schema | |
| 279. |
Forward engineering of an ________ is theoretically possible but programmatically o limited value. |
| A. | object diagram |
| B. | activity diagram |
| C. | class diagram |
| D. | interaction diagram |
| Answer» B. activity diagram | |
| 280. |
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» D. interaction diagram | |
| 281. |
Forward engineering and reverse engineering can be applicable to ________ |
| A. | class diagram |
| B. | stereotypes |
| C. | tagged values |
| D. | adornments |
| Answer» B. stereotypes | |
| 282. |
________ 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» C. collaboration | |
| 283. |
___________ 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» D. business | |
| 284. |
_________________ allows us to infer that different members of classes have some common characteristics. |
| A. | realization |
| B. | aggregation |
| C. | generalization |
| D. | dependency |
| Answer» D. dependency | |
| 285. |
"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» C. uml constraint language | |
| 286. |
A constraint specifies a condition or restriction that must be false. |
| A. | true |
| B. | false |
| Answer» C. | |
| 287. |
A unary association is an association between an object of one class and another object in the same class. |
| A. | true |
| B. | false |
| Answer» B. false | |
| 288. |
Multiplicity of Associations are __________________ |
| A. | one-to-one association |
| B. | one-to-many association |
| C. | both 1&2 |
| D. | optional association,1 & 2 |
| Answer» E. | |
| 289. |
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 the above |
| Answer» E. | |
| 290. |
Two classes that express the same information is known as ______________ |
| A. | irrelevant classes |
| B. | redundant classes |
| C. | adjective classes |
| D. | attribute classes |
| Answer» C. adjective classes | |
| 291. |
________________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» B. operations | |
| 292. |
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» E. | |
| 293. |
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» B. is the number of instances with a number instance | |
| 294. |
Which of the following UML diagrams has a static view? |
| A. | collaboration |
| B. | use case |
| C. | state chart |
| D. | activity |
| Answer» C. state chart | |
| 295. |
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» B. activity diagram | |
| 296. |
An inclusion use case is usually abstract. |
| A. | true |
| B. | false |
| Answer» B. false | |
| 297. |
Dependencies between use cases can be defined by using _______________ |
| A. | include relationships |
| B. | extend relationships |
| C. | both 1 & 2 |
| D. | none of above |
| Answer» D. none of above | |
| 298. |
Each sequence through the use case is called a ____________ |
| A. | interaction |
| B. | scenario |
| C. | requirement |
| D. | transaction |
| Answer» C. requirement | |
| 299. |
An actor can also be an external system that either initiates or participates in the use case. |
| A. | true |
| B. | false |
| Answer» B. false | |
| 300. |
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» E. | |