Thursday, October 27, 2011

Object Oriented Analysis and Design - 6

Object Oriented Analysis and Design - 6
True/False
Question Use cases are not beneficial for all interface requirements.
Correct Answer False

Multiple Choice Single Answer
Question When the method is chosen and performed on the data, the object status changes.
The static object assumes :-
Correct Answer Dynamic state

True/False
Question The sequence diagram shows a task or activity sequence but do not show the
relationship between objects through the roles that play in the interaction.
Correct Answer True

Select The Blank
Question ________ provides diverse set of interfaces to reach data stored at any database and
then manipulates it to produce the result.
Correct Answer MDBS

Match The Following
Question- Correct Answer

Class Shape -Triangle, rectangle, circle, ellipse
Class Vehicle -Scooter, car, truck, tractor

Class Animal -Cat, dog, cow, tiger
Class Color -Red, yellow, blue, green

Select The Blank
Question ODBC with ________ provides standard database access through a common
interface, independent of application .
Correct Answer API

Multiple Choice Single Answer
Question Each object is associated with the data of type class with which they are created. A
class is thus a collection of objects of
Correct Answer Similar type

Multiple Choice Multiple Answer
Question OODBMS standards comprise of :-
Correct Answer ODL , OQL , ODMG C++ binding

Select The Blank
Question The ________ may have two or more constructors.
Correct Answer Class

Select The Blank
Question Invoice and ________ are two classes in the noun phrase approach .But Amount is an
attribute in invoice, hence should be rejected for class consideration.
Correct Answer Amount

Multiple Choice Multiple Answer
Question A first step in design is to construct a static UML class diagram consisting of :-
Correct Answer Attributes , Methods , Class name

Select The Blank
Question When you express user-system interaction, the scenario in the model is called
________
Correct Answer Case model

True/False
Question In evolutionary model, the management activities are emphasised with respect to
inception, elaboration, construction & transition.
Correct Answer True

Multiple Choice Multiple Answer
Question "Designing classes", consists of identifying following entities for each class:-
Correct Answer Structures , Protocols , Methods

Multiple Choice Single Answer
Question How big is a class object?
Correct Answer Is as big as sum of the sizes of its member variables

Multiple Choice Single Answer
Question If Dog derives from Mammal, and Mammal derives from Animal, then -
Correct Answer Dog inherits Animal's functions and data

True/False
Question Usually the methods are declared after its variables in the class body.
Correct Answer True

Multiple Choice Multiple Answer
Question In formulating algorithms we take help of :-
Correct Answer Activity diagrams , Class properties , Associated classes

Multiple Choice Multiple Answer
Question The columns to be filled in DVD reservation slip are as stated below :-
Correct Answer Member name , Member ID , Contact phone number

Multiple Choice Single Answer
Question The concept of OOPS was first introduced in
Correct Answer Simula Language

Select The Blank
Question ________model is based on actors and use cases.
Correct Answer Use case

Select The Blank
Question ________ enables the development of extremely flexible client-server systems as it is
possible to locate reusable objects /components stored anywhere in the network and
manipulate them as per the application requirements.
Correct Answer DOC

Multiple Choice Single Answer
Question Collection of similar datatypes is called as
Correct Answer Array

Match The Following
Question -Correct Answer

We can define abstract operation on abstract data- Data abstraction
Process of sharing properties of the higher level object or class- Inheritance

Ability to inherit attributes and methods from 2 or more objects or classes- Multiple inheritance
Ability to send a message to several objects and to allow receiving object to respond
method specified on the object. -Ploymorphism
Multiple Choice Single Answer
Question Registration form is filled in by :-
Correct Answer Customer

Select The Blank
Question The user must have access to both OODB and RDB to manipulate data. The
developer therefore must develop applications that could source data from ________
databases [ OODB, RDB etc] .
Correct Answer All

Multiple Choice Multiple Answer
Question The criteria that supports OODBMS (O2, Objectivity, Object Store and Versent ) are as
follows :-
Correct Answer OQL , ODMG C++ binding , Smalltalk binding

Multiple Choice Single Answer
Question When it is limited to use structure in part or full by other object, then the degree of
coupling is :-
Correct Answer Low

True/False
Question Object Oriented program is like a community of interacting individuals each having
assigned responsibilities, working together towards attainment of common goal.
Correct Answer True

Select The Blank
Question ________ provide initialization of an object created from the class.
Correct Answer Constructors

Multiple Choice Multiple Answer
Question The contents of DVD reservation slip form are as follows :-
Correct Answer Choice of delivery [ home or self-collection ] , e-mail address of member , Mobile
phone number of member

phone number of member
True/False
Question Once actors and their interface requirements are identified, the use of sequence and
collaboration diagrams is necessary to identify the interaction sequence and objects
that collaborate in the use case activities.
Correct Answer True

Select The Blank
Question Once algorithms are finalised, we convert them into a program using OOPL or using
________containing automatic programming and testing.
Correct Answer CASE tool
Your Answer CASE tool

Question There are no set rules or guidelines on ' how many case scenarios are necessary to
represent the system? '
Correct Answer True

Multiple Choice Multiple Answer
Question The contents of DVD return slip form are as follows :-
Correct Answer Member ID , Contact phone number , Feedback on DVD

Multiple Choice Multiple Answer
Question In Railway Reservation and Ticketing system, we can call following parameters as
attributes of class Passenger :-
Correct Answer Name , Age , Sex

Multiple Choice Single Answer
Question The main difference between structure and class is
Correct Answer Structure does not support OOPS Class Supports OOPS.

Multiple Choice Single Answer
Question The model of interaction between user and system is called
Correct Answer Use case model

Multiple Choice Single Answer
Question A technical term for an object of a class is termed as
Correct Answer Instance
Multiple Choice Multiple Answer
Question The minimum hardware and system requirements for proposed software for DVD titles
are as follows :-
Correct Answer CPU - PIII, 1 Ghz , OS - MS windows XP , Disk Space - 1 GB free

True/False
Question Objects can not interact unless they know the details of each others data or code.
Correct Answer False

Multiple Choice Multiple Answer
Question Most of the applications have a three tier layered architecture. The three tier layers are
:-
Correct Answer Server , Application , Client

True/False
Question Sequence diagrams and collaboration diagrams are very difficult to select classes and
objects.
Correct Answer False

True/False
Question The process of mapping and integrating begins with defining the relationships between
the table structure in RDB and class structure in object model in OODB
Correct Answer True

Select The Blank
Question The corresponding equivalent of table in OODBMS is ________ with attributes and
methods.
Correct Answer Class

Multiple Choice Single Answer
Question Use case steps are executed in :-
Correct Answer Logical order

Multiple Choice Single Answer
Question A way of approaching a problem especially when it belongs to general class of
problems is indicated by :-
Correct Answer Pattern

Object Oriented Analysis and Design - 5
Select The Blank
Question The manager ________ manages an application’s data needs by mapping data
requirements to data source in the database.
Correct Answer ODBC driver

True/False
Question A state chart diagram shows method of execution on receipt of message and activities
used in the method.
Correct Answer True

True/False
Question If the software is written in C++, name of constructor and destructor must differ.
Correct Answer False

Multiple Choice Single Answer
Question OOA and OOD are based on :-
Correct Answer Business analysis model

Multiple Choice Multiple Answer
Question In context of transactions, OODBMS :-
Correct Answer Handle nested transactions , Supports MROW , Supports long transactions

Match The Following
Question- Correct Answer

Land -Place class

PC, printer, telephone -Tangible and device class
Reversation office- Organisation class

Counter clerks -People class

True/False
Question A value of object changes when event occurs.
Correct Answer True

Select The Blank
Question ________ provides diverse set of interfaces to reach data stored at any database and
then manipulates it to produce the result.
Correct Answer MDBS

Multiple Choice Single Answer
Question It has been said that Pascal and C programs are collections of procedures and C++
programs are collections of
Correct Answer Classes

True/False
Question Objects can not interact unless they know the details of each others data or code.
Correct Answer False

True/False
Question The registration form is filled for each member of family under one address
Correct Answer True

True/False
Question Once class is defined we can create limited number of objects belonging to that class.
Correct Answer False

Multiple Choice Single Answer
Question Processes run by the users are modeled in the use case and situation in which user
plays this role is called :-
Correct Answer Scenario

Multiple Choice Single Answer
Question OODBMS provides all required advanced features in addition to all features of :-
Correct Answer RDBMS

Multiple Choice Multiple Answer
Question In formulating algorithms we take help of :-
Correct Answer Activity diagrams , Class properties , Associated classes

Match The Following
Question -Correct Answer

Ability to send a message to several objects and to allow receiving object to respond
method specified on the object.- Ploymorphism
We can define abstract operation on abstract data -Data abstraction

Process of sharing properties of the higher level object or class -Inheritance

Ability to inherit attributes and methods from 2 or more objects
or classes -Multiple inheritance

True/False
Question Object-oriented programming focuses on the integrated data and functionality as
discrete units that have both knowledge (data) and capabilities (functions). Procedural
programs, on the other hand, focus on functions and how they act on data.
Correct Answer True

True/False
Question A functionality prototype can be designed that does not have the final user interface,
but allows users to try out various features, such as forwarding messages or attaching
files without worrying about the final interface.
Correct Answer True

Multiple Choice Single Answer
Question How big is a class object?
Correct Answer Is as big as sum of the sizes of its member variables

Select The Blank
Question ________ needs use case analysis from the viewpoint of identifying those business
class that need human interaction.
Correct Answer Identification

Multiple Choice Single Answer
Question In RDD, the technique in which we gather information on group activity that resolves
differences in opinion, solutions & requirements, is termed as
Correct Answer Brainstorming

True/False
Question Usually the methods are declared after its variables in the class body.
Correct Answer True

Select The Blank
Question ________models one or more roles that a user or a system interacting the system can
play.
Correct Answer Actor

Multiple Choice Single Answer
Question The concept of OOPS was first introduced in
Correct Answer Simula Language

Multiple Choice Single Answer
Question If Dog derives from Mammal, and Mammal derives from Animal, then -
Correct Answer Dog inherits Animal's functions and data

True/False
Question The incremental approach means repeating software development cycle , analysis
and modeling, designing and implementation or programming to achieve incremental
goals.
Correct Answer True

Multiple Choice Single Answer
Question The existing computer system at DEL is developed using :-
Correct Answer Independent systems

Multiple Choice Multiple Answer
Question Access to other OODBMS comprises of :-
Correct Answer Read data resident in other OODB , Modify data resident in other OODB , Read data
resident on RDBMS

Multiple Choice Multiple Answer
Question All OODBMS products namely O2 , Objectivity, ObjectStore and Versant support adhoc
queries with the following :-
Correct Answer 4GL , C++ , GUI

Multiple Choice Single Answer
Question The link between business object [ e.g. passenger, employee, ticket, train ] and the
respective data stores is provided by :-
Correct Answer Access layer
Select The Blank
Question ________ has a role which is performed through well defined tasks. These tasks are
performed in logical sequence to achieve a system goal.
Correct Answer Actor

Select The Blank
Question ________ enables the development of extremely flexible client-server systems as it is
possible to locate reusable objects /components stored anywhere in the network and
manipulate them as per the application requirements.
Correct Answer DOC

Multiple Choice Multiple Answer
Question The DBMS criteria is supported by O2, objectivity, object store and Versent. The
criteria for the same is as follows :-
Correct Answer Replication of data , Data encryption , Database language based on SQL

Multiple Choice Multiple Answer
Question Most of the applications have a three tier layered architecture. The three tier layers are
:-
Correct Answer Server , Application , Client

Select The Blank
Question A class inherits state and behaviour from its ________ .
Correct Answer Superclass

Multiple Choice Multiple Answer
Question The main function will have following contents in C++
Correct Answer Name of class followed by name of object , Name of object and method separated by
dot operator. , Variable declaration

True/False
Question The mismatch between application objects and relational data needs to be mapped for
use in the application.
Correct Answer True

Multiple Choice Single Answer
Question When it is limited to use structure in part or full by other object, then the degree of
coupling is :-
Correct Answer Low

True/False
Question Use cases for different scenarios arising out of smaller input variations need not be
modeled.
Correct Answer True

Multiple Choice Multiple Answer
Question In C++ language if the class member is to be created, following are the actions :-
Correct Answer Specify methods in the class , Specify constructor , Specify destructor

Multiple Choice Single Answer
Question ActiveX is also known as :-
Correct Answer OLE

Select The Blank
Question The most widely used OOPL is ________
Correct Answer C++

True/False
Question If an algorithm having single result is provided with well defined pre and post
conditions, it becomes very simple.
Correct Answer True

Multiple Choice Single Answer
Question In first generation client-server computing , methods/applications were available to
serve on demand at :-
Correct Answer Server side

Multiple Choice Single Answer
Question The main difference between structure and class is
Correct Answer Structure does not support OOPS Class Supports OOPS.

Multiple Choice Single Answer
Question The method for industrial development of software based on use-case-driven design is
Correct Answer OOSE [ Object Oriented Software Engineering ]

Multiple Choice Multiple Answer
Question All OODBMS products namely O2 , Objectivity , ObjectStore and Versant support
application programming in following languages.
Correct Answer C++ , JAVA , SMALLTALK

Object Oriented Analysis and Design - 4
Multiple Choice Single Answer
Question The actor in drama may have role of dancing in dance event and also may have a
role of singer in solo singing event . This pattern is known as .
Correct
Answer
Player role pattern

Select The Blank
Question In a façade class , we provide most often required and most dynamic properties of
the ________ class and class in the main system.
Correct
Answer
Super

Multiple Choice Single Answer
Question C++ is basically a procedural language having extension of
Correct
Answer
Object Oriented technology

Select The Blank
Question ________ has become a standard notation for object oriented system modeling.
Correct
Answer
UML

Select The Blank
Question ________ is a graphical representation of user's view and developers
understanding of transactions performed in the case scenario .
Correct
Answer
Use case diagram

True/False
Question Testing is the process of demonstrating that the faults are not present.
Correct
Answer
True

Multiple Choice Multiple Answer
Question Like entity-relationship model , the object relationship model is developed. The
development takes place through following three steps :-
Correct
Answer
Draw a network of collaborators using CRC index cards. , From CRC index cards ,
evaluate responsibilities and collaborations. Name unlabeled lines. The direction of
relationship is indicated by an arrowhead line. , Determine cardinality .

Multiple Choice Single Answer
Question The use of constructors will be made in a 'member' class for
Correct
Answer
Initialize objects

Multiple Choice Single Answer
Question UML uses
Correct
Answer
OCL [ object Constraint Language ]

Select The Blank
Question When we move to OOSAD , server-resident applications will give way to objects
and ________ objects in Distributedserver environment.
Correct
Answer
Distributed

Multiple Choice Single Answer
Question Selected design pattern should be a solution that weights heavily on the
advantage and that has very few and insignificant disadvantages. In
documentation content , this is known as
Correct
Answer
Optimum solution

Multiple Choice Multiple Answer
Question Some key objectives of OOD process should achieve the following
Correct
Answer
The class as far as possible should be independent , but could be dependent on
only a few classes. , Interaction between two classes should be explicit. , Class
hierarchy should be built on specialization of higher class.

True/False
Question Compared to other OO methods , the metrics methods progressed very slowly.
Correct
Answer
True

True/False
Question OODBMS ensures that in the event of failure the recovery process enforces
consistency in database status after a transaction is terminated by force externally.
Correct
Answer
True

Multiple Choice Multiple Answer
Question OOSAD has following main activities
Correct
Answer
Use case-driven OO analysis and OO design , Prototyping and review of OO
design , Implementation , incremental testing and maintenance.

Select The Blank
Question The company may have functional databases such as BOM , drawings ,
equipments . These databases are ________ in nature and are distributed
physically , logically and by responsibility of control.
Correct
Answer
Heterogeneous

Multiple Choice Multiple Answer
Question In train class the examples of changing parameters are
Correct
Answer
Driver , Passenger name , Guard

Match The Following
Question- Correct Answer

Method -Procedure body implementing operation

Object -Collection of data & operations

Class- Description of set of objects
Instance- Technical term for object of class

True/False
Question The purpose of an interaction diagram is to understand the role of other objects
that are in collaboration with the object in question , the objective being to
complete the job.
Correct
Answer
True

Select The Blank
Question When object A wants object B to perform one of B's methods, object A sends a
________to object B.
Correct
Answer
Message

Select The Blank
Question The main objective in building ________class is to create set of classes that know
how to communicate with locations where data actually resides.
Correct
Answer
Access layer

Multiple Choice Single Answer
Question In OOSAD , the view layer classes or UI are
Correct
Answer
GUI [ Graphical User Interfaces ]

Multiple Choice Single Answer
Question The variables in the class 'member ' will be declared as
Correct
Answer
Private

Match The Following
Question -Correct Answer

Row -Refers data for single entry
Standard procedure -Method
Table -Scheme representing complex relationships between entities

Column -Refers datatype and name
Multiple Choice Single Answer
Question When two classes refer to one class to read or write data , then the degree of
coupling is
Correct
Answer
High

Multiple Choice Multiple Answer
Question The following flaws generally arise through oversight.
Correct
Answer
Special circumstances may have been generated to accommodate the
unnecessary attribute or exceptions to it. Work involved in the creation of
unnecessary subclasses should be avoided. , A misinterpretation of the class
definition may lead to incorrect or extraneous class relationships. , The behavior of
the system or its classes may be improperly characterized to accommodate
extraneous attribute.

True/False
Question In the process of rationalizing and organizing classes we simplify class structure ,
minimizing number of classes and reducing information content in each of them .
Correct
Answer
True

Multiple Choice Multiple Answer
Question Use case models are more useful to :-
Correct
Answer
Analyst , Designer , Developer

Select The Blank
Question Models provide a way of describing a world but ________ techniques are only a
part of analysis and design.
Correct
Answer
Modeling

True/False
Question By default, variables are private and methods are public .
Correct
Answer
True

Select The Blank
Question In a view layer class we build ________ where the user interacts with the system.
Correct
Answer
Interface

Multiple Choice Single Answer
Question In use case model , store clerk , shop manager , vendor and purchase manager
are
Correct
Answer
Actors

Select The Blank
Question A ________is a declaration that a pointer to a base class is to be treated as a
pointer to a derived class.
Correct
Answer
Down cast

Multiple Choice Multiple Answer
Question A simple and single object on its own does not achieve anything unless it is
triggered into action by the following from other object or method.
Correct
Answer
Stimulus , Signal , Message

True/False
Question An object may become reusable by accident or by design.
Correct
Answer
True

Multiple Choice Single Answer
Question Being an individual , different roles in a system performance can be played by :-
Correct
Answer
User

True/False
Question OO approach saves development time as the object can be reused.
Correct
Answer
True

Multiple Choice Multiple Answer
Question OOT features three counts namely
Correct
Answer
Reusability , Portability , Interoperability

True/False
Question An immutable class is never protected from changing.
Correct
Answer
False

Multiple Choice Multiple Answer
Question The following are some of the authors who have published methods for analysis
and design of systems based on OO paradigm
Correct
Answer
Coad , Yourdon , Shlaer

Multiple Choice Single Answer
Question One has to identify classes , class relationships , class attributes and class
methods for drawing
Correct
Answer
Static class diagram

Multiple Choice Single Answer
Question The OO testing is generally based on the techniques of
Correct
Answer
Fault detection

Multiple Choice Multiple Answer
Question It is not necessary that the user be a human being. It could be :-
Correct
Answer
Bar code reader , Card swiping machine , ATM system

Multiple Choice Single Answer
Question Collection of similar datatypes is called as
Correct
Answer
Array

Multiple Choice Multiple Answer
Question Consider a Store Transaction System. If the use case diagram of store transaction
system is prepared , the following activities can be taken into consideration.
Correct
Answer
Customer submits requisition for material. , Storekeeper confirms availability of
material and issues the same. , Customer collects the material.

Select The Blank
Question The classes are associated with ________ mechanism.
Correct
Answer
Coupling

True/False
Question DIT is not useful in predicting defect-proneness of a class.
Correct Answer False

No comments:

Post a Comment