ONTAP
ONTAP
a. Composition
b. Inheritance
c. Interface Type implementation
d. Aggregation
2. Which statement is true about this UML class diagram?
A.
B.
C.
D.
11.Inheritance relationships are represented in the UML notation by
A.Lines with solid diamond at one end
B.Lines with solid triangular arrow at both ends
C.Lines with hollow triangular arrow at one end
D.Lines with hollow diamond at one end
12.You are given the following state machine diagram. Are the following
statements true?
A.eject cigarettes is an activity.
B.insert ATM card is an event.
C.when(card invalid) is a guard condition.
D.insert ATM card is an activity.
13.You are given the state diagram. What is the value of x after the
occurrence of the event chain e2 e4 e4 el e4 e2 ?
13
14
6
12
14.You are given the state diagram. What is the value of x after the
occurrence of the event chain e1 e2 e4 e4 e6 e1 ?
8
6
4
9
15.What does the syntax for labeling a transition look like?
[guard]action/event
[action]event/guard
event[guard]/action
[action]guard/event
16.You are given the state machine diagram. What is the value of x after the
occurrence of the event chain el e2 e5?
12
26
13
6
17.How do you model the following situation with a UML class diagram:
has when treated which patent. The date and time of each treatment are
stored. It has to be possible that a doctor treats the same patient
multiple times.
A.
B.
C.
D.
18.Modeling class diagrarn: FurnitureFritz charges custorn-made furniture
which is assembled from prefabricated components.
A.
B.
C.
D.
19.A_is a relationship between two states indicating that an Object in the first
s will enter the second state.
A.generalization
B.association
C.state
D.transition
20.A state that has substates, that is nested states, is called_
A.source state
B.target state
C.history state
D.composite state
a. Inheritance
b. Aggregation
c. Interface Type Implementation
d. Composition
Câu 8: What are the three sections of a Class in a Class Diagram called in top to
bottom order?
a. Class Name, Attributes, Operations
b. Object Name, Attributes, Operations
c. Class Name, Operations, Attributes
d. Object Name, Attributes, Messages
a. association
b. inheritance
c. polymorphism
d. abstraction
Câu 10: You are given the following clipping of a UML class diagram. Which
of the following statements are FALSE?
a. An instance of A can see y.
b. Objects of B and D can see g.
c. Objects of C and B can see f.
d. An object of A may or may not contain objects of C.
Câu 11: Does the Class "Tool" have the attribute "Price"?
a. Yes
b. No
Câu 12: Which of the following statements about compositions (composite
aggregations) are FALSE?
a. When the composite element is deleted, the parts also die.
b. In a composition, a part may belong to only one composite at a time.
c. The composite aggregation is a transitive relationship.
d. The multiplicity of a composite aggregation may be ≥1
a. Staff
b. SeniorNurse
Câu 19: Which of the below diagram is NOT a Unified Modeling Language
(UML) diagram?
a. Data flow diagram (DFD)
b. Class diagram
c. Object diagram
d. State diagram
Câu 20: What is the relationship between Order and SpecialOrder in the
diagram?
Câu 21: Which of the following UML diagrams represent the structural View of
the software?
a. Both Class diagram and Object diagram
b. Object diagram
c. Class diagram
d. None of the above
Câu 22: You are given the state diagram. What is the value of x after the
occurrence of the event chain e2 e4 e4 e1 e4 e2 ?
a. 12
b. 13
c. 14
d. 6
Câu 23: You are given the state diagram. What is the value of x after the
occurrence of the event chain e1 e2 e4 e4 e6 e1 ?
a. 6
b. 4
c. 9
d. 8
Câu 24: You are given the state machine diagram. What is the value of x after
the occurrence of the event chain e1 e2 e5 ?
a. 13
b. 6
c. 12
d. 26
Câu 25: How do you model the following situation with a UML class diagram:
A vehicle comprises of multiple parts. Each part can be built in a maximum of
one super-part. One super-part comprises of multiple sub-parts.
a. A
b. B
c. C
d. D
Câu 26: What is a diagram that shows view of the structure of a modeled system
at a specific time?
a. Sequence diagram
b. Class diagram
c. Object diagram
d. State diagram
Câu 27: Which of the following diagram types below is NOT classified as
dynamic diagrams?
a. Activity diagram
b. Class diagram
c. State diagram
d. Sequence diagram
Câu 28: You are given the following clipping of a UML class diagram. Which
of the following statements are FALSE?
Câu 29: You are given the following clipping of a UML class diagram. Which of
the following statements are true?
Câu 31: Inside the states, the events are encountered to handle without leaving
the state. This is known as________
a. state transition
b. external transition
c. internal transition
d. state machine
Câu 2: Which descriptions are true for the use case description format?
Câu 3: What are the methods in which use case descriptions can be written?
Câu 7: A state that has substates, that is nested states, is called ________
a. source state
b. target state
c. history state
d. cornposite state
Câu 8: An activity diagram clearly shows __________
a. Alternative behaviors
b. All of the above
c. Parallel behaviors
d. Conditional logic
Câu 9: An activity diagram can be used for all of the following except
a. help in use case analysis
b. model work flow and business processes
c. to show the links between objects
d. to depict the flow of control from activity to activity
Câu 10: Activity diagram shows the ________ from activity to activity
within a system.
a. flow
b. sequence
c. nodes
d. link
Câu 11: How many condition symbols used in this Activity diagram?
a. 4
b. 3
c. 2
d. 7
a. b.d
b. a,c
c. a,b,c,d
d. b,c
Câu 13: With reference to the figure, which one represents a Fork Node?
a. C
b. D
c. A
d. B
Câu 14: What does an Activity diagram NOT do?
a. Leaves
b. Branches
c. Twigs
d. Roots
Câu 17: The state machine diagram may be classified under one of the
following headings?
a. Package Diagram
b. Behavioural Diagram
c. Object Diagram
d. Structure Diagram
Câu 18: Which one of the following statements is TRUE about Activity
Diagrams?
a. An Activity diagram is a dynamic diagram that shows the activity and
the event that causes the object to be in the particular state.
b. Activity diagrams represent database design of a system.
c. In an activity diagram, the parallel flow and the swim lane are the same.
a. start state
b. decision
c. fork
d. end or stop state
Câu 23: An Activity Diagram and a Flowchart are one in the same?
a. True
b. False
Câu 24: See Diagram:
Câu 28: You are given following sequence diagram.Which traces are
possible?
a. True
b. False
Câu 38: What is an asynchronous message?
a. Rest of program continues independent of the message
b. Messages used in the clock class
c. Rest of program waits until message is processed
d. A message that is deemed to be on time
Câu 39: Which message type does NOT appear in the sequence diagram
below?
a. Synchronous
b. Asynchronous
c. Return
d. Reflexive
Câu 40: The vertical dimension in a sequence diagram shows
a. objects
b. space
c. classes
d. time
Câu 41: On sequence diagram, the destruction of an object is shown as a:
a. transverse tick mark
b. large X
c. wavy line
d. filled in circle
Câu 42: In a sequence diagram this represents what?
a. Activation Box
b. Object Symbol
c. Package Symbol
d. Lifeline Symbol
Câu 43: With reference to the following sequence diagram.Which
operations does class A have according to the diagram
a. y(int):void
b. x(void)
c. x():void
d. x(int):void
Câu 44 : With reference to the following sequence diagram.Which
operations does class C have according to the diagram
a. y(int):void
b. x(void)
c. z():void
d. x():void.
Câu 45: The type of the first message appearing in the below diagram
(finalAppl) is
a. Reflexsive
b. Asynchronous
c. Return
d. Destruction
Câu 46: What does a message mean?
a. Pass all communication from 1 object to another on msg arrow
b. All of the above mentioned
c. rectangle containing an identifier with a dashed line
d. Msg go from the sending object's lifeline to the receiving
Câu 47: Which diagram indicates object creation
a. b
b. c
c. d
d. a
Câu 48: What are the three different types of message arrows?
a. Synchronous, Asynchronous, Asynchronous with instance creation
b. Self, Multiplied,Instance generator
c. Synchronous, Asynchronous, Synchronous with instance creation
d. None of the mentioned
a. Use Case
b. Activity
c. State Chart
d. Object Diagram
Câu 59: What does a message mean?
a. The message goes from the sending object's lifeline to the receiving object's
lifeline
b. It Passes all communications from one object to another and are
represented by message arrows in sequence diagrams
c. It is a rectangle containing an identifier with a dashed line extending below
the rectangle
d. All of the mentioned
Câu 60: What is a sequence diagram?
a. A diagram that shows interacting individuals along the top of the
diagram and messages passed among them arranged in temporal order
down the page
b. All of the mentioned
c. A diagram that shows the change of an individual's state over time
d. A diagram that shows messages superimposed on a diagram depicting
collaborating individuals and the links among them
Câu 61: Which of the following determines the state diagram?
a. In state diagram, states are represented by rounded rectangles
b. None of the mentioned
c. The UML notation for specifying finite automata is the state diagram
d. All of the mentioned
Câu 62: Which of the following statement is true?
a. An event is a noteworthy occurrence at a particular time; event have no
duration
b. All of the mentioned
c. Transitions may be spontaneous, but usually some event triggers them
d. A transition is a change from one state to another
Câu 63: Which of the following statements are TRUE?
a. If the user presses play, then pause, followed by flip and flip, then the motor is
running.
b. If no previous history is available, then the stopped state is entered.
c. Whenever the motor is running, the head is engaged.
d. Correctness of answer a) would be changed if H <- would have been replaced by
H.
Câu 64: Consider the following sequence diagram. Which of the following
statements are TRUE?
c.
d.
Câu 65: Which of the following represents the State Diagram?
a. Transitions are represented by solid arrows labeled with one or more
transition strings that describe the circumstances under which the transition is
triggered and the actions that may ensue
b. All of the mentioned
c. A finite automaton may execute forever or it may halt in a final state
d. The finite automaton initial state is designated by a special initial pseudo-state
depicted as a large black dot at the tail of an arrow pointing at the initial state
Câu 66: What is purpose of a Use Case Diagram
a. Helps non-technical users understand what the system does
b. Identifies the systems' features and behaviours
c. None of the options
d. Make the system look more attractive
a. True
b. False
Câu 69: In UML the two types of diagram are?
a. Structural / Dynamic diagram and Behavioral / Static diagram
b. Structural / Non-Functional diagram and Behavioral / Functional diagram
c. Structural / Static diagram and Behavioral / Dynamic diagram
d. Structural / System diagram and Behavioral /Actor diagram
Câu 70: What type of relationship is used between Actor and Usecases?
a. Aggregation
b. Generalization
c. Dependency
d. Association
Câu 71: UML stands for?
a. Unique Modelling Language
b. Uniform Modelling Language
c. Unified Modelling Language
d. United Modelling Language
Câu 72: A UML model used to graphically show uses cases and their
relationships to …
a. RMO Tradeshow
b. System usecase
c. actor
d. SBRU service
an?
a. Stick man
b. Ellipse
c. <<includes>>
d. <<extends>>
Câu 84: What are the three things available in a Use Case Diagram?
a. Stickman, Arrows, Textboxes
b. Actors, Actions, Goals
c. Actors, Goals, Successes
d. Actors, Goals, Dependencies
Câu 85: The three types of relationships use cases have in a use case
diagram include:
a. Inclusion, representation, realization
b. Extension, representation, elaboration
c. Elaboration, generalization, boundarization
d. Extension, inclusion, and generalization
Câu 86: In a Use Case the square box represents the?
a. Association
b. System Boundary
c. Functionality
d. Actor
Câu 87: A Use Case is always described from what point of view?
a. The User’s
b. The Actor’s
c. The System’s
d. The Function’s
Câu 88: The activity diagram, use case diagram, collaboration diagram and
sequence diagram are considered as types of
a. behaviour diagram
b. non structural diagram
c. non-behaviour diagram
d. structural diagram
Câu 89: Controller pattern decides what first object after UI layer should
receive the message from UI layer.
a. True
b. False
Câu 90: Which of the following is true?
a. B closely uses A
b. B records A
c. All of the mentioned
d. B know about A
a. Model
b. Controller
c. View
Câu 101: High cohesion pattern used to
a. Decrease modularity
b. Decrease dependency
c. Increase dependency
d. Increase modularity
Câu 102: What is the typical relationship between coupling and cohesion?
a. There is no relationship between coupling and cohesion
b. As cohesion increases, coupling increases
c. As cohesion increas , coupling decreases
Câu 103: Expert pattern has...
a. Information necessary to fulfill a responsibility
b. Information necessary to create an object
c. Information necessary to fulfill an application
d. Information necessary to call a method
Câu 104: Patterns are used in GRASP...
a.To fulfill responsibilities
b.To create responsibilities
c.To assign responsibilities
Câu 105: Benefits of the information expert pattern are...
a. Both
b. Encapsulation
c. Distributed behavior
Câu 106: What is purpose of a Use Case Diagram
Helps non-technical users understand what the system does
Identifies the systems' features and behaviours
None of the options
Make the system look more attractive
Câu 107: Where is the uml usecase diagram categorized on the UML
hierachy
Behaviour
Structure
Câu 109: In UML the two types of diagram are?
Structural / Dynamic diagram and Behavioral / Static diagram
Structural / Nonfunctional diagram and Behavioral /Functional diagram
Structural / Static diagram and Behavioral / Dynamic diagram
Structural / System diagram and Behavioral / Actor diagram
Câu 110:A Usecase is used to model the__offered by the system.
Services
Output
Roles
Verification
Câu 111: A Use Case that always involves the steps of another can be shown by
an?
Stick man
<<includes>>
Ellipse
<<extends>>