• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

UML Questions

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would say answer A for all answers.
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic