Monday, December 8, 2008

UML INTERVIEW QUESTIONS

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?

No comments:

 
hit counter
Download a hit counter here.