Question 394–b
UML stands for which of the following?
-
Universal Modeling Language
-
Unified Modeling Language
-
Unified Modelers Language
-
Unary Model Language
Question 395–ade
UnderGrad class is an
-
Subtype
-
Superclass
-
Parent
-
Child
-
Subclass
Question 396–cd
What are the strengths and weakness of Interaction Diagrams
-
they are good at exploring concurrency and multi-thread issues
-
they are good at precise definition of the behavior
-
they are good at showing collaborations among objects
-
when you want to look at the behavior of several objects within a single use case
Question 397–b
What is the difference between a sequence diagram and a collaboration diagram?
-
helps to define the scope of the system by identifying the actor roles that interact with the system and the set of uses or functions provided to those actors.
-
emphasizes the sequence or order of the messages. A collaboration diagram emphasizes the set of objects that collaborate together to carry out a use case.
-
the role played by a particular person when that person interacts with the system.
Question 398–bc
What is the difference between an attribute and an association?
-
From the conceptual perspective, there is a distinct difference.
-
UML syntax for attribute - visibility name: type = default value
-
From specification and implementation perspective, an attribute is owned by a type while an association allows one to navigate from one type to another
Question 399–d
What other constraint needs to be added to ensure that this reification faithfully models the original Student/Subject association?
-
There must be no more than one Enrolment associated with a particular Student/Subject pair.
-
None of the other answers
-
All Enrolments for a particular Subject must be for the same Student.
-
All Enrolments for a particular Student must be for the same Subject.
Question 400–abce
Which are valid relationships in Use Case Diagrams?
-
include
-
extend
-
use
-
extract
-
generalization
-
subtyping
Question 401–a
Which definition best describes the concept of polymorphism?
-
Polymorphism is the technique by which an object reference is used to refer to any object created from a class that is related to the reference type by inheritance.
-
Polymorphism is the technique by which an object that is used to invoke a method can actually invoke different methods, depending on the nature of the control structure.
-
Polymorphism is the technique by which an object's parameters are used to instantiate a particular type, depending on the nature of the parameters.
-
Polymorphism is the technique by which an object is used to invoke overridden methods at different times, depending on the nature of the application.
Question 402–a
Which is a standard object-oriented language for describing system requirements, analysis and design phase ?
-
UML
-
DDL
-
OLE
-
SQL
Question 403–c
Which of the following is a true statement?
-
Generally, information systems are closed systems
-
Information systems can be seen as supersystems in an organizational environment.
-
Information systems can be seen as subsystems in larger organizational systems, taking input from, and returning output to, their organizational environments.
-
A business system is a subsystem of an information system.
Question 404–c
Which of the following is true?
-
Every subject may contain one or more modules.
-
Every module has exactly one subject that contains it.
-
Every module is part of a subject.
-
All of the other answers
Question 405–c
Which of the following is true?
-
Every student may be enrolled in one or more subjects.
-
None of the other answers
-
Every student must be enrolled in one subject.
-
Every student must be enrolled in one or more subjects.
Question 406–a
Which of the following is true?
-
A module content may act as the syllabus of a subject.
-
The syllabus of a subject is the set of contents of modules that the subject contains.
-
Every syllabus must have an associated subject.
-
The module content of a module is the syllabus for that module's subject.
Question 407–b
Which of the following show the static structure of data and the operations that act on the data?
-
sequence diagrams
-
class diagrams
-
state diagrams
-
use cases
Question 408–c
Which of the following statements are false about composition?
-
Composition is a kind of association used to model the whole-part relationships between things. If the multiplicity at the composite object is one that means that the part may not exist separate from the composite.
-
Composition in the Design Model indicates that the composite software objects create the part software objects.
-
With composition the part object may belong to only one whole usually the parts are expected to live independently.
Question 409–de
Which of the following statement are false about sequence diagrams?
-
Object deletion, indicated by a large X, must be self-delegation (cleaning up your own mess)
-
Sequence Diagrams can also capture concurrent activities.
-
Asynchronous message must create a new thread, create a new object and communicate with a thread that is already running
-
Asynchronous message blocks the caller until it is completed.
-
Activations should not be used for concurrent activities
-
Asynchronous message is represented by "half-arrow";
Question 410–d
Which of the following statements is false?
-
In multiple classification, an object may be described by several types that are not necessarily connected by inheritance.
-
Classification refers to the relationship between an object and its type.
-
Static classification does not allow objects to change type. e.g.
-
Person <-- (Sex {complete}) Female, Male.
-
Multiple classification is similar to multiple inheritance.
-
Dynamic classification allows objects to change type within the subtyping structure. e.g. Person <-- (Job <>) Manager, Engineer, Salesman.
Question 411–ad
Which of the following statements is true about the inheritance chart shown in picture?
-
Class A is the ancestor of classes F and D.
-
Class A is the parent of classes B, E, and F.
-
Class A is the parent of class D.
-
Class C is the child of class D.
-
Class D is an ancestor of class F.
Question 412–a
Which ONE of the following is the MOST correct?
-
name is an attribute of the class Borrower
-
name is an attribute of getName
-
setName is an attribute of the class Borrower
-
membershipNum is a method of the class Borrower
Question 413–b
Which statements are not correct about Objects?
-
An Object is an instance of a class
-
Objects do not permit encapsulation
-
Objects can access both instance and static data
-
All classes extend the Object class
Question 414–b
Which statements are true about associations in Class Diagrams?
-
It is good practice to name every association and most data modelers prefer to name association using a "verb"
-
Most object modelers prefer to assign role name using a "noun" to association
-
If there is no name on the role, the implied name is the name of target class
Question 415–cf
Which statements are true about Class Diagrams?
-
Within the specification perspective, associations represent methods.
-
Naming role is optional. If missing, it is named after the source class
-
From specification perspective, association lines with arrows indicate navigability. The source class has responsibility of 'knowing' the target class but not the other way round.
-
Multiplicities are normally 0, 1, *. It does not support for a range number e.g. 2-4
-
From the conceptual perspective, associations have no arrow heads meaning that they are non-directional
-
From the conceptual perspective, associations represent conceptual relationships between classes
Question 416–c
Why are A through G underlined?
-
They are all instances, not objects
-
They are all classes, not objects
-
They are all objects or instances, not classes.
-
They are all objects , not instances
Chia sẻ với bạn bè của bạn: |