File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML Questions" Watch "UML Questions" New topic
Author

UML Questions

Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
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."
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
Todd Newbold
Ranch Hand

Joined: Sep 20, 2001
Posts: 85
I would say answer A for all answers.
Ram Dhan Yadav K
Ranch Hand

Joined: Aug 13, 2001
Posts: 321
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
Todd Newbold
Ranch Hand

Joined: Sep 20, 2001
Posts: 85
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: UML Questions
 
Similar Threads
Is this transition?
Test 283
Real time Elements of UML
UML a Superset of E-R
New 5 ICE questions not on this forums