aspose file tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes IBM Pre-assessment tests : 5 Questions  Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "IBM Pre-assessment tests : 5 Questions  " Watch "IBM Pre-assessment tests : 5 Questions  " New topic
Author

IBM Pre-assessment tests : 5 Questions

Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Hi,
Could you let me know the correct answers for the following questions.
1) Which of the following are true about implementing a system based on existing OOAD assets?

a) Due to constraints introduced by the target language, such as C++, Smalltalk, or Java, as well as physical packaging, the OO analysis model does not carry forward into detailed design and implementation.
b) The classes, methods, attributes, and relationships identified during the OO analysis carry forward into detailed design and implementation.
c) The OO analysis model is usually refactored later in the project.
d) The classes from the OO analysis are expanded to add private methods and collaborations with helper classes.

Multiple Select - Please select all of the correct answers (this question has 3 correct choices).
---> B,C,D
2) Given the requirement statement, which of the following public methods would be used in a related sequence diagram?

a) aBalance.subtract( anAmount )
b) anAmortizationTable.calculateInterestUsing( aPayment )
c) anAmortizationTable.apply( aPayment )
d) aMortgage.apply( aPayment )

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
( http://certify.torolab.ibm.com/figures/test486F14.gif )
---> B,D
3) Which of the following are true about interpreting class diagrams from different perspectives?

a) Specification perspective class diagrams are developed without considering the programming language that might be used to implement it.
b) The conceptual perspective class diagram of an application would not include all the classes required and their details, rather, they would only identify domain classes.
c) In the conceptual perspective, associations represent relationships between classes, where as they represent responsibilities in the specification perspective.
d) Operations (the processes that a class knows to carry out) should be used in conceptual models to specify the interface of a class.

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
---> A,C
I am having doubts on C - In the conceptual perspective, associations represent relationships between objects NOT classes
D would be correct only if they are talking about Class Diagrams in terms of conceptual perspective and NOT Conceptual Model.Larman states that Conceptual Model shows only concepts,associations and attributes
4) What are the system's actors in the diagram, Figure Use Case ?
a) Clerk, Manager
b) Clerk, Manager, Customer
c) Clerk, Manager, Bank network
d) Clerk, Manager, Bank network, Customer

Single Select - Please select the best answer (one and only one choice must be selected).
( http://certify.torolab.ibm.com/figures/test486F1.gif )
---> C
5) Referring to the "Book a Party" use case in the Figure Book a Party, which of the following is the BEST list of candidate interaction diagrams to support the use case?

a) Find available date, Search for client, View client preferences, Book an event, Calculate cost of event, Generate confirmation letter
b) Find available date, Search for client, View client preferences, Explain menu alternatives, Book an event, Calculate cost of event, Generate confirmation letter
c) Find available date, Search for client, View client preferences, Book an event, Calculate cost of event, Request deposit, Generate confirmation letter
d) Find available date, Search for client, View client preferences, Book an event, Calculate cost of event, Generate confirmation letter, Mail confirmation letter

Single Select - Please select the best answer (one and only one choice must be selected).
( http://certify.torolab.ibm.com/figures/test486F6.gif )
---> A
Thanks in advance,
Sandeep
[This message has been edited by Desai Sandeep (edited June 11, 2001).]


<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>
Junilu Lacar
Ranch Hand

Joined: Feb 26, 2001
Posts: 3008
3) B, C
A. see "UML Distilled", p.51: Conceptual model... should be drawn with little or no regard for the software that might implement it...
D. see "UML Distilled", p.59: Within conceptual models, you shouldn't use operations to specify the interface of a class.
[This message has been edited by JUNILU LACAR (edited June 11, 2001).]


Junilu
[How to Ask Questions] [How to Answer Questions] [MiH]
Tariq Haque
Greenhorn

Joined: Jun 04, 2001
Posts: 6
Hi,
Answer of no. 3 is B & C.
For everything else, you've got the right answers.
Tariq
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Tariq and Junilu,
Thanks a lot for the answer.

3) Which of the following are true about interpreting class diagrams from different perspectives?
a) Specification perspective class diagrams are developed without considering the programming language that might be used to implement it.
b) The conceptual perspective class diagram of an application would not include all the classes required and their details, rather,they would only identify domain classes.
c) In the conceptual perspective, associations represent relationships between classes, where as they represent responsibilities in the specification perspective.
d) Operations (the processes that a class knows to carry out) should be used in conceptual models to specify the interface of a class.
Multiple Select - Please select all of the correct answers (this question has 2 correct choices).


A is incorrect
Only Conceptual perspective Class Diagrams are language independent.The Specification and Implementation perspective Class Diagrams depends on Software.
B is correct
The Conceptual perspective Class Diagram focusses on finding the concepts in the problem domain.It will not include all the classes and its details in the problem domain.This would be eventually discovered in the later phases (Design and Construct).
C is correct
In Conceptual perspective Class Diagram, the associations represent relationship between classes.In Specification perspective Class Diagram, the associations represent responsibility between classes.
D is incorrect
Operations are not shown in the Conceptual perspective Class Diagram.Larman suggests the Conceptual Model contains only concepts,associations and attributes.The operations are defined in the Specification and Implementation perspective.
Thanks,
Sandeep
[This message has been edited by Desai Sandeep (edited June 12, 2001).]
Joe Rossano
Greenhorn

Joined: Apr 13, 2001
Posts: 11
Hi Sandeep,
Could you explain the logic involved in answering question 5?
Thanks,
Joe
Junilu Lacar
Ranch Hand

Joined: Feb 26, 2001
Posts: 3008
Originally posted by Joe Rossano:
> Could you explain the logic involved in answering question 5?
All the incorrect answers include things that occur outside the system. Only A describes things that happen with the involvement of the system under consideration.
b) "Explain menu alternatives" is something that happens between the Chef and the Client
c) Chef "Request Deposit" from client (same reason as b)
d) "Mail confirmation letter" is done by the Chef, without any help from the system
 
 
subject: IBM Pre-assessment tests : 5 Questions
 
Threads others viewed
IBM 486 - Book a Party
Longer Post - ALL IBM ICE EXAM Q's for UML
IBM OOAD Practice Exam - Which 2 are wrong?
(LONG POST) IBM's OOAD Test 486 Mock Exam Questions!
IBM question - Chef
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture