Number: 18
Category: Classes
Question: A utility class refers to 
▪ Answer1: A class that creates and destroys other classes
▪ Answer2: A class that has 1 as the cardinality
▪ Answer3: A group of common operations grouped together in a class
▪ Answer4: A class that controls the behavior of other classes.
 
Number: 19
Category: Relationships
Question: What statement best describes an inheritance relationship? 
▪ Answer1: "HAS A" relationship.
▪ Answer2: "IS A" relationship
▪ Answer3: "IMPLEMENTS" relationship 
▪ Answer4: "USES" relationship
▪ Answer5: "IS A MEMBER" relationship
 
Number: 20
Category: Relationships
Question: What statement best describes a realize relationship?
▪ Answer1: "HAS A" relationship.
▪ Answer2: "IS A" relationship
▪ Answer3: "IMPLEMENTS" relationship 
▪ Answer4: "USES" relationship
▪ Answer5: "IS PART OF" relationship
 
Number: 21
Category: Relationships
Question: What statement best describes an aggregation relationship?
▪ Answer1: "HAS A" relationship.
▪ Answer2: "IS A" relationship
▪ Answer3: "IMPLEMENTS" relationship 
▪ Answer4: "USES" relationship
▪ Answer5: "IS PART OF" relationship
 
Number: 22
Category: Relationships
Question: What statement best describes a dependency relationship? 
▪ Answer1: "HAS A" relationship.
▪ Answer2: "IS A" relationship
▪ Answer3: "IMPLEMENTS" relationship 
▪ Answer4: "USES" relationship
▪ Answer5: "IS PART OF" relationship
 
Number: 23
Category: Relationships
Question: What statement best describes an association relationship? 
▪ Answer1: "HAS A" relationship.
▪ Answer2: "IS A" relationship
▪ Answer3: "IMPLEMENTS" relationship 
▪ Answer4: "USES" relationship
▪ Answer5: "IS PART OF" relationship
 
Number: 24
Category: Relationships
Question: 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: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
▪ Answer6: None of the Above
 
Number: 25
Category: Relationships
Question: 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: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
▪ Answer6: None of the above
 
Number: 26
Category: Relationships
Question: 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: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
 
Number: 27
Category: Relationships
Question: A car has four wheels. The class car and the class wheel have what type of relationship?
▪ Answer1: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
 
Number: 28
Category: Relationships
Question: The student attends several classrooms. The classroom can hold several students. What is the relationship between the student and the classroom?
▪ Answer1: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
 
Number: 29
Category: Relationships
Question: 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: 30
Category: Relationships
Question: What kinds of items are related in realization relationships?
▪ Answer1: An interface and its implementation class
▪ Answer2: A Parameterized class and an instantiated class 
▪ Answer3: An operation and a class
▪ Answer4: An attribute and a class
▪ Answer5: A package and a class
▪ Answer6: All of the above
▪ Answer7: Answers 1 and 2
▪ Answer8: Answers 1 and 3
▪ Answer9: Answers 2 and 3
 
Number: 31
Category: Relationships
Question: Select the relationships that can have cardinality, other than "1".
▪ Answer1: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
▪ Answer6: All of the above
▪ Answer7: Answers 1, 3, and 4
▪ Answer8: Answers 1 and 2
▪ Answer9: Answers 3,4, and 5
 
Number: 32
Category: Relationships
Question: 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: 33
Category: Relationships
Question: What types of relationships can a class have to itself?
▪ Answer1: Association
▪ Answer2: Aggregation
▪ Answer3: Inheritance
▪ Answer4: Realization
▪ Answer5: Dependency
▪ Answer6: Answers 1 and 2
▪ Answer7: Answers 3 and 5
▪ Answer8: Answers 4 and 5
▪ Answer9: None of the above
 
Number: 34
Category: Use Cases
Question: 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.

解决方案 »

  1.   

    Number: 35
    Category: Use Cases
    Question: 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: 36
    Category: Use Cases
    Question: 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: 37
    Category: Use Cases
    Question: 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 system
    ▪ Answer3: 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: 38
    Category: Scenarios
    Question: 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 above
    ▪ Answer6: None of the above
     
    Number: 39
    Category: Scenarios
    Question: 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 Diagram
    ▪ Answer2: Collaboration Diagram
    ▪ Answer3: State Diagram
    ▪ Answer4: Class Diagram
     
    Number: 40
    Category: Scenarios
    Question: A Sequence diagram contains
    ▪ Answer1: Objects
    ▪ Answer2: Messages
    ▪ Answer3: Object Visibility
    ▪ Answer4: Timing constraints
    ▪ Answer5: Focus of control
    ▪ Answer6: All of the above
    ▪ Answer7: All of the above except 3
    ▪ Answer8: All of the above except 5
    ▪ Answer9: All of the above except 1
     
    Number: 41
    Category: Scenarios
    Question: Collaboration diagrams contain
    ▪ Answer1: Objects
    ▪ Answer2: Messages
    ▪ Answer3: Object Visibility
    ▪ Answer4: Timing constraints
    ▪ Answer5: Focus of control
    ▪ Answer6: All of the above
    ▪ Answer7: All of the above except 3
    ▪ Answer8: All of the above except 5
    ▪ Answer9: All of the above except 1
     
    Number: 42
    Category: Scenarios
    Question: What is true about messages in scenarios?
    ▪ Answer1: The operation of the calling object
    ▪ Answer2: The operation of the called object
    ▪ Answer3: It is sent by the actor to the system
    ▪ Answer4: It is sent by the system to the actor
    ▪ Answer5: None of the above
     
    Number: 43
    Category: State Machines
    Question: A State Machine contains
    ▪ Answer1: States of a class
    ▪ Answer2: Transitions between states
    ▪ Answer3: Actions performed by the class
    ▪ Answer4: Events that trigger actions in the class
    ▪ Answer5: All of the above
     
    Number: 44
    Category: State Machines
    Question: A state machine can have only one
    ▪ Answer1: Termination State
    ▪ Answer2: Initial State
    ▪ Answer3: Action per state
    ▪ Answer4: Transition from a state
    ▪ Answer5: All of the above
     
    Number: 45
    Category: State Machines
    Question: A non-deterministic State Machines is
    ▪ Answer1: 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: 46
    Category: State Machines
    Question: A transition without a guard condition or a trigger event is called
    ▪ Answer1: Non-deterministic transition
    ▪ Answer2: Automatic transition
    ▪ Answer3: Under-defined transition
    ▪ Answer4: Illegal transition
     
    Number: 47
    Category: State Machines
    Question: Which of the following statements is false?
    ▪ Answer1: An object can be in more than one state at a time
    ▪ Answer2: A state machine can have multiple termination states
    ▪ Answer3: A state can remember which sub state was the last state
    ▪ Answer4: A transition can fire conditionally.
     
    Number: 48
    Category: Design Patterns
    Question: What is false about design patterns?
    ▪ Answer1: A design pattern can decrease time to et 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: 49
    Category: Design Patterns
    Question: What type of pattern is a factory pattern?
    ▪ Answer1: A behavioral pattern
    ▪ Answer2: A creation pattern
    ▪ Answer3: A structural pattern
    ▪ Answer4: An organizational pattern
     
    Number: 50
    Category: Design Patterns
    Question: 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 Factory
    ▪ Answer2: Blackboard
    ▪ Answer3: Model View Controller
    ▪ Answer4: Reflection
    ▪ Answer5: Part-Whole
    ▪ Answer6: None of the above
      

  2.   

    项目符号都变成▪ 了,不好意思
    题目太多,希望有人参与,先谢过大家了
      

  3.   

    什么考试?应该有考试指导什么的吧?
    像这样的题 "None of the above",有一个答案不确定,整题答案就不确定
    没有指导书,教材,怎么给正确答案啊?
      

  4.   

    不敢保证都对啊,兄弟
    A-Answer1,B-Answer2....
    1.E; 2.B; 3.C; 4.B; 5.E; 6.E; 7.A; 8.F;
    9.E; 10.E; 11.E; 12.D; 13.H; 14.C; 15.C;
    16.D; 17.A
      

  5.   

    后面有几道模式方面的题,我一点也不会,哪位能推荐一下关于模式的书,能让我这个搞.net的快速了解一下的
      

  6.   

    18.?; 19.B; 20.C; 21.E; 22.D; 23.A; 24.C;
    25.D; 26.E; 27.B; 28.A; 29.D; 30.A; 31.H;
    32.D; 33.G
      

  7.   

    gaodz(慕白) 兄,再接再厉哦
      

  8.   

    我也作了一下,参考:
    1.E 2.B 3.C 4.A 5.E 6.E 7.D 8.F 9.E 10.D
    11.B 12.D 13.E 14.C 15.C 16.D 17.F 18.A 19.B 20.C
    21.E 22.D 23.A 24.C 25.C 26.E 27.B 28.A 29.D 30.G
    31.H 32.E 33.F 34.A 35.E 36.E 37.B 38.E 39.A 40.H
    41.F 42.A 43.E 44.B 45.A 46.B 47.A 48.B 49.A 50.B
      

  9.   

    插一句,搞java的经常说什么MVC(modle,view,control)模式,我们写asp.net的用的是什么模式啊,还有modle,view,control和实体类,边界类控制类有什么关系吗,不好意思,小弟基础知识不好
      

  10.   

    1.E 2.B 3.C 4.A 5.E 6.E 7.D 8.F 9.E 10.D
    11.B 12.D 13.E 14.C 15.C 16.D 17.F 18.A 19.B 20.C
    21.E 22.D 23.A 24.C 25.C 26.E 27.B 28.A 29.D 30.G
    31.H 32.E 33.F 34.A 35.E 36.E 37.B 38.E 39.A 40.H
    41.F 42.A 43.E 44.B 45.A 46.B 47.A 48.B 49.A 50.B
    呵呵 顶