当前位置:文档之家› 软件工程题库12

软件工程题库12

Object-Oriented Analysis Phase1. The object-oriented approach considers the _____________.A. data and actionsB. data onlyC. functions onlyD. behavior onlyE. interactions only2. In finite State Machines the emphasis is on:A. data and actionsB. dataC. actionsD. data actions and interactionsE. interactions3. Using the object-oriented approach, the emphasis is on:A. data primarilyB. actions primarilyC. neither data nor actionsD. data and actions but asynchronouslyE. data and actions simultaneously4. Why has it been suggested that it is easier to build and maintain large systems using an Object-oriented approach?A. Development and management are easier as objects are essentially independent components.B. Objects are reusable.C. Structured systems tend to look either at actions (e.g. procedures andfunctions) or data only, while, in contrast, Object-Oriented techniques considerboth.D. One approach is not necessarily better than another - its a matter ofpicking horses for courses.E. The Object-Oriented approach avoids the build-and-fix model mentality.5. The advantage of using the Object-oriented approach compared to theStructured approach is:A. fewer faults are detected.B. fewer change requests are made during development and maintenance.C. adaptive and perfective maintainability increased significantly.D. improvements in usabilityE. all of these6. The Object-Oriented paradigm offers major advantages over comparable methods. Which of the following statements is false?A. The use of Object-Oriented has lead to overall improvements with no loss in performance.B. The Object-Oriented paradigm is the ultimate answer to all software engineering problems.C. Adaptive and perfective maintainability increased significantly using the Object-Oriented paradigm .D. Analysis is a process of stepwise refinement, so sometimes the emphasis ison data and sometimes on data but overall they are given equal importance.E. All of these are true.7. UML presents a:A. methodologyB. methodC. set of techniquesD. notationE. all of these8. Object-Oriented analysis is best classed as a(n) ____________ technique.A. formalB. informalC. semiformalD. behaviouralE. procedural9. A scenario is an instance of a(n)A. reuseB. encapsulationC. use caseD. interaction (i.e. message passing)E. inheritance10. A class diagram is analogous to a(n)A. functional decompositionB. finite state machine modelC. use caseD. interaction (i.e. message passing)E. entity relationship diagram11. A state diagram is analogous to a(n)A. functional decompositionB. finite state machine modelC. use caseD. interaction (i.e. message passing)E. entity relationship diagram12. A scenario is:A. one particular set of interactions between specific objects and users.B. a generic description of the overall functionality of a product.C. the overall interaction between the classes of the software product and the actors (users) of the product.D. a description of the actions performed by or to each class or subclass.E. a description of the classes, their attributes and behaviours.13. A method for determining the classes during Object-Oriented analysis is to:A. deduce them from the Use Cases.B. determine them using CRC cards when the developers have domain expertise.C. extract them from the problem definition and its accompanying constraints.D. all of theseE. none of these. i.e. This is a step best left until the design stage.14. Abstract nouns rarely end up corresponding to classes. Instead they are frequently:A. actions or behavioursB. outside the scope of the problem boundaryC. instancesD. methods of classesE. attributes of classes15. In UML an open triangle denotes:A. message passingB. inheritanceC. instantiationD. aggregationE. association16. CRC stands for Class Responsibility __________________.A. ClassificationB. CategorisationC. CommunicationD. CollaborationE. Client17. Using CRC cards, the Responsibilities correspond to the:A. attributesB. functionsC. interactions with other classesD. the classes themselvesE. instances18. The strength of CRC is that it is useful in: CA. determining the classes without the need for a great deal of domain knowledge.B. developing the product using Cleanroom techniques.C. completing the analysis process and making sure everything is correct.D. none of the above. i.e. this approach is superseded by the use of CASE tools.E. all of the above19. If an item possesses a state then it should probably be modelled as a(n):A. state variableB. instance variableC. classD. methodE. sub-class21. A strength of using CASE tools is that:A. a change in the underlying model is reflected in all of the diagrams.B. they are easy for inexperienced analysts to use.C. users are more likely to understand the output than they do written requirements.D. the models constructed are necessary and sufficient to create a contract.E. all of these.。

相关主题