Software Engineering and Object-Oriented An… Set 6 | NEC Computer
Latest notices:
NEC licence exam preparation, made clearer.Practice questions, syllabus guides, and timed mocks for Nepal engineers.New study resources are added regularly.NEC licence exam preparation, made clearer.Practice questions, syllabus guides, and timed mocks for Nepal engineers.New study resources are added regularly.
Associations may also correspond between instances of three
B.
Association lines may be unlabeled
C.
All of the mentioned
D.
None of the mentioned
·
Question 4
Multiplicity for an association ______.
A.
Association is the number of instances with a single instance
B.
Association is the number of instances with a number instance
C.
All of the mentioned
D.
None of the mentioned
·
Question 5
To form Class diagram, these are the rules to be considered ______.
A.
Class symbols least a name compartment
B.
The compartment can be in random order
C.
Attributes and operations can be listed
D.
Methods should be overloaded
·
Question 6
______ are the heuristics.
A.
Name classes attributes with noun phrases
B.
Name operations with verb phrases
C.
Stick to binary associations
D.
All of the mentioned
·
Question 7
An object symbol is divided into ______ part of compartment.
A.
Bottom
B.
Top
C.
All of the mentioned
D.
None of the mentioned
·
Question 8
______ diagram is time-oriented?
A.
Activity
B.
Sequence
C.
Collaboration
D.
None of the mentioned
·
Question 9
______ term are combined Interaction Diagram?
A.
Sequence Diagram + Collaboration Diagram
B.
Activity Diagram + Class Diagram
C.
Deployment Diagram + Component Diagram
D.
Class Diagram + Object Diagram
·
Question 10
______ diagrams emphasize the things present system being modeled.
A.
Behavioral
B.
Structure
C.
Grouping
D.
Annotation
·
Question 11
______ UML diagrams has a static view.
A.
Collaboration
B.
Use case
C.
State chart
D.
Activity
·
Question 12
What type of core-relationship is represented by the symbol in the figure below?
A.
Aggregation
B.
Composition
C.
Generalization
D.
Association
·
Question 13
Which core element of UML is being shown in the figure?
A.
Node
B.
Package
C.
Deployment
D.
Component
·
Question 14
What type of relationship is represented by Shape class and Triangle?
Shape Class Triangle Square
A.
Realization
B.
Generalization
C.
Composition
D.
Association
·
Question 15
______ diagram in UML shows a complete or partial view of the structure of a modeled system at a specific time
A.
System Sequence Diagram
B.
Collaboration Diagram
C.
Class Diagram
D.
Object Diagram
·
Question 16
> notation is used to denote ______
A.
Database
B.
Subsystem
C.
Non-human actor
D.
All of the mentioned
·
Question 17
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
·
Question 18
UML diagram that facilitates requirements gathering and interacts between system and external users, is called as
A.
Data flow diagram
B.
Use case diagram
C.
Object diagram
D.
Class diagram
·
Question 19
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
·
Question 20
Class diagrams are not useful to ______
A.
Model simple collaborations
B.
Model the vocabulary of a system
C.
Model simple interactions
D.
Model a logical database schema
·
Question 21
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
·
Question 22
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
·
Question 23
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
·
Question 24
Which UML diagram is shown below?
Reconstructed diagram; the original source image is unavailable.
A.
Activity
B.
State chart
C.
System sequence
D.
Collaboration
·
Question 25
Which UML diagram is shown below?
A.
Component
B.
Deployment
C.
Activity
D.
DFD
·
Question 26
Which relationship exists between instances of Company and Person class in this statement “Nepal Engineering Council takes Engineering Licensing Exam”
A.
Association
B.
Inheritance
C.
Realization
D.
Class
·
Question 27
______ 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.
A.
Activity Diagram
B.
Profile Diagram
C.
Object Diagram
D.
Class Diagram
·
Question 28
Inheritance relation between two classes can be described as ___
A.
Encapsulation.
B.
Aggregation of information.
C.
Generalization and Specialization.
D.
Polymorphism
·
Question 29
What does UML mean?
A.
United Modelling Language
B.
Unified Modelling Language
C.
Unified Models Linguistic
D.
Universal Modelling Language
·
Question 30
The vertical dimension of a sequence diagram shows ___
A.
Abstract
B.
Line
C.
Time
D.
Messages
·
Question 31
The time-oriented diagram include ___
A.
Sequence
B.
Classes
C.
Activity
D.
Objects
·
Question 32
Uses cases are represented as ___
A.
Ellipses
B.
Oval
C.
Triangle
D.
Rectangle
·
Question 33
Dependency models the ___ relationship
A.
has-a
B.
is-a
C.
uses-a
D.
contained-by
·
Question 34
Aggregation models the ___ relationship
A.
has-a
B.
is-a
C.
uses-a
D.
contained-by
·
Question 35
A link is an instance of ______.
A.
Generalization
B.
Association
C.
Realization
D.
Aggregation
·
Question 36
Associations ______.
A.
May exist only between actors and use cases
B.
Identify the flow of data between actors and use cases
C.
Identify interactions between actors and use cases
D.
Identify dependencies between actors and use cases
·
Question 37
The association stereotype «Extends» indicates ______.
A.
Delegation of part of a task to another use case
B.
The target use case is a sub process of the source use cases
C.
A specialized form of a use case
D.
A deviation from the UML standard
·
Question 38
A ______ is a relationship between two states indicating that an object in the first s will enter the second state.
A.
Transition
B.
State
C.
Association
D.
Generalization
·
Question 39
A state that has sub states, that is nested states, is called ______.
A.
Composite State
B.
Source State
C.
Destination State
D.
Null State
·
Question 40
______ is the state that is active after completion of the transition.
A.
Multiple state
B.
Null state
C.
Target state
D.
Source state
·
Question 41
Which of the following is used to model the life time of an object?
A.
Use Case
B.
Class
C.
Deployment
D.
State Machine
·
Question 42
Consider the following sentence: “A square is a polygon”. Which is relations between the two classes Square and Polygon
A.
Inheritance
B.
Aggregation
C.
Composition
D.
Association
·
Question 43
When using an informal (natural language) description of a programming problem, which parts of the description are likely represent objects?
A.
All of the nouns and some of the verbs
B.
All of the verbs and some of the nouns.
C.
Some of the nouns.
D.
Some of the verbs
·
Question 44
An operation can be described as ______.
A.
Object
B.
Class
C.
Object and Class Behaviour
D.
None of the mentioned
·
Question 45
A tagged value extends the ______ of a UML building block.
A.
Vocabulary
B.
Properties
C.
Semantic
D.
Definition
·
Question 46
A ______ allow us to you to create new kind of building blocks derived from existing one.
A.
Tagged Value
B.
Stereotype
C.
Interface
D.
Class
·
Question 47
______ diagrams are used to illustrate data structures, and the static snapshots instances of the things found in the class diagrams.
A.
Use case
B.
Activity
C.
Class
D.
Object
·
Question 48
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."
A.
N-ary association
B.
Self-association
C.
Binary association
D.
Aggregation
·
Question 49
What is multiplicity for an association
A.
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
B.
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
C.
The multiplicity at the target class end of an association is the attributes and operations
D.
The multiplicity at the target class end of an association is only the attributes
·
Question 50
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