Thursday , 21 November 2024

CS504 Solved MCQs Mega Collection for Mid Term Papers

https://vu.resultsuptodate.com upload the CS504 Solved MCQs Mega Collection for Mid Term Papers. Try ro solved the Given CS504 Solved MCQs Mega Collection for Mid Term Papers yourself for the better preparation of upcoming Quizs and mid term papers

The modules interacting with each other through message passing have _______ between them.

Select correct option:

low cohesion

high cohesion

low coupling

high couling

Which of the following is NOT among one of the four layers of the Object Oriented (OO) design

pyramid

Select correct option:

The subsystem layer

The class and object layer

The Abstract layer

The message layer

 

The first step in any OOA process model is to

Select correct option:

build an object-relationship model.

define collaborations between objects.

elicit customer requirements.

select a representation language.

 

A ___ relationship indicates that one entity is composed of one or more parts which are

themselves instances of that or another entity.

Select correct option:

Inheritance

Whole-part

Generalization

Specialization

 

is an extremely powerful technique for dealing with complexity.

Select correct option:

Aggregation

Abstraction

Inheritance

Association

 

Which of the following is NOT among one of the four layers of the Object Oriented

(OO) design pyramid

Select correct option:

The subsystem layer

The class and object layer

The Abstract layer

The message layer

 

___ is a technique in which we construct a model of an entity based upon its essential

characteristics and ignore the inessential details.

Select correct option:

Inheritance

Polymorphism

Aggregation

Abstraction

 

 

 

In ________ relationship, a class shares the structure and behavior defined in another class.

Select correct option:

Aggregation

Composition

Inheritance

Uses

 

Once you define “Employee” as an object for pay-roll application _______

Select correct option:

It can NOT be used for income tax, bonus, commission or any HR application.

It can be used for income tax, bonus, commission or any HR application.

It can only provide Read-Only properties

None of the given options

 

A class will be cohesive if:

Select correct option:

Class does not implement Complex interfaces

Class does not have Complex Methods

If most of the methods do not use most of the data members most of the time

if most of the methods use most of the data members most of the time.

 

In this case of _______, intra component linkages are stronger while inter component linkages

are weak.

Select correct option:

high cohesion

low coupling

low cohesion

high coupling

 

In the case of action-oriented approach, data is decomposed according to:

Select correct option:

Object requirements

Functionality requirements

Corresponding domain model

Compatibility with object interface

 

In the case of ________ in a system, module boundaries are not well defined.

Select correct option:

low cohesion

high coupling

low coupling

high cohesion

A ___ relationship indicates that one entity is composed of one or more parts which are

themselves instances of that or another entity.

Select correct option:

Inheritance


Whole-part

Generalization

Specialization

 

The three most important characteristics of an object are

Select correct option:

Identity

State

Behavior

All of the given

 

______ has become a standard notation for object oriented system modeling.

Select correct option:

UML

C++

OCL (object Constraint Language)

None of the given options

 

______ analysis educates the analyst on business domain complexity and shows a way to deal

with it.

Select correct option:

Domain

Use Case

Object Collaboration

None of the given options

 

___ is a technique in which we construct a model of an entity based upon its essential

characteristics and ignore the inessential details.

Select correct option:

Inheritance

Polymorphism

Aggregation

Abstraction

 

Coupling is a measure of _____ of a module or component.

Select correct option:

Independence

Dependence

Aggregation

Composition

localized

 

 

 

The first step in any OOA process model is to

Select correct option:

build an object-relationship model.

define collaborations between objects.

elicit customer requirements.

select a representation language.

 

“System should maintain transaction log of every transaction” The above statement is an

example of

Select correct option:

Functional requirement

Non-functional requirement

Pseudo requirement

None of the given options

 

The most important and critical stage in the object oriented design is the appropriate

classification of _______.

Select correct option:

functions

methods

objects

relationships

 

When two components of a system are using the same global data area, they are related as

Select correct option:

Data Coupling

Content Coupling

Common Coupling

External Coupling

 

Class responsibilities are defined by _________.

Select correct option:

its attributes only

its collaborators

its operations only

both its attributes and operations

 

___ is a technique in which we construct a model of an entity based upon its essential

characteristics and ignore the inessential details.

Select correct option:

Inheritance

Polymorphism

Aggregation

Abstraction

 

“A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism,

and a power-engine” The above statement is example of:

Select correct option:

Whole-Part relationship

Inheritance

Specialization

Generalization

Identifying Whole-Part structures (Aggregations) means what are my _________

Select correct option:

Components

Attributes

Methods

Messages

 

Identifying Whole-Part structures (Aggregations) means what are my _______

Select correct option:

Components

Attributes

Methods

Messages

 

“A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism,

and a power-engine” The above statement is example of:

Select correct option:

Whole-Part relationship

Inheritance

Specialization

Generalization

 

Which of the following is NOT among one of the four layers of the Object Oriented (OO) design

pyramid

Select correct option:

The subsystem layer

The class and object layer

The Abstract layer

The message layer

The design process usually involves:

Select correct option:

Developing a number of different models.

Looking at the system from different angles.

Describing the system at various levels of abstraction.

All of the given options

 

When two components of a system are using the same global data area, they are related

As

Data Coupling

Content Coupling

Common Coupling

External Coupling

 

An object model encompasses the principle(s) of

Select correct option:

Abstraction

Encapsulation

Hierarchy or inheritance

All of the given options

 

In this case of _________, intra component linkages are stronger while inter component

linkages are weak.

Select correct option:

high cohesion

low coupling

low cohesion

high coupling

 

In object oriented design, the structure of the system revolves around.

Select correct option:

Objects

Methods

Properties

None of the given options

 

________ analysis educates the analyst on business domain complexity and shows a way

to deal with it.

Select correct option:

Domain

Use Case

Object Collaboration

None of the given options

 

Class responsibilities are defined by ___________.

Select correct option:

its attributes only

its collaborators

its operations only

both its attributes and operations

 

Which of the following sentence(s) is/are true regarding user interface design?

Select correct option:

GUI interfaces are good for all tasks which a user needs to perform at an interface.

The higher the response time, the better is the interface.

The simpler the interface, the efficient is the system.

Command-line interfaces are faster for some tasks which the user needs to perform.

 

GUI stands for:

Select correct option:

Genaric User Interface

Graphical User Interface

Genaric User Interaction

Graphical User Interaction

 

Which of the following is NOT among one of the four layers of the Object Oriented (OO)

design pyramid

Select correct option:

The subsystem layer

The class and object layer

The Abstract layer

The message layer

 

A class will be cohesive if:

Select correct option:

Class does not implement Complex interfaces

Class does not have Complex Methods

If most of the methods do not use most of the data members most of the time

if most of the methods use most of the data members most of the time.

 

___ is a technique in which we construct a model of an entity based upon its

essential characteristics and ignore the inessential details.

Select correct option:

Inheritance

Polymorphism

Aggregation

Abstraction

 

 

 

The key objective(s) of OOD process should achieve the following:

Select correct option:

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.

All of the given options

 

“A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism,

and a power-engine” The above statement is example of:

Select correct option:

Whole-Part relationship

Inheritance

Specialization

Generalization

 

A ___ relationship indicates that one entity is composed of one or more parts which are

themselves instances of that or another entity.

Select correct option:

Inheritance

Whole-part

Generalization

 

Identify the TRUE statement(s)

Select correct option:

An attribute that may have a number of values should be replaced by a new class and an object

connection

An attribute that varies over time, e.g., price of an item, should be replaced by an

additional class with an effective date and value

Replace “yes/no” type attributes with “status” type attributes for flexibility

All of given options

 

A structure is a manner of an organization which expresses a ______ strong organization within

the problem domain.

Select correct option:

semantically

syntactically

graphically

none of the given

semantically

 

Whole Part Structure is also called ____

Select correct option:

Generalization

Aggregation

Specialization

Association

 

Specialization means:

Calling the same method with object of child object

Hiding the data

Creating new subclasses from an existing class

None of given options

 

In “Railway ticket reservation system” the roles such as enquiry , reservation and ticketing and

cancellation are to be performed by the user called :-

Select correct option:

Passenger

System analyst

System developer

System designer

 

Defining the services of an object means:

Select correct option:

What it does?

What it knows?

Who knows it?

Whome it knows?

 

When a class gets physical existance in computer memory, it is called

Select correct option:

Parent Class

polymorphism

Static Object

Object

 

A class will be cohesive if:

Select correct option:

Class does not implement Complex interfaces

Class does not have Complex Methods

If most of the methods do not use most of the data members most of the time

if most of the methods use most of the data members most of the time.

 

A ___ relationship indicates that one entity is composed of one or more parts which are

themselves instances of that or another entity.

Select correct option:

Inheritance

Whole-part

Generalization

Specialization

 

—————-gives OO the ability to handle essential complexity better than action-oriented

approach.

Select correct option:

Centralization

Decentralization

Decentralization and Centralization

none of the given

 

_________ is an extremely powerful technique for dealing with complexity.

Select correct option:

Aggregation

Abstraction

Inheritance

Association

 

The modules interacting with each other through message passing have _______ between them.

Select correct option:

low cohesion

high cohesion

low coupling

high couling

Example of Coupling

 

Identifying Whole-Part structures (Aggregations) means what are my _______

Select correct option:

Components

Attributes

Methods

Messages

 

—————-gives OO the ability to handle essential complexity better than action-oriented

approach.

Select correct option:

Centralization

Decentralization

Decentralization and Centralization

none of the given

 

In the case of action-oriented approach, data is decomposed according to:

Select correct option:

Object requirements

Functionality requirements


Corresponding domain model

Compatibility with object interface

Identify the TRUE statement(s)

Select correct option:

 

An attribute that may have a number of values should be replaced by a new class and an object

connection

An attribute that varies over time, e.g., price of an item, should be replaced by an

additional class with an effective date and value

Replace “yes/no” type attributes with “status” type attributes for flexibility

All of given options

 

Software objects interact and communicate with each other using ______ .

Select correct option:

Whole-Part relation

Generalization/Specialization relation

Messages

None of given options.

 

A cohesive Class is one which emphasizes on __ unit of functionality

Select correct option:

Single

Multiple

Static

None of the given options

 

is an extremely powerful technique for dealing with complexity.

Select correct option:

Aggregation

Abstraction

Inheritance

Association

 

The key objective(s) of OOD process should achieve the following:

Select correct option:

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.

All of the given options

 

In this case of _______, intra component linkages are stronger while inter component linkages

are weak.

Select correct option:

high cohesion

low coupling

low cohesion

high coupling

 

Identifying Whole-Part structures (Aggregations) means what are my _______

Components

Attributes

mthods

messages

 

In ________ relationship, a class shares the structure and behavior defined in another class.

Select correct option:

Aggregation

Composition

Inheritance

Uses

Aggregation

 

A “register” in “Point of sale system” is an example of:

Select correct option:

Actor

Participant

Tangible thing

Transaction

 

Identify the TRUE statement(s)

Select correct option:

An attribute that may have a number of values should be replaced by a new class and an object

connection

An attribute that varies over time, e.g., price of an item, should be replaced by an additional class

with an effective date and value

Replace “yes/no” type attributes with “status” type attributes for flexibility

All of given options

 

To help separate an object’s external behavior from its implementation, the technique used is

called _________.

Select correct option:

Generalization

Association

Composition

Abstraction

 

While establishing the services for an object, the following fundamental questions should be

asked

Why does the system need this object any way?

What useful questions can it answer?

What useful action can it perform?

All of the given options

 

A change becomes ———– because of close presence of data and fucntions

Select correct option:

Accessible

Global

Private

Localized

Whole Part Structure is also called ______

Select correct option:

Generalization

Aggregation

Specialization

Association

 

Coupling is a measure of _____ of a module or component.

Select correct option:

Independence

Dependence

Aggregation

Composition

 

Class responsibilities are defined by _________.

Select correct option:

its attributes only

its collaborators

its operations only

both its attributes and operations

 

In “Point of Sale system”, the term “Payment” represents

Select correct option:

Actor

Participant

Transaction

Container

 

While establishing the services for an object, the following fundamental questions should be

asked

Select correct option:

Why does the system need this object any way?

What useful questions can it answer?

What useful action can it perform?

All of the given options

 

Check Also

CS504 Solved Papers for upcoming final term papers is available

Question No: 1      ( Marks: 1 ) – Please choose one                                                                The two …

Leave a Reply

Your email address will not be published. Required fields are marked *

*