mca (revised) term-end examination june, hoov · pdf file · 2011-12-03mca...

56
(b) (c) (d) (e) MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum Marks : 7a0 Note r Qu estion number 1 is compulsory. Attempt any three questions from the rest. Explain the concept of obj ect. How is it different from class ? Show the representation of class and object in caseof UML. Comp are object oriented databaseswith relational databases. What is meant by inheritance adjustment ? Explain the process of doing this in case of object oriented model Explain the usage of five different relationships in caseof UML. Explain various components used in Data Flow Diagrarn. What is the need of levels in case of DFD ? 1- (a) MCS-032 P.T.O. Downloaded from www.paraman.in

Upload: dangkhuong

Post on 25-Mar-2018

222 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(b)

(c)

(d)

(e)

MCA (Revised)

Term-End Examination

June, hOOV

MCS-032 : OBJECT ORIENTED ANALYSISAND DESIGN

Time : 3 hours Maximum Marks : 7a0

Note r Qu estion number 1 is compulsory. Attempt any

three questions from the rest.

Explain the concept of obj ect. How is it different

from class ? Show the representation of class and

object in case of UML.

Comp are object oriented databases with relational

databases.

What is meant by inheritance adjustment ? Explain

the process of doing this in case of obj ect oriented

model

Explain the usage of five different relationships in

case of UML.

Explain various components used in Data Flow

Diagrarn. What is the need of levels in case of

DFD ?

1- (a)

MCS-032 P.T.O.

Downloaded from www.paraman.in

Page 2: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(0

(g)

Explain three major constraints while using objectoriented model. How can you implement constraintsin this model ?

"lnventory control systems are used to manage thestocks of companies and big distributionorganizations. " Draw any two diagrams used indynamic modelling of inventory control system.

Explain the process of storing a persistent object incase of object oriented database.

Write the three niajor steps required for designoptimization. Show the design of different types ofassociation, with suitable diagrams.

What is the importance of collaboration diagram ?Draw a collaboration diagram for, the productionmanagement system.

Write different types of models used in case of objectoriented modeling. Compare the usage ofgeneralization and inheritance with a suitableexample.

What are integrity constraints ? Explain the types ofintegrity constraints.

Identify the use of object diagrarn and deploymentdiagram. Explain and draw the appropriatedeployment diagram for student administrationsystem.

1 0

2. (a)

(b)

3. (a)

(c)

(b)

(c)

MCS-032

Downloaded from www.paraman.in

Page 3: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

4. (a) What is encapsulation ? What are its advantages ?How can encapsulation be enforced in C+ +/Java ? 7

(b) ' Draw a state transition diagram for digital watch s

(c) Explain the various considerations while usingfunctional model. Prep are a function model for

8university system

5. (a) Write two major aspects of implementingassociation. Explain uni-directional and bi-directionalassociation with its example. g

(b) Write short notes on : g

(i) Concurrency identification

(ii) Integrity constraints

(c) What is serialization ? Where is it used and why ? s

MCS-032 12,000

Downloaded from www.paraman.in

Page 4: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 5: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

MCS-032@

MCA (Revised)

Term-End Examination

June, ZOOT

MCS-032@ : OBJECT ORIENTEDANALYSIS AND DESIGN

Time : 3 hours Maximum Marks : IAA

Note : Quesf ion number r is compulsory. Attempt anythree questions from the rest.

l - (a) What is meant by abstraction ? How is it differentfrom encapsulation ? Justify with exampte. s

(b) Compare structured analysis with object oriented

5analysis,

(c) How is the object oriented diagram different fromER diagram ? s

(d) How is UML used in visuali zing, specifying,constntcting and documenting object orientedsystem ? Briefly explain. s

(e) How can concurrency b identified in objects ? Listthe mechanisms used to handle concurrency . s

MCS-m2@ P.T.O.

Downloaded from www.paraman.in

Page 6: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(0

(g)

Compare and contrast the object,

functional model. Out of these three

is most important and why ?

Write short notes on,:

(i) Object ldentity

(ii) Package

(iii) Design Optimization

(iv) Entry and Exit Actions

'

dynamic and

models, which

5

zlx+

2. (a)

(c)

3. (a)

(b)

Write three major characteristics of object oriented

modelling. Explain the concept of Link, Association

and Aggregation, with a suitable example for each.

Write three cases when statechart diagram should be

prepared for web based development. Compare it

with the activity diagram in these cases.

What are Immutable associations ? How are they

implemented in C+ +/Java ? Explain.

Explain 4+L view architecture with a suitable

example. How does it affect the development of

Softr,r,rare Architecture ?

What are the advantages of object ID ? Explain.

Write major considerations while using control as

state within the program. Draw the control of state

and event in case of ATM.

(b)

(c)

Mcs-mz@

Downloaded from www.paraman.in

Page 7: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

4. (a)

(c)

5. (a)

(b)

(c)

(b)

Explain three major reasons for creating abstract

classes. Prepare a UML diagram to represent the

abstract class.

Differentiate between state and actions. Explain

various notations in case of state chart diagram.

Create state chart diagram for login system.

What are the advantages and disadvantages of

merging an association into a class ? Explain.

Explain the steps involved in implementingpersist ence in object oriented system.

Implement association for bidirectional system, with

suitable example.

Explain the process of extending three level

architecture for object modes. Describe the process

of rnapping associations to tables, with suitable

diagram.

MCS-032 @ 3,000

Downloaded from www.paraman.in

Page 8: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 9: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

ADCA / McA (Iil Yr)

Term-End Fxarnination

June, 2OO7

CS-16 : OB,fECT ORIENTED SYSTEMS

Time : S.hsurs Maximum Marks: 75

Note : Quesf ion number 1 is compulsory. Answer any'.three questions from the rest. , -

l - (a) An automobile manufacturer has set up sales offices'in different cities. Interested customers visit a salesoffice. They pay advance to book the automobile.They pay the remaining amount and take delivery ofthe automobile as per scFredule given by staff at salesoffice. At the end of each duy, sales officecommunicates the information. about number of i- -

bookings, advance received, number of vehiclesdelivered etc. to their head office by fax. Now, the

-

company wants to develops Soles ManagementSysfem (SMS) to handle these activities. Identify theclasse$ in the system and draw a class diagram. Also,explain the classes and associations. I

CS.16 P.T.O.

Downloaded from www.paraman.in

Page 10: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(b)

(c)

Identify at least 5 classes in a Payroll Processing

System. Also, explain their operations and

behaviours. Make necessary assumptions. ,

Explain the following terms, along with an example

of each :

(i) Module

(ii) Multiple inheritance

(iii) Constraints

Prepare an instance diagram for the expression

b/a + a) (a/2 + c) (a/c + b) . Parentheses are used

in the expression for grouping, but are not need,ed in

the diagram.

Prepare an object diagram, showing at least five

relationships among the following object classes :

automobile, engine, wh eel, brake, brake-light,

headlight, door, battery, clutch, wiper, shocker,

speedometer.

Include associations, ' aggregations and

(d)

1 2

1 02. (a)

generalizations. Use qualified associations and show

multiplicity balls in your diagrams. You do not need

to show attributes of operations. I.Jse association

names where needed.

(b) What are hornomorphisms ? Give example to show

its use. '

CS-16

Downloaded from www.paraman.in

Page 11: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3. (a) Draw a DFD for student queries processing system.

Make necessary assumptions 5

(b) Define a state. Give an example of it. 5

(c) What is meant by Scenario ? Create scenario for

phone call. 5

4. (a) For each of the following systems, identify the

relative importance of the three aspects of modeling

namely object, functional and dynamic modelings : 70'

(i) Computer

(ii) Cricket player

(b) Write the five steps in the design of an interactive

interface. 5

5. (a) Differentiate between overloading and overriding.

Also, give an example of overriding

(b) Why arestate diagrams used ? Make a state diagram

tor car-gears-transmission.

(c) What is Association ? How are the one way and two

A/ay associations implemented ?

CS-16 13,000

Downloaded from www.paraman.in

Page 12: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 13: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

ADCA / MCA (Iil Yr)

Term-End Examination

June, 2OO7

CS-16@ : OBJECT ORIENTED SYSTEMS

Time : 3 hours Maximum Marks ; 75

Note ' ?;:::'i,!,i,T1i,,il' ,;:T:;'sory

Answer anv

l - (a) An airline has launched its operations. It is operating

to various destinations across the country. It is

having its offices in some places of the country from

where the customers can make reservations.

However, when they go to the office for reservation,

the staff at office contact their headquarters to find

about the availability of seats and other particuJars.

The same are conveyed to customers. Now, the

airline wants to develop an airline reseruation

s ystem fARS) so that all reservation offices haveinformation available to them instantaneously so thatthey can serrue customers in a better manner.

Now, identify classes for ARS. Draw the class

diagram. Also, explain the classes along with

associations. Make necessary assumptions, wher ever

needed

cs-16@ P T.O

Downloaded from www.paraman.in

Page 14: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(b)

(c)

Identify at least 5 classes for Hospital Management

System. Make necessary assumptions. Also explain

their operations and behaviours.

Explain the following terms, with an example of

each :

(i) Polymorphism

(ii) Classification

(iii) Encapsulation

Prepare an instance diagram for the expression

(x + il

(; + y). Parentheses are used in the

expression for grouping, but are not needed in the

diagram.

Prepare object diagrams showing at least

5 relationships among the following object classes.

Include associations, aggregations and

12

(d)

2. (a)

generalizations. Use qualified associations and show

multiplicity balls in your diagrams. You do not need

to show attributes or operations. Use association

names where needed. As you prepare the diagraffis,

you may add additional object classes. 70

expression, constant, variable, function,

argument list, relational operator, term, factor,

arithmetic operator, statement, program

(b) What is an abstract class ? Give an example which

shows the use of abstract class.

cs-16@

Downloaded from www.paraman.in

Page 15: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3. (a) Explain the following concepts related to advanced

dynamic modelling :

(i) State

(ii) Event

(iii) Scenario

(iv) Concurrency

M Actions

(b) Draw a dataflow diagram for a Library Management

System. Make necessary assumptions.

4. (a) For each of the following systems, identify the

relative importance of the three aspects of

modelling, namely object, dynamic and functional

modellings.

(i) Spelling checker

(ii) Xerox machine

(b) Write any three advantages and two limitations of

using a database management system

5' (a) lffi"iil:?il::l *-i:

be Perrormed bY a

(b) Comp are Jackson structured development with the

approach of Object Modelling Technique.

1 0

1 0

cs-16 o 3,000

Downloaded from www.paraman.in

Page 16: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

i '

Downloaded from www.paraman.in

Page 17: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

MCA (Revised)

Term-End Examination

December, 2OO7

MCS.O32: OBJEGT ORIENTED ANALYSIS

AND DESIGN

Time : 3 hours MaximLtm Marks : 100

Nofe : Quest ion number 1 is compulsory. Attemtpt any

thre:e questions from the rest.

l i l ; i r l l i---

l. lul Explain the concept of live objects with an example. 5

(b) Explain the differ ence between aggregation and

5generalization.l

What is inheritance ? Explain two benefits of

inheritance, with an example of each

Define polymorphism and its types with an example.

Explain the term "Persistent Objects".

Explain Process, Data flows, Actors and Data stores'

Explain UML. What are the basic building blocks of

UML ? Develop a UML diagram for library

information system

P . T . o .

(c)

(d)

(e)

(f)

k)

5

5

5

5

1 0

MCS -O32

Downloaded from www.paraman.in

Page 18: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

2. (a)

3. (a)

MCS-O32

(b)

What is the relationship between object oriented

analysis and object oriented design ? Explain using

suitable example.

Develop an object oriented analysis and design for

.the implementation of the student registration system.

The system should be able to show the list of courses

and accept admission forms etc.

(c) What is one way association and two way

association ? Give the advantages of two way

association.

(b)

(c)

Describe the problem of processing of order and

generating invoices of sales done by a medical store.

Design class diagram for the solution to this problem.

Describe clearly the role of each of the classes in your

diagram, the relationships between these classes and

the operations defined for them. Construct a sequence

diagram to show the main messages that must be

exchanged between the instances of these classes

according to the pattern.

Differentiate between data encapsulation and data

hiding

What is the difference betwee. ?.

<< extends >> and

a << uses >> relationship in UML ? Illustrate your

answer through an example.

Downloaded from www.paraman.in

Page 19: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

4. (a) Write short notes on :

(i) Extensibility

(ii) Genericity

using UML. How does UML catalyze the finalization

of the basic structu re of a mod el ? Also explain using

appropriate illustration

(c) Differentiate between Object oriented modelling and

Dynamic modelling

5. (a) Construct level one data flow diagram for Airlines\ .'

reservation management system.

(b) What are use case diagrams ? Explain with two

suitable examples.

(c) What is the main difference between an .analysis

class diagram and a design class diagram ? What sort

of factors should a system designer take into account

while constructing a design class diagram ? Give

e:<amples of the changes that need to be made to an

analysis class diagram to reflect two of these factors.

MCS-032

7

I

I ,OOO

Downloaded from www.paraman.in

Page 20: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 21: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Time : 3 hours

ADCA / MCA (III Yr)

December, 2OO7

CS-16 : OBJECT ORIENTED SYSTEMS

Maximum Marks : 75

Nofe : Quesf ion number 1 is

three quesffons from

compulsory. Answer any

the rest.

l. (a) In a university ' library materials are categonzed as

books, journals and magazines. A reader who may

be a student or a teacher may read any material of

his,/her own interest. They can be issued books on

their library cards. A student can be issued maximum

of 6 books at a time. How Aver a teacher can be

issued double of this. Prep are a class diagram for thisproblem.

(b) Differentiate between object oriented approach andtraditional approach. Give four differences.

Aggregation is a

association. Justify.

(c) special form of transitive

(d)

CS- l 6

How does multiple inheritance differ from multilevel

inheritance ? Explain with the help of an example.

P . T , O .

Downloaded from www.paraman.in

Page 22: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(a)2.

(e) What is a metadata ? Give an example of metadata.

How are pattern and metadata related to each

other ?

Prepare an object diagram for a computer network

consisting of three IANs. Each pair of IANs is

connected through a router. IANs contain 02, 05

and 06 nodes. Two IANs are CSMA /CD and one

is FDDI based

What do you understand by constraints in object

model ? What does a candidate key constrain in object

rnodel ?

Give three reasons, why overriding is used in object

oriented systems.

A VCR system can be playing a cassette or may be

off . This has facilities of recording, forwarding,

reversing, fast-forwarding, pausing and exiting.

Prepare a State diagram for this system

Show an event trace for withdrawing, checking

balance and transferring money in the bank using

ATM card. In the ATM machine user inserts the card,

enters his,/her PIN and performs one of the above '

tasks.

What is

transition

meant by an internal action and automatic

? Explain through an example.

(b)

(c)

(a)3.

6

(b)

(c)

C S . 1 6

Downloaded from www.paraman.in

Page 23: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

4. (a) A program takes as input a file name, and validates

the file name by counting the words in the name. It

formats ,the word count for displaying it on the

screen. Prepare a data flow diagram for this

problem. 6

(b) Explain the following with an example of each :

(i) Actor

(ii) Data store

(iii) Constraints 6

,(c) With the help of an example show how functiondl

model is related to dynamic model ? 3;

5. (a) ' Write the steps involved in constructing a dynamic

model and functional model. 10

(b) Is Abstraction abstract or concrete ? Justify your

answer 3

(c) Polymorphism and dynamic binding are

2. .?-plementary. Justify

1 3 , O O Oc s - 1 6

Downloaded from www.paraman.in

Page 24: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 25: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Mcs-032@

MCA (Revised)

Term-End Examination

June, 2(X)8

MCS-032 @: OBJECT ORIENTED

ANALYSIS AND DESIGN

Time : 3 hours Maxlmum Marks : 700

Nofe ; Question number 7 is compulsory' Attempt any

three questions from the rest.

f. (a) What is the difference between an ER diagram and

an object diagram ? Explain with an example. 5

(b) What are the phases of OMT ? To which of these

phases is UML applicable ? 5

(c) What are the various models developed in OOMD

(Object Oriented Modeling and Design) ? Which oI

the models is most important and why ? 2+3=5

(d) How are events happening between objecis

controlled ? 5

Mcs-o32@ P.T . O .

Downloaded from www.paraman.in

Page 26: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

What do you mean by Association in a UML

diagram ? Briefly describe various types of

Associations arrailable in UML. 2+3=5

A desktop publishing is needed, based on a

what-you-see-is-what-you€et philosophy. The system

will support text and graphics. Graphics exclude

lines, squares, boxes, polygors, circles, and ellipses.

Internally, a circle is represented as a special case oI

an ellipse and a square as a case of a box. The

system should support interactive, graphical editing

of documents. 10

(i) Rephrase the above requirements to make them

mote precis€. Remo'.re any design decisionspoqing as requirements.

(ii) Draw an object diagram for the abow system.

Prepare a State diagram for a sunflower that

blossoms at sunrise, closes at sunset and rotates with

the movement of the Sun in the direction facing the

Sun. 5

2. (a) Compare and conhast the concept oI aggregation

with the concept ol Association and Generalization.

Use suitable diagram to strengthen lrour statements.

(b) Prepare an object model to describe an undirectedgraph. Your model should only capture the stnrcture

of graph (i.e. connecuvi9 and need not be

concemed wiih the geometrical details.

(c) Compare object oriented databases with the

relational databases.

(e)

(s)

Mcs-032@

Downloaded from www.paraman.in

Page 27: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3 . ' ( a )

5. Write short notes on the following lany lour) :

(i) Mrdtipleinheritance

(ii) Entry and Exit actions

(iii) Control and its implementations

(iv) Generalization and Specialization

(v) Object identity

(b)

What are the various types of UML diagrams drawnto handle the static and dynamic component of asoftware under devefopment ? 5

Whai do you mean b9r concurrency ? Which model isperfect enough to describe concurrency in a UMLdiagram, and why ? When can you say that twoob;ects are concurrent ? Briefly describe any twoconcurrency issues. 2+2+7+2=7

(c) What is a DFD ? Briefly describe the components ofDFD. What are lhe design flaws of a DFD ?

2+3+3=8

Wdte three malor steps required for designoptimization. Show the design of different types ofassociations, with suitable diagram.

Draw state transition diagram for the game oI chess.

Explain the process of storing a persistent object incase of an object oriented database.

4- (a)

6

(b)

(c)

3 .

5x4:20

Mcs-032@ 4,OOO

Downloaded from www.paraman.in

Page 28: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 29: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

MCA (Revised)

Term-End Examination

June. 20O8

MGS-(I}2 : OBJECT ORIENTED ANALYSE

AND DESIGN

Tlme : 3 hours Maxlmum Marks : 700

Note : Question number 7 is compulsory' Atlempt any

three questions lrom the rest

1. {a} Give two disadvantages of both, stnrctured analysis

and object otiented analysis approach.

In object oriented design, what steps must the

designer take to adjust inheritance ?

What are immutable assoclatlons ? How can we

implement them ln C++,/Java ? Explain.

(b)

(c)

D

MCS-O32 P.T.O.

Downloaded from www.paraman.in

Page 30: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(d) A system for distributing electronlc mail over anetwork is needed. Each user of the system shouldbe able to send mail from any computer account andreceiw mail on one designated account. Thereshould be provisions for answering or forwardingmail, as well as saving messages in files or printing

them. Also, users should be able to send messages toseveral other users at once through distribution lists.Each computer on the net should hold any messagesdestined for computers which are down.'

(i) Rephrase the abciw requirements to make lhemmore precise. Remove any design decisionsposing as requirements.

(ii) Create an object diagram.

Prepare an event trace for withdrawing, checkingbalance and transfening money in the bank usingATM card. In the ATM machine user ins€rts th€card, enters his/her PIN and performs one of theabove tasks-

Prepare a data flow diagram {or computing thevolume and surface area of a cylinder. [nputs areheight and radius of the cylinder. Outputs are volumeand surface area. Discuss several wagrs ofimplementing the data flow diagram.

Explain 4+l view architecture with a suitableexample. How does it affect the dwelopment of asollware architecfure ?

1 0

(e)

2. (a\

MCS-O32

Downloaded from www.paraman.in

Page 31: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3. (a)

(b)

(c)

(b)

(c)

Ust the steps for'converting the state diagram to

code.

Explain the use of constraints in functioqal model'

with the help of suitable examples

How does multiple inheritance- differ lrom multilevel

inhedtanc€ ? Explain with the help of an example'

. Prepare an instahce diagram lor the expression

(X + y/2\ / W3 + Y). Parentheses are used in the

expression'lor grouping but are not needed in the

diagmm.

What do you mean by obiect lD ? What are its

advantages ?

4. (a) How can you say ihat an object oriented design oi a-

software is gooil or bad ? How does soltware design

influence the implementation part ? Give suitable

examPle in supPort of Your answer'

tb) Briefly describe the lollo'ring :

(i) Aggregation

(ii) A$ociation and its tYPbs

(iii) Mr' tiPlicitY and its tYpes

(c) Fxplain the steps involrred in implementing

persistence. in obiect oriented system'

Mcs-o32 P.T .O .

Downloaded from www.paraman.in

Page 32: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

5. (a) What is a collaboration diagram ? What is iheimportance of collaboration diagram ? Drawcollaboration diagram for student managementsystem.

Differentiate between State and Actions. Explainvarious notations used in State chart diagram. CreateState chari diagram for Login system.

Write shrot notes on (any furo) :(i) Integrityconstraints

(ii) Concurrent environment

(iii) Us€ras€ diagram

6

4MCS-03214,0@

Downloaded from www.paraman.in

Page 33: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

MCA (Revised)

Term-End Examination

December, 2008

MCS-032 : OB|ECT ORIENTED ANALYSISAND DESIGN

Time : 3 hours Maximum Marks : L00

Note 1 Question No. 1 is compulsory. Attempt any three

questions from the rest.

(u) Explain the concept of information hiding.

How it is different from data eniapsulation ?

(b) Compare and contrast DDBMS and

ODBMS.

(c) Give brief description of characteristics of

object oriented modelling.

(d) What are integrity constraints ? Briefly

discuss the type of. integrity constraints.

(e) How do we implement the concept of

assogiation in object oriented programming

languages ?

(q Compare object oriented analysis for

software development with structured

analvsis.

Downloaded from www.paraman.in

Page 34: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(g)

(h)

What is an activity diagram ? Explain how

activity diagram focuses on flows driven by

internal processing with the help of suitable

example.

Draw a class and instance diagram for

looping statements in C-programming

language.

Explain how classes can be designed.

Explain the various considerations while

using dynamic model. Prepare a dynamic

model for Airlines Reservation system.

What is meant by object interoperability ?

Where is it used and whv ?

With an example explain aggregation.

Explain the elements and notations of UML

class diagram in detail.

Discuss test plans and test cases.

Give the guidelines for developing usability

test and user satisfaction test.

Explain various components used in DFD

by using suitable example such as billing

svstem.

7

8

2. (a)

(b)

5

7

3. (a)

(b)

(c)

4.

(c)

(a)

(b)

Downloaded from www.paraman.in

Page 35: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

J .

(c) With an example explain noun phrase

approach for classification.

Write short notes on :

(u) Multiplicity and its types

(b) State diagram

(c) Persistance

(d) OMT models.

5 x 4 = 2 4

- o 0 o -

Downloaded from www.paraman.in

Page 36: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 37: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

5C\OOO

MCA (Revised)

Term-End Examination|une, 2A09

MCS-032 : OBIECT ORIENTED ANALYSFAND DESIGN

Time : 3 Hours Maximum Mark : 1-00

Note : Question number 7 is compulsory. Attempt any three

question fro* the rest.

(b)

MCS-032

Ctassify each of the following relationship

as either a class, an instance of a class,

inheritance relationship, dn aggregation

relationship and a general association

relationship.

(t Car - Nano

(ii) Library - Book issuing clerk

(iii) My car -

(i") Professor -

(") Car - Driver

Draw a state diagram for fixed size stack.

(u)1 .

P.T.O.

Downloaded from www.paraman.in

Page 38: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(.) Perform the following tasks for a simple

computerized library system :

(i) Draw a class diagram

(ii) Draw an object model

(iii) Draw a use case diagram

(i") Draw a generalrzatrort, and

association diagram

Note : Make assumptions, whereaer necessary.

(d) Differentiate between concurrence with and

without synchronization using suitable

example for each

(") Define state charts. Explain the two

strategies to implement state charts.

5

5

4

6

2. Differentiate between the following.

(u) Usecase and Usecase diagram

(b) Package and a Subsystem

(") Generalization and inheritance

3. (u) Define the following terms :

(i) Dynamic model

(ii) Scenario

(iil) Persistency

(i") Data hiding

(") Metaclass.

(d) OODBMS and RDBMS

(") Functional modeling and object modeling

5x4=24

5x2=L0

MCS-032

Downloaded from www.paraman.in

Page 39: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(b) Write an instance diagram for the expression

( u *b ) ------ (

[ z z ) ( i,t-;)

(")

(a)4.

The use of parentheses is not required in the

instance diagram.

Draw a DFD for student registration system

generally followed in IGNOU.

Draw an object model to descr ibe

undirected graph. An undirected graph

consists of a set of vertices and a set of edges.

What is the advantage of two way

association ? Explain, it can be implemented

using an example.

What are the benefits of object oriented

modeling ? Explain.

Describe how are the constraints

implemented ?

How do you map ternary association to

tables ? Illustrate.

What is design optimization ? Does the

rearrangement in execution order affect the

design ?

Write a state diagram for cancellation of

airlines ticket.

What is a sequence diagram ? Explain

through an example.- o O o -

(a)5 .

6(b)

(c)

(d)

(b)

(c)

(d)

MCS-032

Downloaded from www.paraman.in

Page 40: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 41: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

MCS-032

MCA (Revised)

Term-End ExaminationN- December, 2009

MCS-032 : OBJECT ORIENTED ANALYSISAND DESIGN

Time : 3 Hours Maximum Mark : 100

Note : Question number 1 is compulsory. Answer any three

questions from the rest.

Classify each of the following :

1. (a) Relationship as either a class, an instance 5of a class, inheritance relationship, anaggregation relationship and a generalassociation relationship

Employee

Computer Science Department

Class - Students

Person - Part time worker

(v) Students - Book loan

(b) Draw a state diagram for a stock showing 5error messages.

MCS-032

1 P.T.O.

Downloaded from www.paraman.in

Page 42: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(c) A general store wants to automate itsinventory. It has points of sale terminalsthat can record all of the items andquantities that a customer purchases. It hasanother terminals in the loading dock tohandle arriving shipments from suppliers.It has one more terminal to enter losses/discounts due to spoilage.

Perform the following tasks :

Find out list of objects 5

Draw a class diagram 5

Draw an object diagram 5

Draw an use case diagram 5

Note : Make assumptions, wherever necessary.

(d) What functions are important to include in 5use case diagram. Explain through anexample.

(e) What is serialization ? Why it is not useful 5when large volume of data needs to bestored ?

2. Differentiate between the following : 5x4=20

Link and reference

Generalization and specialization

Sequence Diagram and collaborationdiagram

Functional modeling and dynamic modeling

(e) Aggregation and Association

MCS-032 2

Downloaded from www.paraman.in

Page 43: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3. (a) Define the following concepts : 5x2=10

Meta data

Abstract class

Concurrency

Event

Data Dictionary

Define object interoperability. Also, explain 5where is it used and why ?

Draw a DFD for a general store problem 5(Refer to Q1(c))

4. (a) Draw an instance diagram for the following 5undirected graph :v6

V2

What is multiplicity in association ? Give 5an example to explain the answer.

What is the purpose of structural diagram 5in UML ? Also explain the use of componentand deployment diagrams.

(d) Explain, how an optional association can 5be implemented using class. Explain withan example.

MCS-032

3 P.T.O.

Downloaded from www.paraman.in

Page 44: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

5. (a) How do you map ternary associations to 5table ? Illustrate.

What is persistency ? Explain with an 5example, how persistent data are identified?

Write a state diagram for purchaging a rail 5ticket.

(d) What is an activity diagram ? Explain 5through an example

- o 0 o -

MCS-032 4

Downloaded from www.paraman.in

Page 45: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 46: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 47: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 48: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

Downloaded from www.paraman.in

Page 49: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

IMCS-032No. of Printed Pages : 4

MCA (Revised)cN1

Term-End ExaminationJune, 2010

OMCS-032 : OBJECT ORIENTED ANALYSIS

AND DESIGN

Time : 3 Hours Maximum Marks : 100

Note : Question no. 1 is compulsory. Attempt any three

questions from the rest.

1. (a) Identify class objects instances 5generalization, associations, inheritance ofthe followings :

Computer-ROM

Brother - sister

My computer-Network book

Employee-Section Officer

(v) Aircraft-Pilot

(b) Draw a state diagram for online submission 5. of examination form.

MCS-032

1 P.T.O.

Downloaded from www.paraman.in

Page 50: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(c) ABC Co. deals with on-line selling,purchasing and booking of shares. A userenters his/her user name and password(assigned at the time of registration) userchoosep one of the above actions and finallyreceives the transaction details perform thefollowing tasks.

Draw a class diagram 5

Draw a object diagram 5

Draw use case diagram 4

Draw association and inheritance 6

diagram

(d) What is the purpose of dynamic modelling. 5

(e) Explain the two strategies to implement 5state charts.

2. Differentiate between the followings withappropriate examples : 5x4=20

Static binding and dynamic binding

Functional modelling and object modelling.

Abstract classes and concrete classes.

Aggregation and Generalization.

(e) Activity diagram and state chart diagram

MCS-032 2

Downloaded from www.paraman.in

Page 51: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3. (a) Define the following terms : 10

metaclass and metadata

object identity

maintainability

collaboration diagram

(v) state diagram.

Draw a DFD for changing your existing 5program centre to a new program centre.

Draw an instance diagram x = y + z/ m. 5

4. (a) What do you mean by concurrency, whichmodel is perfect enough to describeconcurrency in a UML diagram and why ?When can you say that two objects areconcurrent ? Briefly describe any twoconcurrency issues. 2+2+2+4=10

What do you mean by association in a UML

5diagram ? Briefly describe various types ofassociations available in UML.

Explain important features of object 5oriented language.

MCS-032

3 P.T.O.

Downloaded from www.paraman.in

Page 52: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

5. (a) How are events happening between objects 5controlled ?

How do you may object classes to tables. 5

How do you implement association as 5classes ?

(d) How do you identify concurrency ? What 5are the important issues related toconcurrency ?

MCS-032 4

Downloaded from www.paraman.in

Page 53: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

MCS-032 No. of Printed Pages : 4

cV MCA (Revised)

t•-• Term-End Examination

0 June, 2011

MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN

Time : 3 Hours Maximum Marks : 100

Note : Question no. 1 is compulsory. Attempt any three questions from the rest.

1. (a) Classify each of the following relationship 5 as either a class, an instance of a class, inheritance relationship, an aggregation or association relationship. (i) Employee (ii) Computer Science Department (iii) University - Teacher (iv) Father - Son (v) Book - Copy

(b) Draw a state diagram for a graphical user 5

interface that has main menu, a file menu, with a file open command and quit commands at each menu. Assume that one file can be open at a time.

MCS-032 1 P.T.O.

Downloaded from www.paraman.in

Page 54: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(c) An university wants to computerize its admission process. The system should accept application (on-line) for different kinds of programs offered during the admission cycle, verify the eligibility criteria, offer admission letter accept fee through draft /cash/credit cards, allocate study centre dispatch course materials, you can make more assumptions.

Perform the following tasks for this system.

(i) Draw a class diagram 5 (ii) Draw an object diagram 5 (iii) Draw an use case diagram 4 (iv) Draw a generalization and an 6

association diagram.

(d) How do you map object classes in the form 5 of tables ?

(e) What is persistence ? How will you make 5 your data persistent ?

2. Differentiate between the followings with examples : 4x5=20 (a) Generalization and Specialization

(b) Aggregation and Association

(c) A sequence diagram and a collaboration diagram

(d) Data flow and State diagram

MCS-032 2

Downloaded from www.paraman.in

Page 55: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

3. (a) Define the following terms : 5x2=10

(i) Object identity

Concurrency

(iii) Polymorphism

(iv) Deployment diagram

(v) Multiplicity

(b) Draw a class diagram for a simple 5

arithmetic expression.

(c) Draw a Data Flow Diagram (DFD Level 1 5 and Level 0) for the problem defined in

Question'1 (c).

4. (a) A tourist company has many branches

across the country. It also has tie up with

top hotels, restaurants and holiday resorts

to provide different types of services to its

customers (both foreign and national). It

also provides on-line registration facility.

The payment can be accepted through a

credit card, cheque as well as cash (both

national and foreign currency). Booking is

done during the tourist season (June and

December). The company gives 20%

discount in case the booking is done in a

group (not less then 10). Identify all objects

and draw an object diagram. 3+5=8

MCS-032 3 P.T.O.

Downloaded from www.paraman.in

Page 56: MCA (Revised) Term-End Examination June, hOOV · PDF file · 2011-12-03MCA (Revised) Term-End Examination June, hOOV MCS-032 : OBJECT ORIENTED ANALYSIS AND DESIGN Time : 3 hours Maximum

(b) What is the use of object IDs ? Explain. 4

(c) Explain how do you will find actors in a 3 system.

(d) What is activity diagram ? Draw an activity 5 diagram for compression of a file and send through an e-mail attachment.

5. (a) Draw a sequence diagram for sending an e-mail to your friend.

(b) What is component diagram ? Show the 5 UML notations for components and relationship between components.

(c) What are the important design optimization 1+4 issues for a designer ? Discuss an issue in detail.

(d) How do you implement constraints ? 5

MCS-032 4

Downloaded from www.paraman.in