Sponsor

Use-case Driven Object Oriented Analysis mcq questions with answers mca by SoftwareTechIT

softwaretechit.com


Select the true in context to extensions

A. The flow specifies the extensions

B. The alternatives are known as an extension because they extend the activity flow in various direction through the branch point

C. None of the mentioned

D. All of the mentioned

ANSWER: D

 

Which among the following can be heuristic for Use case diagram?

A. Never name actors with noun phrases

B. Name Use cases with verb phrases

C. The product can be made actor

D. All of the mentioned

ANSWER: B

 

Unified Modelling Language is used to draw ___ types of diagrams

A. 7

B. 9

C. 6

D. 5

ANSWER: B

 

____ relationship is not used in use case diagram?

A. include

B. exclude

C. extend

D. uses

ANSWER: B

 

_____views represent the interaction of the user with the software but tells nothing about the internal working of the software?

A. Use case diagram

B. Activity diagram

C. Class diagram

D. All of the above

ANSWER: A

 

Which UML diagram specifies sequences or steps of operations to be performed

A. Activity diagram

B. Use case diagram

C. Class diagram

D. ER case diagram

ANSWER: A

 

When one use case elaborates its functionality with others, such relationship is called

A. is a

B. extend

C. include

D. None of the mentioned

ANSWER: B

 

Which of the following statement is true in context of uses case?

A. Use case diagram is a dynamic model of interaction between actors and product in a use case

B. Use case Description is a static model of use case supported by a product

C. All of the mentioned

D. None of the mentioned

ANSWER: D

 

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. Activity diagram

D. Class diagram

ANSWER: B

 

Which type they considered Activity diagram, use case diagram, collaboration diagram, and sequence diagram?

A. Structural

B. Non-structural

C. Behavioural

D. Non-behavioural

ANSWER: C

 

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

ANSWER: B

 

<< actor >> notation is used to denote _____

A. database

B. subsystem

C. non-human actor

D. All of the mentioned

ANSWER: D

 

 

What is the purpose of Use Case diagram?

A.    Functional decomposition

B.     Identification of functional requirements

C.     To define sequences of actions

D.    To identify multiplicities

ANSWER: B

 

 

Why is UML used?

A.    Because it is a graphical language that can be used to model object oriented systems

B.     Because it provides the software development community with a common language

C.     Because it is similar to java

D.    All of the mentioned

ANSWER: A

 

In order to represent a complicated process, you would use?

A.    Class diagram

B.     Use case diagram

C.     Activity diagram

D.      Venn diagram

ANSWER: C

 

The use case diagram ___

A.    Specifies the functional decomposition of a system

B.     Comprises classes and objects

C.     Specifies who performs which tasks with a system that is going to be developed

D.    Models the time flow within a system

ANSWER: C

 

What best describes the purpose of an Activity Diagram?

A.    To capture a flow of activity and maps.

B.     To specify the points at which a computer system is used.

C.     To specify the behaviour of use cases.

D.      To capture the dynamic aspect of a system.

ANSWER: C

 

Which UML diagram is structural diagram?

A.    Use Case Diagram

B.     Class Diagram

C.     Component Diagram

D.    Deployment Diagram

ANSWER: B

 

A notation that allows the modeller to specify, visualize and construct the artefacts of software systems, as well as business models

A.    State Diagram

B.     Use Case Diagram

C.     Object Diagram

D.      Sequence Diagram

ANSWER: B

 

Which diagram in UML shows a complete or partial view of the structure of a modelled system at a specific time?

A.    Sequence Diagram

B.     Collaboration Diagram

C.     Class diagram

D.    Object diagram

ANSWER: D

 

Which of the following UML diagrams has a static view?

A.    Collaboration

B.     Use case

C.     State chart

D.    Activity

 

ANSWER: B

 

Which of the following diagram is time oriented?

A.    Collaboration

B.     Sequence

C.     Activity

D.    None of the mentioned

ANSWER: B

 

Which of the following is a building block of UML?

A.    Things

B.     Relationships

C.     Diagrams

D.    All of the mentioned

ANSWER: D

 

Classes and interfaces are a part of_____

A.    Structural things

B.     Behavioural things

C.     Grouping things

D.    Annotation things

ANSWER: A

 

A Class consists of which of these abstractions?

A.    Set of the objects

B.     Operations

C.     Attributes

D.    All of the mentioned

ANSWER: D

 

Which among the following statement is true?

A.    Associations may also correspond to the relation between instances of three or more classes

B.     Association lines may be unlabelled or they may show association name

C.     All of the mentioned

D.    None of the mentioned

ANSWER: C

 

 

Which relationship exists between instances of Company and Person class in this statement “a person works for a company”

A.    Association

B.     Inheritance

C.     Aggregation

D.    Class

ANSWER: A

 

An/A __________ diagram is a graph of instances, including objects and data values.

A.    Class

B.     Object

C.     Profile

D.    Activity

ANSWER: B

 

A _________ describes a system's functional requirements in terms of use cases. It is a model of the system's intended functionality and its environment.

A.    Use Case Diagram

B.     State Transition Diagram

C.     Object Diagram

D.    Functionality Diagram

ANSWER: A

 

 

__________________ 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

ANSWER: A

 

The packing of data and functions into a single unit in a program is known as:

A.    Polymorphism

B.     Abstraction

C.     Encapsulation

D.    Inheritance

ANSWER: C

 

Inheritance relation between two classes can be described as ___

A.    Encapsulation.

B.     Aggregation of information.

C.     Generalization and Specialization.

D.    Polymorphism

 

ANSWER: C

 

 

The _____________ models the collaboration of objects based on a time sequence.

A.    Sequence Diagram

B.     State Machine Diagram

C.     Profile Diagram

D.    Object Diagram

ANSWER: A

 

What does UML means?

A.    United Modelling Language

B.     Unified Modelling Language

C.     Unified Models Literature

D.    Unlimited Model Language

ANSWER: B

 

The vertical dimension of a sequence diagram shows

A.    Abstract

B.     Line

C.     Time

D.    Messages

ANSWER: C

 

 

The time orienteddiagram include …

A.    Sequence

B.     Classes

C.     Activity

D.    None of these

ANSWER: A

 

Uses cases are represented as __

A.    Ellipses

B.     Circles

C.     Rhombus

D.    Rectangle

ANSWER: A

 

The behaviour of a system can be modelled with the help of which kind of UML diagrams?

A.    Class Diagram

B.     Activity Diagram

C.     Use Case Diagram

D.    Interaction Diagram

ANSWER: B

 

________ defines the system's actions and how different parts contribute to it. 

a. Behaviour 

b. Structure 

c. Model 

d. Use case 

 

ANSWER: A

 

Which one of the following characteristics of a class implies that the same message can be interpreted by it differently?

A.    Polymorphism

B.     Abstraction

C.     Encapsulation

D.    Inheritance

 

ANSWER: A

 

Dependency models the _________ relationship

A.    has-a

B.     is-a

C.     uses-a

ANSWER: C

 

Aggregation models the _________ relationship

A.    has-a

B.     is-a

C.     uses-a

ANSWER: A

 

A link is an instance of ________ 

A.    Generalization 

B.     Association 

C.     Dependency 

D.    Realization 

ANSWER: B

 

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 

ANSWER: C

 

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 

ANSWER: C

 

 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

 

ANSWER: A

 

 A state that has sub states, that is nested states, is called ________

A.    Composite State 

B.     History State 

C.     Target State 

D.    Source State 

ANSWER: A

 

________  is the state that is active after completion of the transition. 

A.    Composite state 

B.     History state 

C.     Target state 

D.    Source state 

ANSWER: C

 

Which of the following is used to model the life time of an object? 

A.    Use Case 

B.     Class 

C.     Interface 

D.    State Machine 

ANSWER: D

 

Uses cases are represented as which of the following shape within the system rectangle.

A.    Ellipses

B.     Circles

C.     Rhombus

D.    Rectangle

ANSWER: A


The behaviour of a system can be modelled with the help of which kind of UML diagrams?
A. Class Diagram
B. Activity Diagram
C. Use Case Diagram
D. Interaction Diagram
ANSWER: B

 

CRC cards are useful in identifying which of the following activities?

A.    Classes

B.     Responsibilities

C.     Collaboration with other classes

D.    All of the mentioned

ANSWER: D

 

Which one of the following sentences most closely describes "multiple inheritance"?

A.    Two classes inherit from each other

B.     A base class has two or more derived classes

C.     A child class has two or more parent classes

D.    A child class has both an "is a" and a "has a" relationship with its parent class

ANSWER: B

 

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

ANSWER: A

 

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

ANSWER: C

                     

An operation can be described as__________

A.    Object

B.     Class

C.     Object and Class Behaviour

D.    None of the mentioned

ANSWER: C

 

A tagged value extends the _____________ of a UML building block.

A.    Vocabulary

B.     Properties

C.     Semantic

D.    Definition

ANSWER: B

 

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

ANSWER: B

 

________ 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

ANSWER: D

 

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

ANSWER: B

 

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

 

ANSWER: A

 

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

 

A.    Department: 1 and Student: 1..*

B.     Department: * and Student: 1..*

C.     Department: 1..3 and Student: *

D.    Department: * and Student: *

 

ANSWER: C

 

Which one of the following best characterizes a sequence diagram?

A.    A tree illustrating inheritance relationship between classes

B.     A call graph illustrating all possible sequences of calls between class method members

C.     A time-line illustrating a typical sequence of calls between object methods

D.    A time-line illustrating the changes in inheritance and instantiation relationships between classes and objects over time

ANSWER: C

 

Which diagram helps to show Dynamic aspects related to a system?

A.    Sequence

B.     Deployment

C.     Use Case

D.    Interaction

ANSWER: D

 

__________diagram is time-oriented?

 

A.    Collaboration

B.     Activity

C.     Class

D.    Sequence

ANSWER: D

 

If you are working on real-time process control applications or systems that involve concurrent processing, you would use a___

A.    State Diagram

B.     Class Diagram

C.     Activity Diagram

D.    None of the mentioned

ANSWER: A

 

“Book has pages “. In this sentence what is relation between book and page classes?

A.    Inheritance

B.     Aggregation

C.     Composition

D.    Association

ANSWER: C

 

How guard condition is represented in sequence diagram

A.    Using ()

B.     Using [ ]

C.     Using keyword condition

D.    None of the mentioned

ANSWER: B

 

Bulls eye is use to denote____

A.    Start state

B.     Concurrent state

C.     End state

D.    None of the above

ANSWER: C

 

________ shows a set of objects and their relationships. 

A.    Class diagram 

B.     Object diagram 

C.     Use case diagram 

D.    Activity diagram 

ANSWER: B

 

A collaboration diagram depicts which one of the following types of information?

A.    Structural information such as class association

B.     The looping structure

C.     The decision structure among the classes

D.    The attribute values of the objects

ANSWER: A

 

How is inheritance useful?

A.    It prevents inherited properties from being lost

B.     It minimizes the amount of code which has to be written

C.     It creates elegant tree structures in the class model

D.    It divides objects up into useful classes

ANSWER: B

 

Which one of the following characteristics of a class implies that the same message can be interpreted by it differently?

A.    Polymorphism

B.     Abstraction

C.     Encapsulation

D.    Inheritance

ANSWER: A

 

Consider the statement: "Test can be Objective or Subjective." Assuming that Test and Subjective are two classes, what can be said about the relationship between these two classes?

A.    Aggregation

B.     Composition

C.     Generalization – specialization

D.    Polymorphism

ANSWER: C

 

Login credentials are validated by system. Which relationship exists among login and validation use cases-

A.    Login include Validation

B.     Validation include Login

C.     Login extend Validation

D.    Validation extend Login

ANSWER: B

 

“Payment can be done through Credit Card or COD”. In this relation payment is consider as ___

A.    Base uses case

B.     Extension point

C.     Inclusion

D.    None of the above

ANSWER: A

 

“Students work on project and get evaluated.” In this evaluation function is consider at __

A.    Project class

B.     Student class

C.     Association class of “works on”

D.    Evaluation class

ANSWER: C

 

Solid circle is considering as start state only when ____

A.    Previous states are not known

B.     Idle state is not present

C.     It is optional

D.    None of the above

 

ANSWER: A

 

Merge (Hollow diamond) is use to

A.    split a single incoming flow into multiple concurrent flows

B.     bring together multiple flows that are not concurrent

C.     interrupt the flow denoted with a lightning bolt

D.    group related activities into one column

ANSWER: B

 

The vertical line in activity diagram represents

A.    Decision and branching

B.     Synchronization

C.     Time event

D.    Swim lanes

ANSWER: D

 

 

The vertical line in sequence diagram represents

A.    Time line of object

B.     Synchronization

C.     Swim lanes

D.    None of the mentioned

ANSWER: A

 


Post a Comment

0 Comments