This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Urgent , pl. answer these questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Urgent , pl. answer these questions" Watch "Urgent , pl. answer these questions" New topic
Author

Urgent , pl. answer these questions

Jack Majad
Greenhorn

Joined: Mar 03, 2001
Posts: 4
These are sample questions from 486
1. Referring to these partial requirements, which of the following is true?

a) The verbs in the requirements become methods in the object model.

b) Some of the verbs in the requirements become methods of the nouns they reference. E.g., a FinancialInstitution class would have a getFinancialInformationFor( aCustomer ) method.

c) Some of the verbs in the requirements become methods of the concept taking the action. E.g., a LoanOfficer class would have a getFinancialInformationFor( aCustomer ) method.

d) Some of the verb phrases in the requirements become overriding methods of the related superclass, due to the specialization of the action.

Single Select
2. Which of the following are recommended when developing an OO system?
a) Write a description of the concept that a class represents whenever a new class is declared.

b) Use interfaces for types or roles that objects may play, independent of their location in the class hierarchy.

c) Apply design patterns where applicable in the system.

d) Name classes based on their design specifics, such as "array" or "queue".
multiple select (3)

3.Referring to the deployment diagram, Figure Deployment, for a system that manages mortgages, which of the following are correct?

a) GUI classes should be in the Branch Client process.

b) These components comprise a three-tier architecture, whether they execute on the same or different computers.

c) For scalability, the business objects should reside in the Financial Apps Server.

d) Client integration is at the Database Server.

Multiple Select (3)

4. 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(2)

5.An Observer is a design pattern where dependent objects "register" with another "server" object so that they are notified of changes to the server object. The server object isn't specifically aware of its dependents, but only knows to notify them of changes to its state. Which of the following uses an Observer pattern to maintain the correct separation of model and view in a layered software architecture?

a) GUI components register with business components so that they can update their views when the underlying model objects change.

b) GUI components register with other GUI components so that can be notified of user changes to the state of the system.

c) Business components register with GUI components so that the GUI components know who to ask for updates to their state.

d) Business components register with other business components so that they can enforce business rules based on state change.

Single Select


6. Which of the following are good practices to use while designing for reuse?

a) Define a persistence framework that provides services for persisting objects.

b) Use design patterns, wherein complete solutions are already defined.

c) Use controller objects to control the flow of processes in the system.

d) Assign responsibilities to classes such that coupling between them remains low.

e) Design classes with low cohesion.

Multiple Select(2)

Thanks!!!










Avijeet Dash
Ranch Hand

Joined: Jan 21, 2001
Posts: 148
my answers:
1. b
2. a,b,c
3. a,b,c
4. b,c
5. a
6. b,d
any other answers???
sudharma malkas
Greenhorn

Joined: Mar 03, 2001
Posts: 9
my answers are similar to avijeets except
4. a,c
specification perspective is independent of language
Thanks!
Jes Sie
Ranch Hand

Joined: Jul 24, 2001
Posts: 188
Originally posted by Jack Majad:
These are sample questions from 486
1. Referring to these partial requirements, which of the following is true?

a) The verbs in the requirements become methods in the object model.

b) Some of the verbs in the requirements become methods of the nouns they reference. E.g., a FinancialInstitution class would have a getFinancialInformationFor( aCustomer ) method.

c) Some of the verbs in the requirements become methods of the concept taking the action. E.g., a LoanOfficer class would have a getFinancialInformationFor( aCustomer ) method.

d) Some of the verb phrases in the requirements become overriding methods of the related superclass, due to the specialization of the action.

Single Select


I belive this question reference off from here http://certify.torolab.ibm.com/figures/test486F11.gif
I understand the answer should be B, but why not C?


Thank you.<br /> <br />- Jess Sie<br /> <a href="mailto:jess@see-consulting.com" rel="nofollow">jess@see-consulting.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Urgent , pl. answer these questions
 
Similar Threads
Pls can someone answer this questions for me with explanation
PreAssessment Questions and Answers
Longer Post - ALL IBM ICE EXAM Q's for UML
Answers to IBM 486 sample test
UML Sample testing questions