Skip to main content

::: vuaskari.com ::: CS504 Quiz No.1 Dated DEc 04, 2012

CS-504 Quiz No.1

Dated Dec 04, 2012

 

 

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

 

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



--
Zindagi mein 2 Logo ka buhat khayal rahkoooo
Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo
(Father)
2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)
Regards,
Umair Saulat Mc100403250

--
We say, "Be one as Pakistani Nation and grow up for Pakistan's Future". Wish you all the best. Join www.vuaskari.com,
To post to this group, send email to vuaskari_com@googlegroups.com
Visit these groups:
This (Main) Group:http://groups.google.com/group/vuaskari_com?hl=en?hl=en
MIT/MCS Group: http://groups.google.com/group/vu_askarimit?hl=en?hl=en
HRM Group: http://groups.google.com/group/askari_hrm?hl=en?hl=en
Banking Group: http://groups.google.com/group/askari_banking?hl=en?hl=en
Management: https://groups.google.com/group/vuaskari_mgt?hl=en
Marketing: https://groups.google.com/group/vuaskari_mkt?hl=en
MIS Group: http://groups.google.com/group/askari_mis?hl=en
 
 

Comments

Popular posts from this blog

Re: ::: vuaskari.com ::: CS408 - FINAL TERM SUBJECTIVE WITH REFERENCE SOLVED BY UMAIR SAULAT

GREAT WORK On Wed, Feb 20, 2013 at 11:30 PM, Umair Saulat < saulat.umair@gmail.com > wrote: CS408- Human Computer Interaction Solved Subjective Fall Semester 2012   QNo.1    it has been observed that most computer users use menu option for input instead of keyboard accelerator. What is the reason behind it? (2 Marks) Answer:- 1.        Menu options are easier to find. 2.        You don't have to memories the keys for menu option but for key board accelerators you have to memories them REF:: Handouts Page No. 127   QNo.2    Define active intervention.  (2 Marks) Answer:- Active intervention with the participant and actively probes the participant understands of whatever is being tested. REF:: Handouts Page No. 276 QNo.3    what is Ubiquitous Computing? (2 Marks) Answer:- The most profound technologies are those that disappear. They weave themselves into the fabric of everyday life until they are indi

Updating our Google Account inactivity policy

Every day Google works hard to keep you and your private information safe and secure by preventing unauthorized access to your Google Account with our built-in security protections. And keeping you safe means having strong privacy practices across our products that minimize how long we store your personal files and any data associated with them. We want to protect your private information and prevent any unauthorized access to your account even if you're no longer using our services. Therefore, we are updating the inactivity period for a Google Account to two years across all our products and services. This change starts rolling out today and will apply to any Google Account that's been inactive, meaning it has not been signed into or used within a two-year period. An inactive account and any content in it will be eligible for deletion from December 1, 2023. What this means for you: These changes do not impact you unless you h

Learn more about our updated Terms of Service

stargthb@gmail.com On January 5, 2022, we're making some changes to our Terms of Service. These changes won't affect the way you use Google services, but they'll make it easier for you to understand what to expect from Google — and what we expect from you — as you use our services. You can review the new terms here . At a glance, here's what this update means for you: More clarity on what you can expect from Google and what we expect from you : We're providing more examples to describe the mutually respectful conduct that we expect from all our users. Improved readability : While our terms remain a legal document, we've done our best to make them easier to understand, including reorganizing some topics so that they're easier to find. If you use Family Link to manage a Google Account for someone else, please take some time to talk to them about these changes. Thank you for using Google!