How To Exam?

a knowledge trading engine...


Punjab Technical University 2005 M.Tech Computer Science OBJECT ORIENTED ANALYSIS AND DESIGN CS 512 - Question Paper

Sunday, 14 April 2013 10:15Web

OBJECT ORIENTED ANALYSIS AND DESIGN CS 512 second Sem May 2k5

Max Marks 100

Note: Attempt any 5 ques.. All ques. carry equal marks.

1. Define the subsequent terms with examples:
(i) Interaction Diagrams
(ii) object Model
(iii) Data Abstraction

2. (a) explain what the objects in every of the subsequent lists have in common:
Bicycle, Sail-boat, Car, Truck, Airplane, Glider, Motorcycle, Horse.

(b) Prepare a list of objects that you would expect every of the subsequent systems to handle:
(i) A program for laying out a newsprint
(ii) A Telephone Answering Machine
(iii) A Catalog Store Order Entry System.

3. (a) Decide which mode(s) (Object, Dynamic, functional) are relevant for the subsequent aspects of a Computer Chess Player. The board and pieces will be displayed graphically on a Video Display. Human Moves will be indicated via a cursor controlled by a mouse. Of course, in a few cases, more than 1 category may apply.
discuss your answers:
(i) User interface which displays computer moves and accepts human moves.
(ii) consideration of a sequence of possible legal moves.
(b) Prepare a class diagram from the instance diagram in the subsequent figure: (please see the attachment)


4. (a) Prepare an instance diagram for the class diagram in the subsequent figure for the expression:

(x + y/2)/(x/3 +y)

Parentheses are used in the expression for grouping, but are not needed in the diagram. The many multiplicity shows that a term may be used in more than 1 expression.
(b) replace the subsequent Class Diagram so that terms are not shared and to handle unary minus. (Please see the attachment)




5. (a) A directory file contains info about files in a directory, including both ordinary files as well as other directory files. Prepare an object diagram which models directory files and ordinary files. Since a directory plus a filename uniquely identifies a file, you may use a filename as a qualifier.
(b) Prepare a portion of Object Diagram for a Library Book Check Out System that indicates the date a book is due and the late charges for an overdue book as derived objects.

6. There is a clear distinction ranging from the definition and the implementation of a function. The definition defines the behaviour of the function while the implementation truly computes the function. The definition of a function may be used to test the accuracy of the implementation. Prepare definitions of every of the subsequent using Mathematics, diagrams or pre- and post-conditions.:
(i) Absolute Value
(ii) Natural Logarithm
(iii) Square Root

7. What are the different phases of system life cycle? discuss with example.

8. Explain the following:
(a) Activity Diagram
(b) State Chart Diagram





 


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab Technical University 2005 M.Tech Computer Science OBJECT ORIENTED ANALYSIS AND DESIGN CS 512 - Question Paper