Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

IBM Pre-assessment tests : 5 Questions

 
Ranch Hand
Posts: 1157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Marshal
Posts: 15887
265
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Answer of no. 3 is B & C.
For everything else, you've got the right answers.
Tariq
 
Desai Sandeep
Ranch Hand
Posts: 1157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sandeep,
Could you explain the logic involved in answering question 5?
Thanks,
Joe
 
Junilu Lacar
Marshal
Posts: 15887
265
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
    Bookmark Topic Watch Topic
  • New Topic