set-6
251. An operation can be described as ______.
Object
Class
Pointer
Object & Class
252. ______ are part of the class operation specification format.
Parameter list
Name
Return-type list
All of the mentioned
253. ______ among the optional statement is true.
Associations may also correspond between instances of three
Association lines may be unlabeled
All of the mentioned
None of the mentioned
254. Multiplicity for an association ______.
Association is the number of instances with a single instance
Association is the number of instances with a number instance
All of the mentioned
None of the mentioned
255. To form Class diagram, these are the rules to be considered ______.
Class symbols least a name compartment
The compartment can be in random order
Attributes and operations can be listed
Methods should be overloaded
256. ______ are the heuristics.
Name classes attributes with noun phrases
Name operations with verb phrases
Stick to binary associations
All of the mentioned
257. An object symbol is divided into ______ part of compartment.
Bottom
Top
All of the mentioned
None of the mentioned
258. ______ diagram is time-oriented?
Activity
Sequence
Collaboration
None of the mentioned
259. ______ term are combined Interaction Diagram?
Sequence Diagram + Collaboration Diagram
Activity Diagram + Class Diagram
Deployment Diagram + Component Diagram
Class Diagram + Object Diagram
260. ______ diagrams emphasize the things present system being modeled.
Behavioral
Structure
Grouping
Annotation
261. ______ UML diagrams has a static view.
Collaboration
Use case
State chart
Activity
262. What type of core-relationship is represented by the symbol in the figure below?
A. Aggregation B. Composition C. Generalization D. Association
263. Which core element of UML is being shown in the figure?
A. Node B. Package C. Deployment D. Component
264. What type of relationship is represented by Shape class and Triangle?
Shape Class Triangle Square
A. Realization B. Generalization C. Composition D. Association
265. ______ diagram in UML shows a complete or partial view of the structure of a modeled system at a specific time
System Sequence Diagram
Collaboration Diagram
Class Diagram
Object Diagram
266. << actor >> notation is used to denote ______
Database
Subsystem
Non-human actor
All of the mentioned
267. Which UML diagram is shown below?
User ID Basic Salary Accountant HRA Safety Calculator Bonus Penalty/ Fine
A. Use Case B. Component Diagram C. Class Diagram D. Object Diagram
268. UML diagram that facilitates requirements gathering and interacts between system and external users, is called as
Data flow diagram
Use case diagram
Object diagram
Class diagram
269. Which UML diagram is shown below?
intitization IDLE enter details Login
cancellation of booking check status book the ticket Cancel Booking Ticket Availability and Status Book Ticket
Update Booking Details
A. Use Case diagram B. State Chart diagram C. Sequence diagram D. Object Diagram
270. Class diagrams are not useful to ______
Model simple collaborations B. Model the vocabulary of a system C. Model simple interactions D. Model a logical database schema
271. Which UML diagram is shown below?
Applicant System Database
Enter Applicant Id Fetch Details for the applicant
Display Status
A. System Sequence Diagram B. Collaboration Diagram C. Sequence Diagram D. Object Diagram
272. Which UML diagram's symbols are shown below?
Processor NewDevice or Node
A. Deployment diagram B. State chart Diagram C. Component Diagram D. Object Diagram
273. Which UML diagram is shown below?
Point (from awt) ✿x : int ✿y : int ✿Point() ✿Point() ✿Point() ✿getX() ✿getY() ✿getLocation() ✿setLocation()
Building ✿door : char ✿get door() ✿set door()
Street ✿SI : Char ✿get st() ✿set st()
A. Component diagram B. Interaction Diagram C. Object Diagram D. Class Diagram
274. Which UML diagram is shown below?
Passport Automatic System Check Passport Status Applicant ID Found Display ID Status Enter Correct ID
A. Activity B. State chart C. System sequence D. Collaboration
275. Which UML diagram is shown below?
A. Component B. Deployment C. Activity D. DFD
276. Which relationship exists between instances of Company and Person class in this statement “Nepal Engineering Council takes Engineering Licensing Exam”
Association
Inheritance
Realization
Class
277. ______ are graphical representations of workflows of stepwise activities and actions with support for choice, iteration and concurrency. It describes the flow of control of the target system, such as the exploring complex business rules and operations, describing the use case also the business process.
Activity Diagram
Profile Diagram
Object Diagram
Class Diagram
278. Inheritance relation between two classes can be described as ___
Encapsulation.
Aggregation of information.
Generalization and Specialization.
Polymorphism
279. What does UML mean?
United Modelling Language
Unified Modelling Language
Unified Models Linguistic
Universal Modelling Language
280. The vertical dimension of a sequence diagram shows ___
Abstract
Line
Time
Messages
281. The time-oriented diagram include ___
Sequence
Classes
Activity
Objects
282. Uses cases are represented as ___
Ellipses
Oval
Triangle
Rectangle
283. Dependency models the ___ relationship
has-a
is-a
uses-a
contained-by
284. Aggregation models the ___ relationship
has-a
is-a
uses-a
contained-by
285. A link is an instance of ______.
Generalization
Association
Realization
Aggregation
286. Associations ______.
May exist only between actors and use cases
Identify the flow of data between actors and use cases
Identify interactions between actors and use cases
Identify dependencies between actors and use cases
287. The association stereotype «Extends» indicates ______.
Delegation of part of a task to another use case
The target use case is a sub process of the source use cases
A specialized form of a use case
A deviation from the UML standard
288. A ______ is a relationship between two states indicating that an object in the first s will enter the second state.
Transition
State
Association
Generalization
289. A state that has sub states, that is nested states, is called ______.
Composite State
Source State
Destination State
Null State
290. ______ is the state that is active after completion of the transition.
Multiple state
Null state
Target state
Source state
291. Which of the following is used to model the life time of an object?
Use Case
Class
Deployment
State Machine
292. Consider the following sentence: “A square is a polygon”. Which is relations between the two classes Square and Polygon
Inheritance
Aggregation
Composition
Association
293. When using an informal (natural language) description of a programming problem, which parts of the description are likely represent objects?
All of the nouns and some of the verbs
All of the verbs and some of the nouns.
Some of the nouns.
Some of the verbs
294. An operation can be described as ______.
Object
Class
Object and Class Behaviour
None of the mentioned
295. A tagged value extends the ______ of a UML building block.
Vocabulary
Properties
Semantic
Definition
296. A ______ allow us to you to create new kind of building blocks derived from existing one.
Tagged Value
Stereotype
Interface
Class
297. ______ diagrams are used to illustrate data structures, and the static snapshots instances of the things found in the class diagrams.
Use case
Activity
Class
Object
298. Which one of the following class relations is indicated among the class(es) in the following statement: "A course is the prerequisite of many courses and has many courses as its prerequisite."
N-ary association
Self-association
Binary association
Aggregation
299. What is multiplicity for an association
The multiplicity at the target class end of an association is the number of instances that can be associated with a single instance of source class
The multiplicity at the target class end of an association is the number of instances that can be associated with a number instance of source class
The multiplicity at the target class end of an association is the attributes and operations
The multiplicity at the target class end of an association is only the attributes
300. Students will be allocated to one department at least but cannot be allocated to more than 3 departments. Identify the cardinality between Department and Student
Department: 1 and Student: 1.*
Department: * and Student: 1.*
Department: 1..3 and Student: *
Department: * and Student: *
Last updated