001.
The process of compartmentalizing the elements ofan abstraction that constitute its B
structureand behavior is called as
A Hierarchy B Encapsulation
C Modularity D Entity Abstraction
002. ___ identifies the same data structure and behavior, and groups them into a class. A
A Classification B Polymorphism
C Identity D Inheritance
003. To hide the internal implementation of an object we use D
A Inheritance B Abstraction
C Polymorphism D Encapsulation
004. What is the programming style of the object-oriented conceptual model? C
A Invariant relationships B Algorithms
C Classes and objects D Goals, often expressed in a predicate
calculus
005. ___ is the process that groups data and procedures into an entity called objects. D
A Object development methodology B Linear programming
C Structured programming D Object oriented system development
006. How many diagrams are here in Unified Modelling Language? D
A Six B Seven
C Eight D Nine
007. Which of the following is a structural model that demonstrates the other systems in the A
environment of the system being developed?
A System context model B Interaction model
C Environmental model D Behavioral model
008. Which model describes the static structure of the system using object classes and their D
relationships?
A Sequence model B Subsystem model
C Dynamic model D Structural model
009. A ___ is defined as a group of objects with the same structure and behavior. C
A Association B Polymorphism
C Class D Method
010. The essential characteristics of an object that distinguish it from all other kinds of D
objects andthus provide crisply defined conceptual boundaries, relative to the
perspective of the viewer iscalled:
A Encapsulation B Modularity
C Hierarchy D Abstraction
011. Which model shows the flow of object interactions? B
A Structural model B Sequence model
C Subsystem model D Dynamic model
012. Interaction Diagram is a combined term for A
A Sequence Diagram + Collaboration B Activity Diagram + State Chart
Diagram Diagram
C Deployment Diagram + Collaboration D Collaboration Diagram + State Chart
Diagram Diagram
013. Which diagram in UML shows a complete or partial view of the structure of a modeled D
system at a specific time?
A Sequence Diagram B Collaboration Diagram
C Class Diagram D Object Diagram
014. Which model describes the static structure of the system using object classes and their C
relationships?
A Sequence model B Subsystem model
C Structural model D Dynamic model
015. Which of the following UML diagrams has a static view? C
A Collaboration B State chart
C Use case D Activity
016. The __________ of a relationship is 0 if there is no explicit need for the relationship to A
occur or the relationship is optional.
A Modality B Cardinality
C Entity D Structured analysis
017. The __________ contains a state trition diagram that is a sequential specification of C
behavior.
A Data flow diagram B State trition diagram
C Control specification D Workflow diagram
018. _________ defines the properties of a data object and take on one of the three B
different characteristics.
A Data object B Attributes
C Relationships D Data object and attributes
019. Which of the following diagram is time oriented? B
A Collaboration B Sequence
C Activity D State Chart
020. Which diagram indicates the behavior of the system as a consequence of external D
events?
A Data flow diagram B Control specification diagram
C Workflow diagram D State trition diagram
021. The term Complete for a UML has the same meaning as which of the following for an C
EERdiagram?
A Overlapping rule B Disjoint rule
C Total specialization rule D Partial specialization rule
022. Composition is a stronger form of which of the following? A
A Aggregation B Encapsulation
C Inheritance D Abstraction
023. A _________ is a graphical representation that depicts information flow and the trforms B
that are applied as data moves from input to output.
A Data flow diagram B State trition diagram
C Control specification D Workflow diagram
024. Single inheritance, Multiple inheritance, and Aggregation comes under _______ C
A Modularity B Typing
C Hierarchy D Abstraction
025. What is that concept in type theory in which a single name may denote objects of C
manydifferent classes that are related by some common super class referred to
______
A Monomorphism B Type Checking
C Polymorphism D Generalization
026. In which access should a constructor be defined, so that object of the class can be A
created in any function?
A Public B Protected
C Private D Any access specifier will work
027. Classes and interfaces are a part of A
A Structural things B Behavioral things
C Grouping things D Annotational things
028. Which among the following is true for copy constructor? B
A The argument object is passed by B It can be defined with zero arguments
reference
C Used when an object is passed by D Used when a function returns an
value to a function object
029. A constructor operation does which of the following? A
A Creates a new instance of a class B Updates an existing instance of a
class
C Deletes and existing instance of a D Copies an existing instance of a class
class to another class
030. Which of the following applies to a class rather than an object? D
A Query B Update
C Constructor D Scope
031. If you are working on real-time process control applications or systems that involve C
concurrent processing, you would use a
A Activity diagram B Sequence diagram
C Statechart diagram D Object diagram
032. Which of the following term is best defined by the statement: a structural relationship A
that specifies that objects of one thing are connected to objects of another?
A Association B Aggregation
C Realization D Generalization
033. What is a collection of operations that specify a service of a class or component? C
A Use Case B Actor
C Interface D Relationship
034. What is a physical element that exists at runtime in UML? A
A A node B A Relationship
C An interface D An activity
035. Which diagram shows the configuration of run-time processing elements? A
A Deployment diagram B Component diagram
C Node diagram D ER-diagram
036. If the object is passed by value to a copy constructor? C
A Only public members will be B That will work normally
accessible to be copied
C Compiler will give out of memory error D Data stored in data members wont be
accessible
037. Which of the following is a technique for hiding the internal implementation details of an A
object?
A Encapsulation B Polymorphism
C Inheritance D Abstraction
038. Which things are dynamic parts of UML models? B
A Structural things B Behavioral things
C Grouping things D Annotational things
039. What can be requested from any object of the class to affect behavior? C
A Object B Attribute
C Operation D Instance
040. UML interfaces are used to: A
A Specify required services for types of B Program in Java, but not in C++ or
objects Smalltalk
C Define executable logic to reuse D Define an API for all classes
across classes
041. ___ deals with the static process view of a system, from the perspective of a real or B
prototype case.
A Component diagram B Object diagram
C Deployment diagram D State diagram
042. Class Responsibility Collaboration (CRC cards) is an important tool used in the ___ of B
object-oriented software.
A Analysis B Design
C Development D Specification
043. ___ relationship is indicated by a dashed line beginning at the base use case and C
ending with an arrow pointing to the use case.
A Communication B Uses
C Extends D Association
044. Which among the following helps to create a temporary instance? D
A Implicit call to a default constructor B Explicit call to a copy constructor
C Implicit call to a parameterized D Explicit call to a constructor
constructor
045. In the ___ phase the design model is built based on the analysis model. C
A System Design B Application
C Object design D Analysis
046. In object-oriented design it is important to describe the ___ between the associated A
classes in an application.
A Protocol B Function
C Constraint D Procedure
047. In ___, a single table is used to map multiple no inheriting classes. C
A Tableclass mapping B Multi-Tableinherited classes mapping
C Table-multiple classes mapping D Tableinherited classes mapping
048. The idea of the interface was introduced to solve the problem of ___ D
A Generalization B Association
C Multiple inheritances D Dependency
049. The third phase of OOAD design deals with ___ A
A Designing view layer classes B Designing attributes
C Designing access layer classes D Refining UML class diagrams
050. ___ is the layer of application functionality that encapsulates all the interactions within D
the database.
A Business layer B Presentation layer
C Application layer D Access layer
051. Which of the following supports the concept of hierarchical classification? D
A Polymorphism B Encapsulation
C Abstraction D Inheritance
052. To distinguish between active and non-active object which property is applied? C
A Abstraction B Polymorphism
C Concurrency D Aggregation
053. Which of the following is the functionality of Data Abstraction? NO
AN
SW
ER
GIV
EN
A Reduce Complexity B Binds together code and data
C Parallelism D Reusing a single code multiple time
054. When an object is created and initialized at the same time, a _________ constructor B
gets called.
A Inline Constructor B Copy Constructor
C Default Constructor D Parameterized Constructor
055. ___ is a creative activity to recognize and understand the problem, its related A
constraints, and the methods of overcoming those problems.
A Analysis B Implementation
C Design D Testing
056. ___ constraints are true for the attached set of relationships and instances over a long D
period of time.
A Primary key B Post-conditions
C Pre-conditions D Invariants
057. The explanatory parts of the UML model are known as ________ D
A Behavioral things B Grouping things
C Structural things D Annotational things
058. Self-delegation is a ___ an object sends to itself C
A Value B Attribute
C Message D Event
059. In which phase is the scope of the project defined? A
A Inception B Elaboration
C Construction D Trition
060. ___ denotes the aspirations of the users and the responsibility of the system to its C
users.
A UML B OOA
C Use-cases D Association
061. ___ relationship hides the internal details of the superclass from the subclasses. B
A Interface B Inheritance
C Part of D One too many
062. An Object-oriented program is structured as a community of interacting agents, called A
________
A Objects B Classes
C Functions D Statements
063. ___ emphasizes the key concepts and helps to identify issues and flaws in the analysis C
and design.
A Scenario B Use-case diagram
C Documentation D Class diagram
064. Which one of the following is not a structural thing? B
A Class B Package
C Use case D Node
065. An ________ shows an interaction consisting of a set of objects and their relationships, A
including the messages.
A Interaction diagram B Class diagram
C Use case diagram D Activity diagram
066. ________ shows a set of objects and their relationships. B
A Class diagram B Object diagram
C Use case diagram D Activity diagram
067. ___ is a powerful macro substitution and when improperly used can cause serious C
errors.
A Abstraction B Encapsulation
C Inheritance D Polymorphism
068. ___are objects that basically act as containers of data. B
A Display object B Value object
C Application structure D Data object
069. Use ________ diagrams if object life times are important to show. B
A Sequence B Use case
C Collaboration D State
070. Statechart diagram is used to show the ________ view of a system B
A Static B Dynamic
C Logical D Process
071. ________ diagrams are used to illustrate data structures, and the static snapshots of B
instances of the things found in the class diagrams.
A Use case B Object
C Collaboration D Sequence
072. CRC stands for ________ C
A Class Relationship Collaboration B Class Responsibility Component
C Class Responsibility Collaboration D Collaboration Relation Component
073. Collaboration diagram is a ________ diagram. A
A Interaction B Class
C Object D Deployment
074. Which of the following is not one of the use of component diagram? C
A To model physical databases B To model executable releases
C To model general view D To model adaptable systems
075. Which of the following is doesn 't include in the component diagram? D
A Dependency B Generalization
C Association D Aggregation
076. ________ shows a semantic relationship between two or more classes A
A Dependency B Generalization
C Association D Collaboration
077. Activity diagram shows the ________ from activity to activity within a system. C
A Sequence B Link
C Flow D Nodes
078. Which of the following diagrams is used to model business workflows? B
A Deployment diagram B Activity diagram
C Use Case diagram D Interaction diagram
079. Components are graphically represented as ________ with tabs A
A Rectangle B Circle
C Rhombus D Square
080. A ________ shows the configuration of run time processing nodes and the D
components that live on them.
A Use case diagram B Component diagram
C Class diagram D Deployment diagram
081. ________ relationship is used among nodes in deployment diagram. C
A Dependency B Generalization
C Association D Aggregation
082. Uses cases are represented as ________ within the system rectangle. A
A Ellipses B Circles
C Rhombus D Rectangle
083. A ________ diagram shows the organization of a set of components and their A
relationship
A Component B Interface
C Deployment D Architectural
084. Forward Engineering is possible for an Activity Diagram especially if the context of the D
diagram is ________
A a workflow B a class
C a usecase D an operation
085. ________ relationship between use cases me that the base use case explicitly C
incorporates the behavior of another use case at a location specified in the base.
A Exclude B Extend
C Include D Abstract
086. The behavior of a use case is specified by ________ A
A Flow of events B Classes
C Components D Nodes
087. Actors are connected to use cases only by ________ B
A Generalization relationship B Association relationship
C Realization relationship D Dependency relationship
088. Forward Engineering is the process of trlating ________ D
A Model to Model B Code to Model
C Code to Code D Model to Code
089. In an Activity Diagram, organizing the activities into groups is called ________ C
A Forking B Joining
C Swimlane D Synchronization
090. Objects placed in an Activity Diagram are connected to the activity or trition using A
________ relationship.
A Association B Generalization
C Dependency D Realization
091. Which of the following diagram view the whole system as a block box? D
A Class diagram B Activity diagram
C Interaction diagram D Use case diagram
092. Activity diagram is a special kind of ________ B
A Use case diagram B State chart diagram
C Interaction diagram D Component diagram