A sequence diagram is - Philadelphia University



Course: Software ModelingLearning Outcomes:A1, A2, A3, A4B1, B4, B5, B7C3D3, D4____________________________________________________________________________1. What is the purpose of software modeling? (A3, A4)A. Developing models for software development.B. Designing software applications before coding.C. Developing software diagrams.D. Developing software prototypes.Answer: AWhich of the following diagram cannot be used to model software ? (A4, B5)DFD E/R Class Diagram None of them Answer: D3. Modeling is an activity which is carried out during: (A1, A4)Requirement phase only Design phase only Testing phase onlyD. The whole software development life cycle E. None of the above Answer: D4. Modeling is an intellectual activity that requires: (B1)Abstraction capabilities Separation of concern capabilities A and BNone of the aboveAnswer: C5. Which of the following is not a modeling view: (A4)Structural viewAnatomy viewBehavioral viewInteraction viewAnswer: BWhat is the Unified Modeling Language? (A2)A. A programming language for describing object-oriented models.B. A diagramming tool for drawing object-oriented models.C. A graphical language for describing object-oriented models.D. A standardized graphical language and notation for describing object oriented modelsAnswer: D6. How is an actor depicted on a use case diagram? (A2, C3)A. An ovalB. A stick figureC. A boxD. A dashed lineAnswer: B7. How is a use case depicted on a use case diagram? (A2, C3)A. An ovalB. A stick figureC. A boxD. A dashed lineAnswer: A8. How is a class depicted on a class diagram? (A2, C3)A. A box with one compartmentB. A box with one or two compartments C. A box with one, two, or three compartments D. An ovalAnswer: C9. How is an association depicted on a class diagram? (A2, C3)A. A solid line joining two class boxesB. A dashed line joining two class boxesC. A diamond touching the upper class boxD. An arrowhead touching the upper class boxAnswer: A10. What does an interaction diagram depict? (A2, C3)A. Objects and linksB. Classes and relationshipsC. Objects and messagesD. States and eventsAnswer: C11. What are the two kinds of UML interaction Diagrams (A2, C3)A. Class diagram and sequence diagramB. Sequence diagram and communication diagramC. Class diagram and communication diagramD. State diagram and communication diagramAnswer: B12. What is a use case? (A2)A. A case study involving usersB. A sequence of interactions between the user and the systemC. A sequence of interactions between the user and the objects in the systemD. A sequence of user inputs to the systemAnswer: B13. What is an actor in a use case? (A2)A. An object inside the systemB. A person who performs on stageC. An external entity that interacts with the systemD. The customer to whom the system will be deliveredAnswer: C14. What is an alternative sequence in a use case (A2)A. A sequence that describes an error caseB. A sequence that is different from the main sequenceC. A sequence that describes interactions with a secondary actorD. A sequence that describes interactions with a primary actorAnswer: B15. What can an inclusion use case be used for? (A2, B1)A. To describe an inclusive use caseB. To describe a lengthy interaction with an actorC. To describe functionality that is common to more than one use caseD. To describe a use case that includes other use casesAnswer: C16. What can an extension use case be used for? (A2, B1)A. To describe a lengthy interaction with an actorB. To describe functionality that is common to more than one use caseC. To describe the functionality of a use case that is extended by another use case(s)D. To describe a conditional extra work that may be carried out by a given use caseAnswer: D17. What can an activity diagram be used for in use case modeling? (A2, B1)A. To depict the sequence of activities executed by all the use cases in the system B. To depict the sequence of active objects in a use caseC. To depict the activities in the main and alternative sequences of a use caseD. A and CAnswer: D 18. What is a generalization/specialization hierarchy? (A2, A4)A. A whole/part relationshipB. An inheritance relationshipC. An association between a generalized class and a specialized classD. A layered hierarchyAnswer: B19. What is an association? (A2)A. A relationship between two classesB. A relationship between two objectsC. A link between two classesD. A link between two objectsAnswer: A20. What is meant by the multiplicity of an association? (A2)A. The number of associations in a classB. The number of associations between two classesC. How many instances of one class relate to how many instances of another classD. How many instances of one class relate to a single instance of another class.Answer: D21. What is an association class? (A2)A. A class with multiple associationsB. A class with one associationC. A class that models an association between two or more classesD. A class that models an association between two or more objectsAnswer: C22. Which of the following interactions could happen on an interaction diagram? (A2, B5)A. An external user sends a message to a user interaction objectB, An external user sends a message to an entity object.C, An external user sends a message o an I/O object.D. An external user sends a message to a printer object.Answer: A23. What is a state in a state machine? (A2)A. A recognizable situation that exists over an interval of timeB. A condition that is True or FalseC. An input from the external environmentD. An output from the systemAnswer: A24. What is an event in a state machine? (A2)A. A discrete signal that causes a change of stateB. An input from the external environmentC. An input that is True or FalseD. The result of a state transitionAnswer: A25. What is an action in a state machine? (A2)A. An occurrence at a point in timeB, A cause of a state transitionC. An interval between two successive eventsD. A computation that executes as a result of a state transitionAnswer: D26. A sequence diagram is (A2)A. a time-line illustrating a typical sequence of calls between object function membersB. call tree illustrating all possible sequences of calls between class function members C. a tree illustrating inheritance and relationships between classes D. a time-line illustrating the changes in inheritance and instantiation relationships between classes and objects over time 27. In the UML notation, an object can be represented by (A2, C3)A. a comment or explanatory note associated with a classB. a rectangular box with the object name and the constraint "{object}" immediatly following it C. a rectangular box with the name of the object in the boxD. a rectangular box with the name of the object, a : and the class name that the object belongs to. 28. Inheritance relationships are represented in the UML notation by: (A2, C3) A. nesting of classes B. lines with a solid diamond at one end C. lines with a triangular arrow at one end D. lines with a triangular arrow at both ends 29. Key elements of the use-case diagram are: (A2)people, computersactors, use-casespeople, classes, and objectsscenarios in point form 20. Aggregation relationships are represented in the UML notation by: (A2, C3) A. nesting of classes B. lines with a solid diamond at one end C. lines with a hollow diamond at one end D. lines with an arrow at one end 31. UML stands for (A2, C3)A. Universal Metadata LanguageB. Universal Modeling Language C. Unified Micro Language D. Unified Modeling Language32. - Which of the following statement is true concerning objects and/or classes? (A2) A. An object is an instance of a class. B. A class is an instance of an object. C. An object includes encapsulates only data. D. A class includes encapsulates only data. 33. An abstract class is which of the following? (A2) A. A class that has direct instances, but whose descendants may have direct instances. B. A class that has no direct instances, but whose descendants may have direct instances. C. A class that has direct instances, but whose descendants may not have direct instances. D. A class that has no direct instances, but whose descendants may not have direct instances 34. Aggregation is which of the following? (A2) A. Expresses a part-of relationship and is a stronger form of an association relationship. B. Expresses a part-of relationship and is a weaker form of an association relationship. C. Expresses an is-a relationship and is a stronger form of an association relationship. D. Expresses an is-a relationship and is a weaker form of an association relationship. 35. Composition is a stronger form of which of the following? (A2) A. Aggregation B. Encapsulation C. Inheritance D. All of the above. 36.- Which of the following is a technique for hiding the internal implementation details of an object? (A4, B4)A. Encapsulation B. Polymorphism C. Inheritance D. All of the above. 37. For showing scenarios, which one of the following object oriented modeling artifacts is the MOST useful? (A4, B4)A. Interaction DiagramsB. Activity DiagramsC. Use CasesD. State Diagrams 38. For business modeling of a human organization or the workflow of a system, which one of the following object oriented modeling artifacts is the MOST useful? (A4, B4)A. Interaction DiagramsB. Activity DiagramsC. State DiagramsD. Class Diagrams 39. Activity diagrams can be used in the following situation (A4, B4)A. Describing a workflowB .Describing a complicated sequential algorithmC. Dealing with concurrent activities D. All of the above 40. Which object oriented modeling artifact is the MOST useful in situations where asynchronous events occur? (A4, B4)A. State diagramsB. Activity diagramsC. Sequence diagramsD. Use case diagrams 41. Which one of the following highlights the roles each object plays in an interaction model? (A4, B4)A. Sequence DiagramsB. State diagrams C. Deployment DiagramsD. Package Diagrams 42. Which one of the following is true? In a dynamic model (B1, B5)A . Every trigger must map to an operation in the interface of a class.B .Every arrow incident on an object in an Interaction Model represents an operation that must be in the interface of a class.C.Both "A" and "B" are true.D. Both "A" and "B" are false.43. For showing how several objects collaborate in a single use case, which one of the following object oriented modeling artifacts is the MOST useful? (B1, B5)A. Interaction DiagramsB. Activity DiagramsC.State DiagramsD .Class Diagrams 44. When you want to look at the behavior of a single object across many use cases, which one of the following object oriented modeling artifacts is the MOST useful? (B2, B5)A. Activity DiagramsB. Sequence DiagramsC.State DiagramsD. Class Diagrams 45. Which of the following are valuable for concurrent processes? (A2, B4)B. Flow chartsC. State ChartsD. A and C 46. In a State Diagram, which of the following is true? (A2)A. Actions are associated with transition and are considered to be processes that occur quickly and are not interruptible.B. Actions are associated with transition and are considered to be processes that occur quickly and are interruptible.C .Activities are associated with states and can take longer. An activity may be interrupted by some event. D. A and C 47. The three types of relationships use cases have in a use case diagram include: (A2, C3) A. Extension, representation, elaboration B. Extension, inclusion, and generalization C. Inclusion, representation, realization D. Elaboration, generalization, boundarization 48. Which of the following statements are false? (B1)A. If the Data Type of the feature is primitive (i.e.,provided by the language, like int or string), model as an Attribute.B. If the Data Type of the feature is near primitive (i.e.,something like date or Money), model as an Attribute.C. If the Data Type of the feature is near primitive (i.e.,something like date or Money), model as an Association.D. A and B 49. The distinction between a class and an object is _____________________. (A2)A. A class is a template for creating objects, while an object is an instance of a classB. An object is a template for creating objects, while a class is an instance of an objectC. Classes can be instantiated from objects, while the opposite is not trueD. Classes and objects both are templates only, but classes provide a more complete template 50.A ___________ models the interaction of the information system with its end-users and other external systems. (A2, A4)A. Implementation plan.B. Use case diagram.C. Class diagram.D. Package diagram. 51. The primary purpose of a class diagram is (A2, A4) A. to construct a vocabulary that is understood by both the users and analysts. B. to show the users interaction with the system C. to uncover additional details such as attributes and methods of a class D. model the interaction between the system and its environment 52. The primary purpose of a use case diagram is (A2, A4) A. to construct a vocabulary that is understood by both the users and analysts. B. to show the users interaction with the system C. to uncover additional details such as attributes and methods of a class D. model the interaction between the system and its environment 53. The Unified Modeling Language (UML) has become an effective standard for software modelling.How many different notaions does it have ? (A2, C3)A. ThreeB. FourC. SixD. Nine54. Which model in system modelling depicts the dynamic behaviour of the system ? (A2, A4)A. Context ModelB. Behavioral ModelC. Data ModelD. Object Model55. Which model in system modelling depicts the static nature of the system ? (A2, A4)A. Behavioral ModelB. Context ModelC. Data ModelD. Structural Model56. The UML supports event-based modeling using ____________ diagrams. (A2, C3)A. Deployment DiagramB. Collaboration DiagramC. State DiagramD, Class Diagram 57. Which of the following?diagram?is not supported by UML (A2)A. Activity DiagramB. Data Flow?Diagram?(DFD)C. State DiagramD. Class Diagram58. _________________ allows us to infer that different members of classes have some common characteristics. (A2, B7)A. RealizationB. AggregationC. GeneralizationD. Dependency 59. ______________ & ______________?diagrams?of UML represent Interaction modeling. (A2)A Use Case, Sequence Diagrams B. Class, Object DiagramsC. Activity, State DiagramsD. Activity, Class diagrams 60. A description of each function presented in the DFD is contained in a ________. (A2, B5)A. data flowB. process specificationC. control specificationD. data store?61. A data model contains (A2, B5)CA. data objectB. attributesC. relationshipsD. All of?the mentioned62. _________ defines the properties of a data object (A2)A. data object name B. data object attributeC. data object operation D. data object Operation and attributes63. A _________ is a graphical representation that depicts information flow and the transforms that are applied as data moves from input to output. (A2)A. data flow?diagramB. state transition diagramC. control specificationD, workflow?diagram64. The __________ enables the software engineer to develop models of the information domain and functional domain at the same time (A2, A4)A. data flow?diagramB. state transition diagramC. control specificationD. activity?diagram65. Which of the following is a dynamic model that shows how the system interacts with its environment as it is used? (A2, A4)A. system context modelB. interaction modelC. environmental modelD. both system context and interaction66. Which of the following is a structural model that demonstrates the other systems in the environment of the system being developed? (A2, A4)A. system context modelB. interaction modelC. environmental modelD. both system context and interaction67. Which model describes the static structure of the system using objects, classes and their relationships? (A2, A4)A. Sequence modelB. Subsystem modelC. Dynamic modelD. Structural model68. Which model shows the flow of object interactions? (A2, A4)A. Sequence modelB. Subsystem modelC. Dynamic modelD. Both Sequence and Dynamic model69. The context?diagram?is also known as (A2)A. Level-0 DFDB. Level-1 DFDC. Level-2 DFDD. None of the above70. A directed arc or line in DFD represents (A2, C3)A. Data StoreB. Data ProcessC. Data FlowD. None of the above71. Data Store Symbol in DFD represents a (A2, C3)A. Physical fileB. Data StructureC. Logical fileD. All of the above72. What defines the circumstances in which a particular operation is valid? (A2, B5)A. ContradictionsB. Post-conditionC. VaguenessD. Pre-condition 73. Select the statement true for?activity?diagrams. (B1, B5)A. They can be used to?discover?parallel activitiesB. They are used to depict workflow for a particular business?activityC. Activity diagram do not tell who does what and are difficult to trace back to object modelsD. All of the above74. Which of the following statement(s) is true about interaction diagrams? (B1, B5)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. All of the above75. Modeling language can be (A2, C3)Only Textual languages Only Visual languages Textual and Visual languages76. What is the Unified Modeling Language? (A2)A. A programming language for describing object-oriented models.B. A diagramming tool for drawing object-oriented models.C. A graphical language for describing object-oriented models.D. A standardized graphical language and notation for describing object oriented modelsModeling is an activity that is often used to analyze and solve problems by: (D3) A. Software engineers and computer scientists B. Business Analysts C. Engineers and scientists from other disciplines D. All of the aboveModels are often used to (D4, B1, B2)ease communication between specialists and non-specialistsdescribe in an abstract way complex systemsanalyze properties complex systemsAll of the above 79. UML notations are used in (A1) A. Traditional SDLC software development methodology B. Object oriented software development methodology C. None of the above D. A and B 80. E/R and DFD diagrams are used in (A1) A. Traditional SDLC software development methodology B. Object oriented software development methodology C. None of the above D. A and B ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download