File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Reviews Required. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Reviews Required." Watch "Reviews Required." New topic

Reviews Required.

Khurram Zaman

Joined: Sep 24, 2002
Posts: 8
Below are the questions that I came across with in the Pre Assessment Test. Can anyone guide me about whether or not my answers are correct? and reason for their being correct o incorrect.
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.

Select 2 answers

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".
Select the best answer.

Which of the following are TRUE about interaction diagrams?
A. Interaction diagrams are at their best when they illustrate multiple scenarios.
B. Interaction diagrams are good at designing part or all of one use case's functionality across multiple objects.
C. Interaction diagrams are good for static modeling, since they fill out the classes and methods in the domain.
D. Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects.
E. Sequence diagrams are logically equivalent to collaboration diagrams, differing primarily in format of presentation.
Select 3 answers.
Valid reasons for grouping classes into the same package are that the classes:
A. are related by aggregation.
B. are worked on by the same group of developers.
C. are related by specialization.
D. support the same high-level services.
Select 2 answers.

Khurram Mahmood<br />Software Engineer <br />Connect2web Pakistan Limited.
I agree. Here's the link:
subject: Reviews Required.
jQuery in Action, 3rd edition