1. What is UML?
2. What is modeling
3. What are the different views that are considered when building an object-oriented software system?
4. What are diagrams?
5. What are the major three types of modeling used?
6. Mention the different kinds of modeling diagrams used?
7. What is Architecture?
8. What is SDLC?
9. What are Relationships
10. How are the diagrams divided? The diagrams are divided into static diagrams and dynamic diagrams.
11. Static Diagrams (Also called Structural Diagram): Class diagram, Object diagram, Component Diagram, Deployment diagram.
12. Dynamic Diagrams (Also called Behavioral Diagrams): Use Case Diagram, Sequence Diagram, Collaboration Diagram, Activity diagram, Statechart diagram.
13. What are Messages?
14. What is an Use Case?
15. How do you represent static members and abstract classes in Class Diagram?
16. Can we use UML for user interface (UI) design?
17. Every object has : state, behavior and identity - explain
18. How to reverse engineer C++ code in UML?
19. What are the tools you used for OOAD?
20. Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?
21. What are the four phases of the Unified Process ?
22. How do you convert uses cases into test cases?
23. Explain Class Diagram in Detail.
24. What are the Design Patterns you know.
25. When do you prefer to use composition than aggregation?
26. UML: IS it a process, method or notation?
27. Does a concept HAVE to become a class in Design?
28. What are the good practices to use while designing for reuse?
29. Can you think of some nice examples where *multiple* actors are associated with a use case ?
30. How to use CRC Cards for Class Design?
31. What is the difference between static and dynamic Classificaition.Give some examples.
32. Explian following terms: Constraint Rules, Design by contract.
33. What is Object Constraint Language (OCL)?
34. Difference Between Attribute and Association.
35. What are associative classes?
36. What is inheritance?
37. Difference between Composition and Aggregation.
38. Difference: Sequence Diagrams, Collaboration Diagrams.
39. Difference: 'uses', 'extends', 'includes'
40. What shall I go for Package Diagram?
41. What is Polymorphism?
42. Is class an Object? Is object a class?
43. Comment: C++ "includes" behavior and java "imports"
44. What do you mean by "Realization"?
45. What is a Presistent, Transient Object?
46. What is the use of Operator Overloading?
47. Does UML guarantee project success?
48. Difference: Activity Diagram and Sequence Diagram.
49. What is association?
50. How to resolve many to many relationship?
51. What are parameterized classes in UML?
52. What are the uses or application of UML?
53. What is aggregation in UML?
54. When was UML standard adopted?
55. How to identify strong aggregation (composition) relationship between classes and what is difference
56. Explain few Class Diagramming Guidelines?
57. What is UML? How it is usefull?
58. UML Diagrams
59. How usecase diagrams are used in software creation & what about their functions?
60. Analyse the system in terms of UML
61. Who developed UML?
62. How to indicate static methods within a UML class diagram?
63. What is the difference between an API and a framework?
64. What is a stereotype in UML?
65. What is agregation & Composistion ?
66. Is there any difference between Containment and Composition?
67. What is a Persistent, Transient Object?
68. What do you mean by "Realization"?
69. Explian following terms: Constraint Rules, Design by contract.
70. What is the difference between static and dynamic Classificaition.Give some examples.
71. What are associative classes?
72. Difference Between Attribute and Association.
73. What is Object Constraint Language (OCL)?
74. How to use CRC Cards for Class Design?
75. Can you think of some nice examples where multiple actors are associated with a use case ?
76. What are the good practices to use while designing for reuse?
77. Does a concept HAVE to become a class in Design?
78. UML: IS it a process, method or notation?
79. When do you prefer to use composition than aggregation?
80. Explain Class Diagram in Detail.
81. What is the purpose of UML?
82. What are the different views that are commonly used when developing Software in Java?
83. Explain Use Case View?
84. : What is a Use Case ?
85. What is an Actor?
86. What are the rules for defining an Actor?
87. What is a Scenario?
88. What is a Class Diagram?
89. How are classes represented in a class diagram?
90. What are the different kinds of relationships in Class diagram?
91. : What is Association?
92. What is Aggregation?
93. What is Composition?
94. What is Generalization?
95. What is Realization?
96. What is a Sequence Diagram?
97. What are activation boxes in a sequence diagram?
98. When one method call to a class results in several method calls to other classes how is it represented?
99. What is an USECASE? Why it is needed?
100. Who is an Actor?
101. What is guard condition?
102. Is class an Object? Is object a class?
103. Comment: C++ "includes" behavior and java "imports"
104. What do you mean by "Realization"?
105. What is a Presistent, Transient Object?
106. What is the use of Operator Overloading?
107. Does UML guarantee project success?
108. Difference: Activity Diagram and Sequence Diagram.
109. What is association?
110. How to resolve many to many relationship?
111. How do you represent static members and abstract classes in Class Diagram?
112. Can we use UML for user interface (UI) design?
113. Every object has : state, behavior and identity - explain
114. How to reverse engineer C++ code in UML?
115. What are the tools you used for OOAD?
116. Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?
117. What are the four phases of the Unified Process ?
118. How do you convert uses cases into test cases?
119. Explain Class Diagram in Detail.
120. What are the Design Patterns you know.
121. When do you prefer to use composition than aggregation?
122. UML: IS it a process, method or notation?
123. Does a concept HAVE to become a class in Design?
124. What are the good practices to use while designing for reuse?
125. Can you think of some nice examples where *multiple* actors are associated with a use case ?
126. How to use CRC Cards for Class Design?
127. What is the difference between static and dynamic Classificaition.Give some examples.
128. Explian following terms: Constraint Rules, Design by contract.
129. What is Object Constraint Language (OCL)?
130. Difference Between Attribute and Association.
131. What are associative classes?
132. What is inheritance?
133. Difference between Composition and Aggregation.
134. Difference: Sequence Diagrams, Collaboration Diagrams.
135. Difference: 'uses', 'extends', 'includes'
136. What is Polymorphism?
137. Can method be overloaded based on different return type but same argument type?
138. Describe some techniques for expressing business rules/constraints either in UML or via other means.
139. Describe the use of UML stereotypes in one of your recent projects (you used stereotypes to express what?). Feel free to include small example.
140. Describe useful application of an “extends” use case (in what situations would you use an “extends” use case instead of any of the other kind of use case relationships?)
141. Differentiate Aggregation and containment?
142. Differentiate between template class and class template.
143. Differentiate between the message and method.
144. Differentiate persistent & non-persistent objects?
145. Differentiate the class representation of Booch, Rumbaugh and UML?
146. Do you feel UML (or other types of) models have any value once the implementation code has been generated? Why?
147. Explain the difference between composition and aggregation.
148. Explain the difference between design model and an implementation model.
149. Explain the different relationship notations in UML that you have used (e.g., generalization, association, and so on.)
150. If familiar with it, describe how you used any one of the “gang of four” design patterns in recent model you produced.
151. If familiar with it, describe the “design by contract” approach.
152. If familiar with it, describe the concept of UML profile.
153. In RUP business modeling, what is the difference between Business Actor and Business Worker?
154. In the past, have you ever traced design and/or implementation artifacts back to the user requirements? If yes, how?
155. Is object persistence expressed in the analysis model, the design model or both? Explain.
156. Is there anything in RUP that you would change in order to improve the efficiency of the development process. Fit in an analysis or design model?
157. List out some of the object-oriented methodologies
158. Object Oriented: Essentials and History
159. What do u meant by “SBI” of an object?
160. What is dangling pointer?
161. What is down casting?
162. What is meant by “method-wars”?
163. What is modifier?
164. What is the difference between business use case and system use case?
165. What is the difference between cohesion and coupling? Why are “strong cohesion” and “loose coupling” patterns generally recommended in OOAD?
166. What is the format in which model can be saved inventor/tool neutral way?
167. When does name clash occur?
168. Whether unified method and unified modeling language are same or different?
169. Which UML diagrams have you used? Explain when to use one or the other. Use Case Diagram, Class Diagram, Sequence Diagram, Activity Diagram
170. Who were the three famous amigos and what was their contribution to the object community?
171. Why generalization is very strong?
172. Would you use sequence diagram or an activity diagram to model process flow that has lot of conditional flows and concurrent processing?
173. What is UML?
174. How many types of diagrams are there in UML ?
175. Explain in short all types of diagrams in UML ?
176. What are advantages of using UML?
177. What is Modeling and why UML ?
178. What’s the sequence of UML diagrams in project?
179. How did you implement UML in your project?
180. Do I need all UML diagrams in a project?
181. Give a small brief explanation of all Elements in activity diagrams?
182. Explain Different elements of a collaboration diagram ?
183. Explain Component diagrams ?
184. Explain all parts of a deployment diagram?
185. Describe various components in sequence diagrams?
186. What are the element in State Chart diagrams ?
187. Describe different elements in Static Chart diagrams ?
188. Explain different elements of a Use Case ?
189. What’s difference between Activity and sequence diagrams?
More Questions and Answers
1.What is UML? UML is Unified Modeling Language. It is a graphical language for visualizing specifying constructing and documenting the artifacts of the system. It allows you to create a blue print of all the aspects of the system, before actually physically implementing the system.
2.What is modeling? What are the advantages of creating a model? Modeling is a proven and well-accepted engineering technique which helps build a model. Model is a simplification of reality; it is a blueprint of the actual system that needs to be built. Model helps to visualize the system. Model helps to specify the structural and behavior of the system. Model helps make templates for constructing the system. Model helps document the system.
3.What are the different views that are considered when building an object-oriented software system? Normally there are 5 views. Use Case view - This view exposes the requirements of a system. Design View - Capturing the vocabulary. Process View - modeling the distribution of the systems processes and threads. Implementation view - addressing the physical implementation of the system. Deployment view - focus on the modeling the components required for deploying the system.
4.What is Architecture? Architecture is not only taking care of the structural and behavioral aspect of a software system but also taking into account the software usage, functionality, performance, reuse, economic and technology constraints.
5.What is SDLC? SDLC is Software Development Life Cycle. SDLC of a system included processes that are Use case driven, Architecture centric and Iterative and Incremental. This Life cycle is divided into phases. Phase is a time span between two milestones. The milestones are Inception, Elaboration, Construction, and Transition. Process Workflows that evolve through these phase are Business Modeling, Requirement gathering, Analysis and Design, Implementation, Testing, Deployment. Supporting Workflows are Configuration and change management, Project management.
6.What are diagrams? Diagrams are graphical representation of a set of elements most often shown made of things and associations.
7.What are the major three types of modeling used? Major three types of modeling are structural, behavioral, and architectural.
8.Mention the different kinds of modeling diagrams used? Modeling diagrams that are commonly used are, there are 9 of them. Use case diagram, Class Diagram, Object Diagram, Sequence Diagram, statechart Diagram, Collaboration Diagram, Activity Diagram, Component diagram, Deployment Diagram.
9.What are Relationships? There are different kinds of relationships: Dependencies, Generalization, and Association. Dependencies are relations ships between two entities that that a change in specification of one thing may affect another thing. Most commonly it is used to show that one class uses another class as an argument in the signature of the operation. Generalization is relationships specified in the class subclass scenario, it is shown when one entity inherits from other. Associations are structural relationships that are: a room has walls, Person works for a company. Aggregation is a type of association where there is a has a relation ship, That is a room has walls, ño if there are two classes room and walls then the relation ship is called a association and further defined as an aggregation.
10.How are the diagrams divided? The nine diagrams are divided into static diagrams and dynamic diagrams.
11.Static Diagrams (Also called Structural Diagram): Class diagram, Object diagram, Component Diagram, Deployment diagram.
12.Dynamic Diagrams (Also called Behavioral Diagrams): Use Case Diagram, Sequence Diagram, Collaboration Diagram, Activity diagram, Statechart diagram.
13.What are Messages? A message is the specification of a communication, when a message is passed that results in action that is in turn an executable statement.
14.What is an Use Case? A use case specifies the behavior of a system or a part of a system, óse cases are used to capture the behavior that need to be developed. It involves the interaction of actors and the system.