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

UML Questions(Pinpoint the wrong answers)

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All!
I am new comer to this forum! I want to give the test 486!
Below is the test score that i recently passed .
I got 25/30 questions correct.
Can u plz help me in identifying which of the questions are wrong!
Thanx in Advance!
Muhammad Asif Abbasi
---------------------------------------------------------------
Exam Score:
Category QNum Numc %age
Design an implementation techniques 4 2 50
REquirements modelling 5 5 100
Static Modelling 7 7 100
DEvelopment process 4 3 75
Dynamic Modelling 6 4 66
Architacture 4 4 100
Total questions : 30
Num needed to pass : 21
Your correct answers : 25
PAssing score: 70
Your score : 83
Grade : pass
---------------------------------------------------------------

30)
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 - Please select all of the correct answers (this question has 2 correct choices).

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

28)
Software entropy is a phenomenon wherein programs begin with well designed state, but as new functionalities are added, they lose their structure. Refactoring of classes is done to avoid software entropy. What are good practices to follow during refactoring?





* a) Renaming a method and moving a field from one class to another should be done in small steps, testing changes as required.

* b) Break down classes that are heavily loaded with responsibilities into smaller classes and distribute the responsibilities among them effectively.

* c) Consolidate similar methods from different classes in the same type hierarchy into a common super class wherever possible.

d) Add functionality and refactor simultaneously in order to obtain an efficient and effective design.


Multiple Select - Please select all of the correct answers (this question has 3 correct choices).

27)
A partial class diagram of a college course management application is shown in Figure studentInstructor. A student knows all of the instructors he is registered with. Similarly, an instructor also knows all the students who are registered with him. A new requirement is added which specifies that an instructor can also be a student for some courses. What is the BEST partial application redesign shown in the Figure?





a) Design 'A'

b) Design 'B'

* c) Design 'C'

d) Design 'D'

e) Design 'E'


Single Select - Please select the best answer (one and only one choice must be selected).

http://certify.torolab.ibm.com/figures/test486F22.gif

26)
Which of the following details are required in OO diagrams?





a) Show navigability of associations in conceptual class diagrams.

b) Show different scenario of a use case on the same interaction diagram for clear understanding.

* c) Show message sequence numbers in collaboration diagrams.

* d) If asynchronous messages exist in a scenario, show them in interaction diagrams.


Multiple Select - Please select all of the correct answers (this question has 2 correct choices).

25)
Which of the following are true about the strengths and weaknesses of activity diagrams?





* a) Activity diagrams are good at enumerating object collaborations to accomplish a task.

* b) Activity diagrams are good at exploring the interactions related to one or more use cases.

c) It is difficult to discern exactly how to map the activity diagram actions to object model specifics.

* d) Since activity diagrams allow parallel behavior modeling, they are good for workflow modeling.


Multiple Select - Please select all of the correct answers (this question has 3 correct choices

24)
Which of the following are true about interaction diagrams?





* a) Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen.

* b) Interaction diagrams are good at designing part or all of one use case's functionality across multiple objects.

* c) Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects.

* d) Sequence diagrams are logically equivalent to collaboration diagrams, differing primarily in format of presentation.


Multiple Select - Please select all of the correct answers (this question has 4 correct choices

23)
Refer to the state diagram in Figure State for MortgageApplication. Suppose that there is a requirement to add state transitions to a "Cancelled" state from any states except "Closed". Which of the following are valid ways to add the "Cancelled" state?





a) Funnel all cancellations from only one of the other states.

b) Add a "Cancelled" superstate to the diagram.

* c) Add transitions from "Submitted" and "Qualified" to a new "Cancelled" state.

d) Add an "Active" superstate that handles the transition to "Cancelled".


Multiple Select - Please select all of the correct answers (this question has 2 correct choices).

http://certify.torolab.ibm.com/figures/test486F16.gif

22)
Referring to the sequence diagram in Figure Interaction, what methods MUST be implemented by the Account class?





* a) withdraw, checkBalance

b) withdraw, log, checkBalance

c) withdraw, checkBalance, acknowledge

d) withdraw, acknowledge


Single Select - Please select the best answer (one and only one choice must be selected
http://certify.torolab.ibm.com/figures/test486F15.gif
21)
Which of the following is the BEST description of the sequence diagram in Figure Interaction? When an instance of a:





* a) Person is asked for its assets, it sums the balances of each of its asset Accounts.

b) Customer is asked for its assets, it sums the balances of each of its asset Accounts.

c) Person is asked for its assets, it returns the balance of its asset Account.

d) Customer is asked for its assets, it returns the balance of its asset Account.


Single Select - Please select the best answer (one and only one choice must be selected
http://certify.torolab.ibm.com/figures/test486F19.gif
20)
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 - Please select the best answer (one and only one choice must be selected).
http://certify.torolab.ibm.com/figures/test486F11.gif
19)
Refer to the Figure Sample 1. Consider the scenario that eStore.com sells small appliances over the Internet. Currently, the store's catalog includes over 50 appliances from 10 different suppliers. A partial class diagram is shown in Figure Sample 1. If there is a new requirement to restock the warehouse automatically as products are sold, how is the new requirement BEST handled?





a) Add "reorderLevel" and "reorderQuantity" attributes used by a new deplete() method in the Inventory class. Use these to generate new orders as InventoryProducts are sold.

* b) Add "reorderLevel" and "reorderQuantity" attributes used by a new deplete() method in the InventoryProduct class. Use these to generate new orders as InventoryProducts are sold.

c) Add a deliver() method to the Supplier class that uses the InventoryProduct's amountOnHand attribute to maintain the InventoryProducts in the warehouse.

d) Add "reorderLevel" and "reorderQuantity" to InventoryProduct. Create a Warehouse class that monitors the InventoryProducts' "amountOnHand", generating an order as levels drop below a "reorderQuantity".


Single Select - Please select the best answer (one and only one choice must be selected).
http://certify.torolab.ibm.com/figures/test486F9.gif
18)
A resulting benefit of using polymorphism is reduction of:





a) methods in the associated classes

b) subclasses needed to accomplish the same functionality

* c) case statements and conditionals

d) coupling between classes in the system


Single Select - Please select the best answer (one and only one choice must be selected).

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

16)
Referring to the diagram in Figure Interface, which of the following are true?





a) Classes "X" and "Y" are subclasses of Mortgageable.

* b) Instances of "X" and "Y" can be passed as parameters declared as type Mortgageable.

* c) "X" and "Y" must implement a getAppraisedValue() method.

d) There are instances of Mortgageable in the production system.


Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
http://certify.torolab.ibm.com/figures/test486F13.gif
15)
In design #1, the Catalog object has a getProducts() method, which returns a collection object, such as a Dictionary or array, containing all the Products the company sells. In design #2, the Catalog object has a getProductNumbered(anIdentifier) method, which returns the Product with the specified unique identifier. Considering the objects returned, which of the following BEST characterizes the two designs?





a) Both designs maintain the objects' encapsulation and reduce coupling by accessing state data via methods only and not directly.

b) Both designs break the objects' encapsulation, adding brittle coupling.

* c) Design #1 breaks the encapsulation of the Catalog, adding brittle coupling. Design #2 maintains the encapsulation of the Catalog, making future design changes easier.


Single Select - Please select the best answer (one and only one choice must be selected).

14)
Referring to the partial class diagram in Figure Qualified Association, which of the following BEST describes the relationship?





* a) Access to SalesLineItems is by Product. A SalesTransaction can have multiple SalesLineItems for one Product.

b) Access to Products is by SalesLineItem. A SalesTransaction has zero or more SalesLineItems for one Product.

c) SalesTransactions contain Products, which are listed by one or more SalesLineItems.

d) SalesLineItems are for a quantity of one or more Products for a particular SalesTransaction.


Single Select - Please select the best answer (one and only one choice must be selected).
http://certify.torolab.ibm.com/figures/test486F12.gif
13)
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 - Please select all of the correct answers (this question has 3 correct choices).
http://certify.torolab.ibm.com/figures/test486F7.gif
12)
Which of the following are true about software architecture?





* a) Two tier software architectures do not scale to as many clients as three+ tier architectures.

b) Two tier architectures lead to more reuse than three+ tier architectures.

c) Thin clients are restricted to GUI parts

d) Technologies such as CORBA, RMI, DCOM, and Servlets allow multiple clients to work with the same server-based business objects.


Single Select - Please select the best answer (one and only one choice must be selected).


11)
Benefits resulting from designing and implementing layered application components include:





a) reduced initial design time.

b) reduced time for initial development cycle.

* c) maintainability and reuse of the application components


Single Select - Please select the best answer (one and only one choice must be selected).

10)
Given the dependency in the Figure Packages, which one of the following is correct?





a) Changes to the Loan package requires an examination of the Customer and Account packages to see if changes are required to their classes.

b) Changes to the Loan package requires an examination of the Customer package to see if changes are warranted. If they are, the Account package needs to be examined to see if changes are required to its classes.

* c) Changes to the Account package require` an examination of the Customer package to see if changes are warranted. If they are, the Loan package needs to be examined to see if changes are required to its classes.

d) Changes to the packages can be made independently of changes to other packages since dependencies have been localized to each of the packages' internal designs.


Single Select - Please select the best answer (one and only one choice must be selected).
http://certify.torolab.ibm.com/figures/test486F8.gif
9)
Which of the following MUST be present to write use cases?





a) Development team

b) Object technology expert

* c) Domain expert

* d) Requirements decision maker


Multiple Select - Please select all of the correct answers (this question has 2 correct choices).

8)
Based on the following statements from a domain expert on a project, which of the following are requirements that MUST be extracted?





a) A note must be sent to the customer for incomplete mortgage applications, listing the missing items.

* b) A file must be established for every mortgage application at the time it is submitted, whether the application is complete or not.

c) Addresses on mortgage applications must be entered as all capital letters.

* d) A unique mortgage number must be assigned to each mortgage file. This identifier must follow financial industry standard format


Multiple Select - Please select all of the correct answers (this question has 2 correct choices).
http://certify.torolab.ibm.com/figures/test486F2.gif
7)
When creating the use cases related to the "Prepare for an Event" scenario in the Figure ChefScenario, which one of the following BEST represents the type of terminology that the use cases should contain?





* a) chef, menu, recipes, ingredients

b) end user, bill of fare, cooking specifications, food contents

c) chef object, menu object, recipe object, ingredient object

d) person record, menu print stream, recipe container, ingredient array


Single Select - Please select the best answer (one and only one choice must be selected).

http://certify.torolab.ibm.com/figures/test486F5.gif
6)
What is wrong with the following analysis use case?





* a) There are design details intermixed with the requirements.

b) The actor's actions and system responses are not separated.

c) "Sell goods" is too broad to be a use case.

d) There is nothing wrong with this use case.


Single Select - Please select the best answer (one and only one choice must be selected).
http://certify.torolab.ibm.com/figures/test486F3.gif

5)
A use case model should:





a) Capture as much design detail as possible.

* b) Identify all of the actors, use cases, and their relationships.

c) Describe all of the implementation specifics of an application.


Single Select - Please select the best answer (one and only one choice must be selected).

4)
If a use case had a requirement "Calculate account balance," which OOAD artifact would be the BEST source for determining the name of the public method used to invoke the operation?





a) Use case

* b) Interaction diagram

c) Class diagram

d) Activity diagram


Single Select - Please select the best answer (one and only one choice must be selected).


2)
An iterative development process:





a) represents a structured methodology, which includes functional decomposition.

* b) is a technique for managing complexity and plans for change during software development.

c) is a top-down approach without the dataflow diagrams.

d) is equivalent to an incremental development process.


Single Select - Please select the best answer (one and only one choice must be selected).


1)
Which of the following are effective ways to manage an OO project?





* a) Organize the scheduled tasks along the lines of the use cases.

* b) Organize the test cases along the lines of the use cases.

* c) Organize the user's guide along the lines of the use cases.

* d) Organize development teams along the lines of the packages.


Multiple Select - Please select all of the correct answers (this question has 4 correct choices).

 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic