IntelliJ Java IDE
The moose likes OO, Patterns, UML and Refactoring and the fly likes IBM mock test question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "IBM mock test question" Watch "IBM mock test question" New topic
Author

IBM mock test question

Kathy Shkarlet
Ranch Hand

Joined: Dec 01, 2000
Posts: 43
I've got an OOAD question:
True or false? When declaring a public method due to an additional message between classes as part of some system functionality, the OOAD UML assets should be updated to reflect this change.
a) true
b) false
What's your opinion on that?
And could anybody tell me which of UML books talks about that?
Avijeet Dash
Ranch Hand

Joined: Jan 21, 2001
Posts: 148
I would say False.
why would other uml assets (??what does this mean btw) get affected by the change in dependency between 2 classes.
Michal Harezlak
Ranch Hand

Joined: Jul 06, 2000
Posts: 185
IMHO: the expected answer is true. The "UML assets" are your documentation, so it would be nice to keep them in sync with the actual code. The key words are "public method", it is probably some major change, so it is worth describing in the UML as opposite to some minor thing when a comment in the code is enough.
Regards
[This message has been edited by Michal Harezlak (edited April 12, 2001).]
Tim Grandison
Greenhorn

Joined: Mar 09, 2000
Posts: 6
I agree the answer should be true. At the very least you would expect your package dependency diagram to be updated.
David Roberts
Ranch Hand

Joined: Nov 03, 2000
Posts: 142
I'm guessing true as well. I'm saying this based on Craig Larmans book stating that when designs change in code you should reverse engineer the UML to be ready for your next iteration of analysis and design...
I'm not sure specifically what "Assets" means either. I do find this part of the question interesting:
"part of some system functionality"
As in a requirement?

------------------
David Roberts - SCJP2,MCP


David Roberts - SCJP2,MCP
Avijeet Dash
Ranch Hand

Joined: Jan 21, 2001
Posts: 148
Oh yes, I think its true.
I was thinking in different orbits when i said False.
thanks guys.
P@wan Kumar
Greenhorn

Joined: Jul 04, 2001
Posts: 4
I would say True. The UML assets are the documentation. An additional public method means change in the public interface. This should update the UML assets.
Hassan Mumtaz
Greenhorn

Joined: Jul 04, 2001
Posts: 15
I think UML assets are "models". At the risk of sounding like a methodologist, I would say that they are "artifacts" (work products) and "documents" is not appropriate terminology. However, this is no oppoptunity to fight or argue as natural languages are imprecise anyway.
Q: What's the difference between a methodologist and a terrorist?
A: You can negotiate with a terrorist!
Muhammad Asif
Ranch Hand

Joined: Jul 13, 2001
Posts: 201
Hi!
I think that the answer to this question is true!
The reason behind is that in projects normally if a new developer wants to see how you have implemented a certain process
he should be able to grasp the complete picture via class diagram or ne other notations to see all the methods instead of browsing thru ur code.
The person should be able to see the complete flow by looking at the activity diagrams.
And certainly he can only understand the latest implementation only if your UML assets have been constantly kept updated.
Hope this helps


SCJP, SCBCD, SCWCD 1.4, IBM-OOAD, SCEA, TCP, TCSS, TCIS, ATCP
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi,
It should be true for a simple reason that we should have backward traceability for all the UML artifacts that we have maintained.If you ever feel, that you donot need to update an artifact to reflect the change then you have to question why that artifact exists in the first place.
-- Sandeep


<b>Sandeep</b> <br /> <br /><b>Sun Certified Programmer for Java 2 Platform</b><br /> <br /><b>Oracle Certified Solution Developer - JDeveloper</b><br /><b>-- Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java </b><br /><b>-- Object-Oriented Analysis and Design with UML</b><br /> <br /><b>Oracle Certified Enterprise Developer - Oracle Internet Platform</b><br /><b>-- Enterprise Connectivity with J2EE </b><br /><b>-- Enterprise Development on the Oracle Internet Platform </b>
 
 
subject: IBM mock test question
 
Threads others viewed
UML certification
What uml version is tested in IBM486(OOAD)
Load factor?
Any detailed case study that can be referenced?
which are the best books for UML & OOAD certifications.
developer file tools