• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

IBM ICE Question - Requirements

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Given the requirement statement below, which of the following public methods would be used in a related sequence diagram?
When a mortgage payment is received, the appropriate amortization table will be used to calculate the interest and principle amounts to apply against the balance.


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).

I answered b and d. Since a) sounds rubbish and c) doesnot fit in the context as the principal amount is to be applied against the balance for a I]mortgage[/I] payment.
Any comments?
 
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the answers are b) and c). Since it says: "[B]the appropriate amortization table will be used to calculate the interest and principle amounts[B]"

Originally posted by Balbir Singh:
When a mortgage payment is received, the appropriate amortization table will be used to calculate the interest and principle amounts to apply against the balance.


a) aBalance.subtract( anAmount )

b) anAmortizationTable.calculateInterestUsing( aPayment )

c) anAmortizationTable.apply( aPayment )

d) aMortgage.apply( aPayment )

 
Balbir Singh
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Don,
Thanks for the post. Can you please elaborate on that.......
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Balbir:
Basically, the question says 'amortization table will be used to calculate the interest and principle amounts to apply against the balance'. So both 'interest and principle amounts' will be calculated by calling methods of 'amortization table'. On second thought, I noticed 'apply' keyword. So it looks like b) and d) are right.
Thanks,
Don

Originally posted by Balbir Singh:
Given the requirement statement below, which of the following public methods would be used in a related sequence diagram?
When a mortgage payment is received, the appropriate amortization table will be used to calculate the interest and principle amounts to apply against the balance.


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).

I answered b and d. Since a) sounds rubbish and c) doesnot fit in the context as the principal amount is to be applied against the balance for a I]mortgage[/I] payment.
Any comments?

reply
    Bookmark Topic Watch Topic
  • New Topic