Number: 1Category: GeneralQuestion: Object-Oriented Technologies have the following benefits:Answer1: Increased encapsulationAnswer2: Decreased coupling between modulesAnswer3: Increased cohesion of codeAnswer4: High level of abstractionAnswer5: All of the above
Number: 2Category: GeneralQuestion: In Object-oriented Technology the word "UML" meansAnswer1: Unified Module LanguageAnswer2: Unified Modeling LanguageAnswer3: Universal Module LevelingAnswer4: Universal Module Language
Number: 3Category: GeneralQuestion: Which of the following statements is true?Answer1: Structured analysis was developed from Object-oriented Technology.Answer2: UML is a collaboration of the main stream Object-Oriented Methodologies. Answer3: Object-Oriented Technology is the culmination of High level Programming languages such as Java and C++. Answer4: Only object-oriented programming languages can be used to implement object-oriented designs.
Number: 4Category: GeneralQuestion: What is true about Object-oriented Analysis?Answer1: It is a method of modeling requirements of the systemAnswer2: It is a technique for analyzing the design of the systemAnswer3: Code can be written directly from the AnalysisAnswer4: It comes after object-oriented design in the product life cycle.
Number: 5Category: ClassesQuestion: A object hasAnswer1: BehaviorAnswer2: StateAnswer3: IdentityAnswer4: AttributesAnswer5: All of the Above
Number: 6Category: ClassesQuestion: Which of the following is true?Answer1: An object is an instance of a classAnswer2: A class is an abstract definition for a set of objectsAnswer3: An object can be in more than one classAnswer4: An object has a life span. Answer5: All of the above
Number: 7Category: ClassesQuestion: An object's state is determined by, Answer1: The value of all of its attributesAnswer2: Its relationships with other objectsAnswer3: Its history at any given point in timeAnswer4: The operations that it can performAnswer5: Answers 2 and 4Answer6: Answers 1 and 2Answer7: Answers 1, 3, and 4Answer8: Answers 1, 2, and 3
Number: 8Category: ClassesQuestion: A class's structure is Answer1: Represented in codeAnswer2: Represented by attributes and relationshipsAnswer3: Represented by operations.Answer4: Represented by object interactions.Answer5: Answers 1 and 2Answer6: Answers 2 and 3
Number: 9Category: ClassesQuestion: A class's behavior is Answer1: Determined by a set of operationsAnswer2: Determined by its attributesAnswer3: Is unique for each object of the classAnswer4: Determined by its parent class.Answer5: Answers 1 and 2Answer6: Answers 2 and 3
Number: 10Category: ClassesQuestion: Which of the following statements is true?Answer1: Class cardinality determines the number of objects that can exist of the specific class.Answer2: An abstract class contains only private operations.Answer3: A utility class only contains operations.Answer4: A parameterized class can only contain one formal parameter.
Number: 11Category: ClassesQuestion: Which of the following statements are true about method visibility?Answer1: A class's methods are visible to all other objects of the same class independent of its visibility.Answer2: Other objects can access operations of a class if the visibility of the operation is public.Answer3: An object can access all of its methods regardless of the visibility of the operation's visibility.Answer4: A child class can access all of its parents operations regardless of visibility.Answer5: Answer 1 and 2Answer6: Answer 2 and 3Answer7: None of the above
Number: 12Category: ClassesQuestion: Which of the following is false about cardinality mapping?Answer1: "1" - exactly one and only oneAnswer2: "0..n" - any real number including zeroAnswer3: "0..1" - zero or one Answer4: "3..7" - 3 or 7Answer5: "3,7" - 3 or 7
Number: 13Category: ClassesQuestion: What is the type of visibility required for a child class to see the operations of a parent class in an inheritance relationship?Answer1: PublicAnswer2: ProtectedAnswer3: PrivateAnswer4: ImplementationAnswer5: All of the aboveAnswer6: Answers 1 and 3Answer7: Answers 2 and 3Answer8: Answers 1 and 2
Number: 14Category: ClassesQuestion: Polymorphism is Answer1: When an operation in a child class has the same name and operation signature as the parent class.Answer2: When an object changes the class that it belongs.Answer3: When an operation in the same class has the same name and a different signature.Answer4: When an attribute in a child class has the same, name and type, of the parent class.
Number: 15Category: ClassesQuestion: The term "overriding" refers toAnswer1: An operation in a child class has the same name and operation signature as the parent class.Answer2: An object changes the class that it belongs.Answer3: When an operation in the same class has the same name and a different signature.Answer4: When an attribute in a child class has the same, name and type, of the parent class.
Number: 16Category: ClassesQuestion: Attributes of children classes in an inheritance relationship can have the same name as attributes in the parent class.Answer1: This is called attribute overriding.Answer2: This is called attribute polymorphism.Answer3: This statement is not a valid in Object-oriented technology.Answer4: This is called attribute redefinition.
Number: 17Category: ClassesQuestion: What visibilities can attributes can have?Answer1: PublicAnswer2: ProtectedAnswer3: PrivateAnswer4: ImplementationAnswer5: All of the aboveAnswer6: Answers 1 and 4Answer7: None of the above
Number: 18Category: ClassesQuestion: A utility class refers to Answer1: A class that creates and destroys other classesAnswer2: A class that has 1 as the cardinalityAnswer3: A group of common operations grouped together in a classAnswer4: A class that controls the behavior of other classes.
Number: 19Category: RelationshipsQuestion: What statement best describes an inheritance relationship? Answer1: "HAS A" relationship.Answer2: "IS A" relationshipAnswer3: "IMPLEMENTS" relationship Answer4: "USES" relationshipAnswer5: "IS A MEMBER" relationship
Number: 20Category: RelationshipsQuestion: What statement best describes a realize relationship?Answer1: "HAS A" relationship.Answer2: "IS A" relationshipAnswer3: "IMPLEMENTS" relationship Answer4: "USES" relationshipAnswer5: "IS PART OF" relationship
Number: 21Category: RelationshipsQuestion: What statement best describes an aggregation relationship?Answer1: "HAS A" relationship.Answer2: "IS A" relationshipAnswer3: "IMPLEMENTS" relationship Answer4: "USES" relationshipAnswer5: "IS PART OF" relationship
Number: 22Category: RelationshipsQuestion: What statement best describes a dependency relationship? Answer1: "HAS A" relationship.Answer2: "IS A" relationshipAnswer3: "IMPLEMENTS" relationship Answer4: "USES" relationshipAnswer5: "IS PART OF" relationship
Number: 23Category: RelationshipsQuestion: What statement best describes an association relationship? Answer1: "HAS A" relationship.Answer2: "IS A" relationshipAnswer3: "IMPLEMENTS" relationship Answer4: "USES" relationshipAnswer5: "IS PART OF" relationship
Number: 24Category: RelationshipsQuestion: The class foo has many of the same attributes as class bar, but it behaves slightly differently from bar. It can be said that foo is a specialization of bar. What is the relationship between foo and bar?Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: DependencyAnswer6: None of the Above
Number: 25Category: RelationshipsQuestion: The class foo represents an interface to a library. The class bar contains all of the operations of the foo class and is the actual class that is used at runtime of the library. What is the relationship between foo and bar?Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: DependencyAnswer6: None of the above
Number: 26Category: RelationshipsQuestion: An operation in class foo calls an operation in class bar. There are no other relationships between the two classes. What type of relationship is this one?Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: Dependency
Number: 27Category: RelationshipsQuestion: A car has four wheels. The class car and the class wheel have what type of relationship?Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: Dependency
Number: 28Category: RelationshipsQuestion: The student attends several classrooms. The classroom can hold several students. What is the relationship between the student and the classroom?Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: Dependency
Number: 29Category: RelationshipsQuestion: What is true about tertiary relationships?Answer1: It is a relationship that relates one class to three other classes.Answer2: It is a single relationship that relates three classes together.Answer3: It is a resulting relationship from a primary and secondary relationship.Answer4: It is not a valid term in object-oriented technologies.
Number: 30Category: RelationshipsQuestion: What kinds of items are related in realization relationships?Answer1: An interface and its implementation classAnswer2: A Parameterized class and an instantiated class Answer3: An operation and a classAnswer4: An attribute and a classAnswer5: A package and a classAnswer6: All of the aboveAnswer7: Answers 1 and 2Answer8: Answers 1 and 3Answer9: Answers 2 and 3
Number: 31Category: RelationshipsQuestion: Select the relationships that can have cardinality, other than "1".Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: DependencyAnswer6: All of the aboveAnswer7: Answers 1, 3, and 4Answer8: Answers 1 and 2Answer9: Answers 3,4, and 5
Number: 32Category: RelationshipsQuestion: Which of the following statements are false?Answer1: A class can have a relationship to itself.Answer2: An object can have a relationship to other objects of the same class.Answer3: A class can have only one relationship to another class.Answer4: A relationship can exist with a cardinality of zero.Answer5: A class can exist without any relationships to other objects.
Number: 33Category: RelationshipsQuestion: What types of relationships can a class have to itself?Answer1: AssociationAnswer2: AggregationAnswer3: InheritanceAnswer4: RealizationAnswer5: DependencyAnswer6: Answers 1 and 2Answer7: Answers 3 and 5Answer8: Answers 4 and 5Answer9: None of the above
Number: 34Category: Use CasesQuestion: What is an actor in use case analysis?Answer1: Anything that interacts with the system.Answer2: A term for business objects that reside in the system.Answer3: Anything that reacts to outside forces of the system.Answer4: This is not a term in use case analysis.
Number: 35Category: Use CasesQuestion: What of the following is true about use case analysis?Answer1: The actors of the system determine the boundary of the system.Answer2: The set of all actors delimits the system.Answer3: Use Cases describe the responses of the system to stimuli from its actors.Answer4: Use Cases can send stimuli to actors of the system.Answer5: All of the above
Number: 36Category: Use CasesQuestion: A Use Case represents Answer1: A class hierarchy of business objects.Answer2: A set of uses relationships in the model.Answer3: A sequence of transitions that are performed by the system.Answer4: A state machine for the complete system.Answer5: None of the above
Number: 37Category: Use CasesQuestion: Which of the following is false about Use Case Analysis?Answer1: An Actor must be directly associated with at least one use case in the system.Answer2: A use case must be directly related to at least one actor of the systemAnswer3: A use case can be related to actors and other use cases.Answer4: Actors can be people, machines, or other systems.Answer5: All of the above are true
Number: 38Category: ScenariosQuestion: What is true about scenarios?Answer1: It is an instance of a Use Case.Answer2: It represents one flow of events in the system.Answer3: It contains objects of the system and the interaction between the objects.Answer4: It is a good place to find objects that can be classified into classes.Answer5: All of the aboveAnswer6: None of the above
Number: 39Category: ScenariosQuestion: A software designer wants to show a scenario that has a time critical flow of control between multiple objects. What diagramming technique should they use?Answer1: Sequence DiagramAnswer2: Collaboration DiagramAnswer3: State DiagramAnswer4: Class Diagram
Number: 40Category: ScenariosQuestion: A Sequence diagram containsAnswer1: ObjectsAnswer2: MessagesAnswer3: Object VisibilityAnswer4: Timing constraintsAnswer5: Focus of controlAnswer6: All of the aboveAnswer7: All of the above except 3Answer8: All of the above except 5Answer9: All of the above except 1
Number: 41Category: ScenariosQuestion: Collaboration diagrams containAnswer1: ObjectsAnswer2: MessagesAnswer3: Object VisibilityAnswer4: Timing constraintsAnswer5: Focus of controlAnswer6: All of the aboveAnswer7: All of the above except 3Answer8: All of the above except 5Answer9: All of the above except 1
Number: 42Category: ScenariosQuestion: What is true about messages in scenarios?Answer1: The operation of the calling objectAnswer2: The operation of the called objectAnswer3: It is sent by the actor to the systemAnswer4: It is sent by the system to the actorAnswer5: None of the above
Number: 43Category: State MachinesQuestion: A State Machine containsAnswer1: States of a classAnswer2: Transitions between statesAnswer3: Actions performed by the classAnswer4: Events that trigger actions in the classAnswer5: All of the above
Number: 44Category: State MachinesQuestion: A state machine can have only oneAnswer1: Termination StateAnswer2: Initial StateAnswer3: Action per stateAnswer4: Transition from a stateAnswer5: All of the above
Number: 45Category: State MachinesQuestion: A non-deterministic State Machines isAnswer1: When a state has multiple non-qualified outgoing transitions.Answer2: When a state has one non-qualified outgoing transition.Answer3: When a transition does not go to a state.Answer4: When a transition does not have a guard condition.
Number: 46Category: State MachinesQuestion: A transition with out a guard condition or a trigger event is calledAnswer1: Non-deterministic transitionAnswer2: Automatic transitionAnswer3: Under-defined transitionAnswer4: Illegal transition
Number: 47Category: State MachinesQuestion: Which of the following statements is false?Answer1: An object can be in more than one state at a timeAnswer2: A state machine can have multiple termination statesAnswer3: A state can remember which sub state was the last stateAnswer4: A transition can fire conditionally.
Number: 48Category: Design PatternsQuestion: What is false about design patterns?Answer1: A design pattern can decrease time to market and increase quality.Answer2: A design pattern is a map from object-oriented design to specific language implementation.Answer3: A design pattern contains well-defined constructs for specific types of problems.Answer4: Design patterns can be applied to software problems, and organizational problems.
Number: 49Category: Design PatternsQuestion: What type of pattern is a factory pattern?Answer1: A behavioral patternAnswer2: A creation patternAnswer3: A structural patternAnswer4: An organizational pattern
Number: 50Category: Design PatternsQuestion: An engineer needs to design a system for multiple customers that are accessing the same database. Each customer has unique ways they want to look at the information from the database. They will need to see changes to the data in a real-time fashion. What design pattern will be most useful?Answer1: Abstract FactoryAnswer2: BlackboardAnswer3: Model View ControllerAnswer4: ReflectionAnswer5: Part-WholeAnswer6: None of the above
Answer