Você está na página 1de 4

G.H.RAISONI COLLEGE OF ENGG.

NAGPUR
DEPARTMENT OF INFORMATION TECHNOLOGY
SESSION - 2009-10
SUBJECT: Object Oriented Methodology
SEMESTER: V SEM
QUESTION BANK
[1] Explain the stages of Object Modeling Technique (OMT)
[2] Write a short note on following object-oriented themes:
1) Abstraction
2) Encapsulation
3) Combining data and behavior
4) Sharing
5) Emphasis on object structure, not procedure structures
6) Synergy
[3] Explain role names with example.
[4] Explain qualification with example.
[5] What is aggregation?
[6] What are generalization and inheritance?
[7] Prepare a instance diagram 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 indicates that a term may be used in
more than one expression.
[8] Differentiate between aggregation and generalization
[9] Prepare an object model to describe undirected graphs. An undirected graph consists of a set of vertices
and a set of edges. Edges connect pairs of vertices. Your model should capture only the structure of graph
(i.e. connectivity), and need not be concerned with geometrical details such as location of vertices or
lengths of edges. A typical graph is shown in figure below.
[10] Prepare an object diagram for a graphical document editor that supports grouping, which is a concept
used in variety of graphical editors. Assume that a document is composed of several sheets. Each sheet
contains drawing objects, including text, geometrical objects, and groups. A group is simply a set of
drawing objects, possible including other groups. A group must contain at least two drawing objects. A
drawing object can be a direct member of at most one group. Geometrical objects include circles, ellipses,
rectangles, lines and squares.
[11] A directory file contains information about file 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 file name uniquely identifies a file, you will probably want to use file named as qualifier.
[12] What is an event?
[13] Explain scenarios and event traces with example.
[14] Prepare scenario and event traces with example.

[15] Prepare scenario and event trace diagram for railway reservation system.
[16] What is a state diagram? Explain the state diagram for phone line.
[17] Explain partial event hierarchy for keyboard events.
[18] Write a short note on aggregation concurrency.
[19] Write a short note on concurrency within an object.
[20] How synchronization of control is performed?
[21] Write a short note on object modeling.
[22] How object classes are identified?
[23] How associations are identified?
[24] State the criteria for discarding unnecessary and incorrect associations.
[25] Write a short note on system design.
[26] Write a short note on data stores.
[27] Write a short note on database or DBMS.
[28] Explain procedure driven sequential systems.
[29] Explain event driven sequential system.
[30] Write a short note on concurrent system.
[31] What is batch transformation?
[32] What is continuous transformation?
[33] What is transaction manager?
[34] Explain architecture of ATM system.
[35] Differentiate among object model, functional model and dynamic model regarding the design of
system.
[36] What are the considerations in choosing among alternative algorithms?
[37] What is the traditional approach to represent control within the program?
[38] Explain the state machine engine approach.
[39] Explain control as concurrent task approach.
[40] Write a short note on one way associations.
[41] Write short note on two-way associations.

[42] Some time an airline will substitute a smaller aircraft for a larger one for a flight with few passengers.
Write an algorithm for reassigning seats so that passenger with low numbers does not have to be
reassigned. Assume both aircraft have same number of seats per row.
[43] Explain OMT object modeling and ER diagram modeling with example.
[45] Write short note on reusability.
[46] What are the techniques of breaking up methods to inherit some code?
[47] What is object oriented principles to enhance extensibility?
[48] What is a robust method? How it is implemented?
[49] What guidelines are observed during programming in large?
[50] State and discuss various features supported by commercial object oriented programming language
such as:
[1] Multiple inheritance
[2] Class library
[3] Efficiency
[4] Strong typing Vs weak typing
[5] Memory Management
[6] Encapsulation
[51] Write short note on packaging.
[52] State and discuss various stages of object modeling technique.
[53] Discuss abstraction and Encapsulation.
[54] Differentiate the following:i)
Aggregation and association
ii)
Object diagram and state diagram
iii) Module and sheet
[54] Define:i) Role names ii) Qualifiers iii) Generalization
[55] What is meant by object oriented methodology.
[56] Prepare a data flow diagram to compute volume and surface area of a cylinder. Inputs are height and
radius of the cylinder and outputs are volume and surface area.
[57] Construct a data flow diagram for sales from inventory system.
[58] Prepare an object diagram for a graphical document editor that supports grouping, which is a concepts
used in a variety of graphical editors. Assume that a document is composed of several sheets. Each
sheet contains drawing object, including text and geometrical objects and groups. A group is simply a
set of drawing objects, possibly including other groups. A group must contain at least two drawing
objects. A drawing object can be a direct member of at most one group. Geometrical objects include
circles, ellipses, rectangles, lines, and square.
[59] A directory file contains information 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 file name uniquely identifies a file, you will probably want to use file name as
qualifier.
[60] Prepare an instance diagram for the class diagram shown below for the expression
( X + Y/2) / ( X / 3 + Y)
Parentheses are used in expression for grouping, but are not needed in the diagram. The many

multiplicity indicates that the term can be used in more than one expression.

[61] The following is partial taxonomy of rotating electrical machines. Electrical machines may be
categorized for analysis purposes into alternating current (ac) or direct current (dc). Some machines
run on ac, some on dc, and some will run on either. An ac machine may be synchronous or induction.
A few examples of electrical machine include large synchronous motors, small induction motors,
universal motors, and permanent magnet motors. Most motors found in the home are usually
induction motors, universal motors, and permanent magnet motors. Most motors found in home are
usually induction machines or universal motors. Universal motors are typically used in where high
speed is needed such as in blenders or vacuum cleaners. They will run on either ac or dc. Permanent
magnet motors are frequently used in toys and will work only on dc. Prepare an object diagram
showing how the categories and machines just described relate to one another. Use multiple
inheritances where it is appropriate to do so.
[62] A simple digital watch has a display and two buttons to set it, A button and the B button. The watch
has two modes of operation, display time and set time. In display time mode, hours and minutes are
displayed, separated by a flashing colon. The set time mode has two sub modes, set hours and set
minutes. The A button is used to select modes. Each time it is pressed, the mode advances in the
sequence: display, set hours, set minutes, display, etc. Within the sub modes, the B button is used to
advance the hours or minutes once each time it is pressed. Buttons must be released before they can
generate another event. Prepare a state diagram of the watch.
[63] Prepare a data flow diagram for computing the mean of sequence of input values. A separate control
input is provided to reset the computation. Each time a new value is input, the mean of all values input
since the last reset command should be output. Since you have no way of knowing how many values
will be processed between resets, the amount of data storage that you use should not depend on the
number of input values. Detail your diagram down to the level of multiplication, division, and
additions.
[64] Draw a state diagram with guarded transition for traffic lights at an intersection. One pair of electric
eyes checks the north south left turn lanes; another pair checks the east west turn lanes. If no cars in
north south and /or east west turn lanes then traffic light control logic is smart enough to skip the left
turn portion of cycle

Você também pode gostar