Hi, I am strating to learn UML and come across a few questions and I would like to get answers from you people with possible explanation. Here are the questions. 1) When a UML Class attribute is scoped at the classifier level, it is implemented with which one of the following C++ and Java terms? a) Public b) Final c) Private d) Protected e) Static
2) Which one of the following is a graphical presentation of a set of elements, most often rendered as a connected graph of vertices and arcs?
a) Diagram b) Association c) Class d) Relationship e) Object 3) Which one of the following is a term for a service that can be requested from any object of a Class? a) Getter b) Operation c) State d) Attribute e) Setter 4) The UML provides four elements to model real time, distributed systems. Referring to this statement , which one of the following is NOT one of these elements? a) Universal Resource Identifiers (URIs) b) Time expressions c) Timing marks d) Timing constraints e) Location 5) Your software process requires that all Classes in your UML design model have a version number. Which one of the following mechanisms is used to provide the versioning capability? a) Tagged value b) Stereotype c) Constraint d) Transform e) Note thanks, Ramdhan
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
Hi Todd, on 1) what is scoping at classifier level? on 2) Any comments ? on 3) I guess its b - operation, any comments? on 4) I don't have any idea about that question, any insight would be appreciated thanks, Ramdhan YK
Joined: Sep 20, 2001
1 - I would say E, this is a class attribute vs a object attribute 2 - I would say A, because this seems like it is a question about the meta-model feature of a diagram 3 - I would say A or B , any object of a class (some methods can be private) so I would say A 4 - I would say E, by logic URI's seem like they would be in UML for distributed systems 5 - I would say B, by logic stereotypes are UML's way of extending elements E,A,A,E,B good luck
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com