mc0083-mqp
TRANSCRIPT
Model Question Paper
Subject Code: MC0083 Book ID : B0969
Subject Name: Object Oriented Analysis and Design using UML
Credits: 4 Marks: 140
Part A (One mark questions)
1. _____ reduces the interdependence of the user interface, business control and database
access
A) Layered approach
B) Design approach
C) Abstraction approach
D) Processing approach
2. The term _____ means a combination of data and logic that represents some real world entity
A) application
B) object
C) language
D) instance
3. Private members are accessible from _____
A) within a class
B) subclasses only
C) protected members only
D) anywhere
4. Super classes may also be called as _____
A) derived classes
B) inherited classes
C) base classes
D) dynamic classes
5. Polymorphism means_____
A) The same operation may behave differently on different classes
B) Inheriting the state and behaviors from more than one super class
C) Allowing the objects to be built from other classes
D) Concealing the internal data and procedures of an object
6. Consumer-producer relationship is also known as _____ association
A) master – slave
B) primary –secondary
C) physical – logical
D) client – server
7. Abbreviate CASE
A) Computer Aided System Enhancement
B) Computer Aided Software Engineering
C) Computer Application Strategic Engineering
D) Computer Application Software Establishment
8. Which model of objectory presents how the source code should be carried out and written?
A) use case model
B) domain object model
C) analysis object model
D) test model
9. The main building block of all software systems is the _____
A) object
B) use case
C) interface
D) design
10. The _____ is a graphical modeling language that provides us with syntax for describing the
major elements of software systems
A) PHP
B) HTML
C) UML
D) JCM
11. Which model of objectory defines the outside(actors) and inside(use case) of the systems
behavior.
A) use case model
B) domain object model
C) analysis object model
D) test model
12. Select the invalid phase of Rumbaugh et al.’s Object Modeling technique
A) Analysis
B) System Design
C) Object Design
D) Maintenance
13. _____ is a collection of operations that specify a service of a class or component.
A) interface
B) use case
C) class
D) component
14. A _____ defines an interaction and is a society of roles and other elements that work together
to provide some cooperative behavior that’s bigger than the sum of all the elements.
A) interface
B) collaboration
C) Active class
D) component
15. A package is rendered as _____
A) rectangle with dog-eared corner
B) circle
C) tabbed folder
D) rounded rectangle
16. A _____ extends the vocabulary of the UML, allowing you to create new kinds of building
blocks that are derived from existing ones but that are specific to your problem.
A) eventqueue
B) exception overflow
C) semantincs
D) stereotype
17. A _____ extends the properties of a UML building block, allowing you to create new information
in that element’s specification.
A) tagged value
B) exception overflow
C) stereotype
D) abstraction
18. If the attribute or operation is protected, then it is visible _____
A) everywhere
B) only in the class in which it is defined
C) within subclass
D) only in the class in which it is defined or within subclasses of that class
19. Aggregation is the UML term for the _____
A) part-whole relationship
B) visibility
C) scope
D) instance
20. Open diamond symbol is used to denote _____
A) instance
B) attributes
C) entity
D) aggregation
21. A _____ is an interaction diagram that emphasizes the time ordering of messages.
A) Class diagram
B) Sequence diagram
C) Collaboration diagram
D) Activity diagram
22. A _____ shows a state machine, consisting of states, transitions, events and activities.
A) Statechart diagram
B) Sequence diagram
C) Collaboration diagram
D) Activity diagram
23. A _____ diagram shows the organizations and dependencies among a set of components.
A) Package diagram
B) Sequence diagram
C) Collaboration diagram
D) Component diagram
24. The _____ of a system encompasses the classes, interfaces and collaborations that form the
vocabulary of the problem and its solution.
A) Use case view
B) Design view
C) Process view
D) Deployment view
25. The _____ of a system encompasses the threads and processes that form the system’s
concurrency and synchronization mechanisms.
A) Use case view
B) Design view
C) Process view
D) Deployment view
26. The first step in system development is to understand the _____
A) Application domain
B) System domain
C) Implementation process
D) Documentation process
27. The task of the _____ is to determine, with the aid of the client, what the client needs.
A) DBA
B) System analysts
C) Data base designer
D) Programmer
28. A _____ models complex computations and algorithms.
A) Boundary class
B) Control class
C) Investment class
D) Account class
29. Which of the following is the aim of the analysis workflow?
A) To obtain a deeper understanding of the requirements
B) To describe the requirements in a way that is easy to maintain and provide, insights into the
structure of the information system to be developed.
C) Both A) and B)
D) To obtain a data flow diagram
30. The best way to start class modeling is to use the two stage _____ method
A) Use cases
B) Encapsulation
C) Noun extraction
D) Functional modeling
31. A _____ models the interaction between the information systems and its actors.
A) Boundary class
B) Entity class
C) Account class
D) Control class
32. The third step in extracting the entity classes is _____.
A) Functional modeling
B) Class modeling
C) Case modeling
D) Dynamic modeling
33. _____ classes are generally as easy to extract as boundary classes.
A) Entity
B) Control
C) Both A) and B)
D) Neither A) nor B)
34. The input to the _____ is the analysis workflow artifacts.
A) Design workflow
B) Implementation
C) Test workflow
D) Decision workflow
35. If an operation is applicable both to an instance of a superclass and to instances of subclasses
of that superclass, then it makes sense to allocate that operation to the _____.
A) Method
B) Object
C) Super class
D) Subclass
36. CRC stands for
A) Class–Responsibility–Collaboration
B) Class–Resistance–Collaboration
C) Class–Responsibility–Committee
D) Class–Register–Committee
37. The purpose of the _____ workflow is to refine the requirements.
A) Analysis
B) Requirements
C) Design
D) Implementation
38. The aim of the _____ workflow is to implement the target information system in the selected
implementation language.
A) Analysis
B) Requirements
C) Design
D) Implementation
39. The purpose of the _____ phase of unified process is to determine whether it is worthwhile to
develop the target information system.
A) Inception
B) Elaboration
C) Construction
D) Transition
40. The purpose of the _____ phase of the unified process is to produce the first operational quality
version of the information system.
A) Inception
B) Elaboration
C) Construction
D) Transition
Part B (Two mark questions)
41. State True or False
i. In an object oriented environment, software is a collection of discrete objects that
encapsulate their data as well as the functionality to model real world objects.
ii. Systems development refers to all activities that go into producing an information
systems solution.
A) i–True, ii–False
B) i–True, ii–True
C) i–False, ii–True
D) i–False, ii–False
42. Object oriented systems:
i. are easier to adapt to changing requirements
ii. are easier to maintain
iii. are more robust
iv. Promote greater design
A) i, ii and iii
B) ii, iii and iv
C) ii and iii
D) i, ii, iii and iv
43. _____ describe the state of an object, _____ define its behavior
A) Attributes, methods
B) Methods, properties
C) Properties, attributes
D) Attributes, properties
44. Which of the following is / are correct
i. A single object is simply an instance of a class
ii. An objects abstract state can be independent of its physical representation
A) Only i
B) Only ii
C) Both i and ii
D) Neither i nor ii
45. Am I building the product right? is _____, Am I building the right product is _____
A) Validation, validation
B) Verification, verification
C) Validation, verification
D) Verification, validation
46. Select the correct statement(s) with reference to method
i. A method is a function or procedure that is defined for a class.
ii. A method can access the internal state of an object of that class to perform some operation
A) Only i
B) Only ii
C) Both i and ii
D) Neither i nor ii
47. Arrange the following in the correct order with reference to the macro development process of
Booch methodology.
i. Analysis and development of the model
ii. Evolution or implementation
iii. Conceptualization
iv. Maintenance
A) iii, i, ii, iv
B) ii, i, iii, iv
C) i, iii, ii, iv
D) ii, iii, i, iv
48. Select the examples for Jacobson et al. methodologies
i. Object-Oriented Business Engineering
ii. Object Oriented Software Engineering
iii. Object Factory for Software Development
A) ii and iii
B) i and ii
C) Only ii
D) i, ii and iii
49. State True or False.
i. The UML is a graphical modeling language that provides us with syntax for describing the
major elements of software systems.
ii. The UML is a language for modeling, visualizing, specifying, constructing and documenting
the artifacts of a software intensive system.
A) i–True, ii–False
B) i–True, ii–True
C) i–False, ii–True
D) i–False, ii–False
50. State True or False with reference to behavioral things
i. Graphically an interaction is rendered as a directed line, including the name of its
operation.
ii. Graphically a state is rendered as squares without specifying its name.
A) i–True, ii–False
B) i–True, ii–True
C) i–False, ii–True
D) i–False, ii–False
51. With respect to layered approach to software development, the three layered approach consists
of
i. User interface layer
ii. Business layer
iii. Access layer
iv. Data layer
v. Storage layer
A) i, ii iii and iv only
B) i, ii and iii only
C) ii, iii, iv and v only
D) i, ii, iii, iv and v
52. State True (T) or False (F)
i. The UML is a language for modeling, visualizing, specifying, constructing and documenting
the artifacts of a software intensive system.
ii. The UML is a graphical modeling language that provides with syntax for describing the
major elements of software systems.
A) i–F, ii–F
B) i–F, ii–T
C) i–T, ii–T
D) i–T, ii–F
53. Which of the following are the building blocks of UML?
i. Things
ii. Relationships
iii. Diagrams
A) i & ii only
B) ii & iii only
C) i & iii only
D) i, ii & iii
54. State True (T) or False(F)
i. Annotational things are the organizational parts of UML models.
ii. A note is simply a symbol for rendering constraints and comments attached to an element
or a collection of elements.
A) i–F, ii–F
B) i–F, ii–T
C) i–T, ii–F
D) i–T, ii–T
55. State True (T) or False (F).
i. The most general relationship between classes is association.
ii. A stereotype in UML is a way of extending UML.
A) i–T, ii–T
B) i–T, ii–F
C) i–F, ii–T
D) i–F, ii–F
56. To keep the cost of the pilot project as low as possible, the types of data needed are
A) Investment data, operating expenses data, mortgage data
B) Operating expenses data, mortgage data
C) Investment data, mortgage data
D) Investment data, operating expenses data
57. Manage an Investment use case is used for _____ investment
A) Add, modify or delete
B) Only Add and Modify
C) Only Add and Delete
D) Only Add
58. When we discover a fault during revision, we first try to _____ the current iteration.
A) Fix
B) Ignore
C) Abort
D) Quit
59. Extracting _____ classes is usually considerably harder than extracting _____ classes.
A) Boundary, entity
B) Boundary, control
C) Control, entity
D) Entity, boundary
60. In the traditional paradigm, the design phase consists of
i. Architectural design
ii. Detailed design
A) i only
B) ii only
C) Both i and ii
D) Neither i nor ii
Part C (Four mark questions)
61. Systems Development activities consist of
i. Systems analysis
ii. Modeling
iii. Design
iv. Implementation
v Testing
vi Maintenance
A) All of the above
B) Only i, ii and iii
C) Only i, iii, iv and v
D) Only ii, iii and vi
62. State True or False
i. A subclass inherits all of the properties and methods defined in its super class
ii. Subclasses generally add new methods and properties specific to that class
iii. Subclasses may refine or constrain the state and behavior inherited from its super class
A) i–True, ii–False, iii–True
B) i–True, ii–False, iii–False
C) i–False, ii–False, iii–True
D) i–True, ii–True, iii–True
63. Which of the following statements are true about Inheritance?
i. It is the property of object oriented systems that allows objects to be built from other
objects
ii. It is a relationship between classes where one class is the parent class of another class
iii. It allows classes to share and reuse behaviors and attributes
iv. The real advantage of using this technique is that we can build on what we already have
and reuse what we already have
A) Only i and ii
B) i, ii, iii and iv
C) Only iii and iv
D) Only i and iii
64. Match the following
Set–I
i. Horizontal prototype
ii. Vertical prototype
iii. Analysis prototype
iv. Domain prototype
Set–II
a Is an aid for exploring the problem domain. It is used to inform the user and demonstrate
the proof of a concept
b. Is a simulation of the interface but contains no functionality
c. Is an aid for the incremental development of the ultimate software solution
d. Is a subset of the system features with complete functionality
A) i–b, ii–d, iii–a, iv–c
B) i–c, ii–d, iii–a, iv–b
C) i–b, ii–c, iii–a, iv–d
D) i–b, ii–d, iii–c, iv–a
65. Select the purpose of the prototype review
i. To demonstrate that the prototype has been developed according to the specification and
that the final specification is appropriate
ii. To give management and everyone connected with the project the first glimpse of what the
technology can provide
iii. To collect information about errors or other problems in the system, such as user interface
problems that need to be addressed in the intermediate prototype stage.
A) i, ii and iii
B) ii and iii
C) Only i
D) Only iii
66. State True or False with reference to the Data flow diagrams symbols.
i. The process is any function being performed.
ii. The data flow shows the direction of data element movement.
iii. The data store is a location where data are stored.
iv. An external entity is a source or destination of a data element.
A) i–True, ii–False, iii–False, iv–True
B) i–True, ii–False, iii–True, iv–True
C) i–False, ii–False, iii–True, iv–False
D) i–True, ii–True, iii–True, iv–True
67. Select the valid models of Objectory.
i. Use case model
ii. Domain object model
iii. Analysis object model
iv. Implementation model
v. Test model
A) All of the above
B) None of the above
C) i, ii and iii
D) iii, iv and v
68. Match the following things in UML with their descriptions
Set–I
i. Structural things
ii. Behavioral Things
iii. Grouping things
iv. Annotational Things
Set–II
a. Are the organizational parts of UML models.
b. Are the explanatory parts of UML models
c. Are the nouns of UML models
d. Are the dynamic parts of UML models
A) i–b, ii–d, iii–a, iv–c
B) i–c, ii–a, iii–d, iv–b
C) i–c, ii–d, iii–a, iv–b
D) i–b, ii–a, iii–d, iv–c
69. State True (T) or False (F)
i. A node is a physical element that exists at run time and represents a computational
resource, generally having at least some memory and often processing capability.
ii. Behavioral things are the static parts of UML models.
iii. A package is a general purpose mechanism for organizing elements into groups.
iv. Grouping things are the explanatory parts of UML models.
A) i–T, ii–F, iii–F, iv–T
B) i–T, ii–F, iii–T, iv–F
C) i–T, ii–T, iii–T, iv–T
D) i–T, ii–T, iii–F, iv–T
70. State True (T) or False (F) with respect to UML views.
i. The design view primarily supports the functional requirements of the system, meaning the
services that the system should provide to the end users.
ii. The deployment view addresses the performance, scalability and throughput of the system.
iii. The process view addresses the distribution. Delivery and installation of the parts that
makeup the physical system
iv. The implementation view addresses the configuration management of the systems
releases.
A) i–T, ii–T, iii–T, iv–T
B) i–T, ii–T, iii–T, iv–F
C) i–T, ii–F, iii–F, iv–T
D) i–T, ii–F, iii–T, iv–T
71. Match the following with respect to the steps involved in entity class extraction
Set–I
i. Functional modeling
ii. Class modeling
iii. Dynamic modeling
Set–II
a. Determine entity classes and their attributes
b. Determine the operations performed by or to each entity class or sub class
c. Present scenarios of all the use cases
A) i–c, ii–a, iii–b
B) i–a, ii–c, iii–b
C) i–b, ii–c, iii–a
D) i–c, ii–b, iii–a
72. State True (T) or False (F).
i. CRC cards have been utilized during object oriented analysis and design.
ii. CRC cards were originally introduced as a tool for performing requirements elicitation and
analysis.
iii. The test workflow commences almost at the start of the elaboration phase.
A) i–T, ii–T, iii–F
B) i–T, ii–T, iii–T
C) i–T, ii–F, iii–T
D) i–F, ii–T, iii–F
73. The deliverables of the inception phase of the unified process include
i. Initial version of the domain model
ii. Initial version of the business model
iii. Initial version of the requirements artifacts
iv. A preliminary version of the analysis artifacts
v. An updated list of risks
vi. An updated version of the architecture
A) All of these
B) i, ii, iii and iv only
C) i, ii, iii, iv and v only
D) ii, iii and v only
74. The deliverables of the elaboration phase of the unified process include
i. An updated list of risks
ii. An updated version of the architecture
iii. The initial list of risks
iv. The initial ordering of the use cases
v. The project management plan
vi. The completed business case
A) All of these
B) i, ii, v and vi only
C) i, ii, iii, iv and v only
D) ii, iii and v only
75. The deliverables of the construction phase of the unified process include
i. The initial user manuals and other manuals
ii. All the artifacts
iii. The completed architecture
iv. The updated risk lists
v. The initial list of risks
A) i, ii, iii and iv
B) i, ii, iii, iv and v
C) ii, iii, iv and v only
D) ii, iii and v only
Answer Keys
Part - A Part - B Part - C
Q. No. Ans. Key Q. No. Ans. Key Q. No. Ans. Key Q. No. Ans. Key
1 A 21 B 41 B 61 A
2 B 22 A 42 D 62 D
3 A 23 D 43 A 63 B
4 C 24 B 44 C 64 A
5 A 25 C 45 D 65 A
6 D 26 A 46 C 66 D
7 B 27 B 47 A 67 A
8 C 28 B 48 D 68 C
9 A 29 C 49 B 69 B
10 C 30 C 50 A 70 C
11 A 31 A 51 B 71 A
12 D 32 D 52 C 72 A
13 A 33 B 53 D 73 B
14 B 34 A 54 B 74 B
15 C 35 C 55 A 75 A
16 D 36 A 56 A
17 A 37 A 57 A
18 D 38 D 58 A
19 A 39 A 59 D
20 D 40 C 60 C