• 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 a Superset of E-R

 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which one of the following statements describes why the UML Class diagram is a superset of the E-R diagram?
a) Class diagrams model abstractions.
b) Class diagrams model behavior as well as data.
c) Class diagrams may be refined into a physical mplementation.
d) Class diagrams model many to many relationships.
e) Class diagrams show relationships between data elements.
Answer pls?
Ramdhan YK
 
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 B. E-R diagrams can do quite a bit of the other answers if I recall.
 
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My answer is E.
 
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
Foreign keys are a way of showing relationships in an E-R diagram.
 
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
I believe crows feet show relationships also...
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My answer is E!
E-R diagrams show relationships between data elements. I believe E-R diagrams do not model behaviour. All you do is organize entities (and their attributes) and build relationships (identifying, non-identifying, one-to-one, One-to-many etc) to normalize the entities.
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am unable to understand that why most of saying e.although q's is about superset.
if e is the answer then how uml class diagram can be superset of er .
i think b can be the answer.
if i am wrong then plz refine me.
------------------
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
b) has highest probability
< !Entity supersetSubset <br /> "But that does not describe superset-subset relationship.">
(replace &supersetSubset; with the String. Thats the way internal general entities work in xml.)

a) both model abstractions. &supersetSubset;
b) e-r diagrams model data. class diagrams model data as well as behaviour. So its a superset.
c) both might be refined in a physical implementation. &supersetSubset;

d) with class diagramms as well as with e-r diagramms you can model many to many relationsships. &supersetSubset;
e) class diagrams as well e-r diagrams show relationship between data. &supersetSubset;
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
b) is the correct answer.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic