PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 1D0-538

Exam 1D0-538: Object Oriented Analysis and Design Test (JCERT)

Which figure in the Exhibit is the BEST design to support these new types of objects?

Refer to the exhibit to answer the question.

Assume the following class dictionary: Stock: Equity ownership of a portion of a company. Bond: A
loan made to a company that is repaid with interest at a future date. There is a new requirement to
extend the “trade stock” use case by supporting bond trades. Which figure in the Exhibit is the
BEST design to support these new types of objects?

which of the following is appropriate to fill in ALL of the missing parts of the code snippets?

Refer to the exhibit to answer the question.

Given that the system supports trading Stocks and Bonds, which of the following is appropriate to
fill in ALL of the missing parts of the code snippets?
Position position;
Portfolio aPortfolio; aPortfolio = new Portfolio ( “Fred Mertz” );
______ instrument; instrument = new Stock ( “XXXX” );
aPortfolio.buy ( new Position ( 100, instrument );
instrument = new Bond ( “YYYY” );
aPortfolio.buy ( new Position( 50, instrument );
……
public class Portfolio {
public void buy( int anAmount, _____ anInstrument ) {
……
/}
public void sell(int anAmount, _____ anInstrument ) {
……
/}
/}

which of the following BEST completes the interaction diagram in the Exhibits to withdraw funds from a certifi

Refer to the exhibits to answer the question.

It is required to incur a penalty whenever a customer withdraws funds from a certificate of deposit
before its maturity date. Given the class diagram in the Exhibits, which of the following BEST
completes the interaction diagram in the Exhibits to withdraw funds from a certificate of deposit?


Page 9 of 12« First...7891011...Last »