You are on page 1of 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.

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

[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. [43] Explain OMT object modeling and ER diagram modeling with example. A drawing object can be a direct member of at most one group. The many . [53] Discuss abstraction and Encapsulation. Prepare an object diagram which models directory files and ordinary files. [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. possibly including other groups. including both ordinary files as well as other directory files. Write an algorithm for reassigning seats so that passenger with low numbers does not have to be reassigned. Inputs are height and radius of the cylinder and outputs are volume and surface area. [58] Prepare an object diagram for a graphical document editor that supports grouping. lines. rectangles. [45] Write short note on reusability. Assume that a document is composed of several sheets.[42] Some time an airline will substitute a smaller aircraft for a larger one for a flight with few passengers. ellipses. you will probably want to use file name as qualifier. but are not needed in the diagram. [56] Prepare a data flow diagram to compute volume and surface area of a cylinder. Since a directory plus a file name uniquely identifies a file. A group must contain at least two drawing objects. [52] State and discuss various stages of object modeling technique. Geometrical objects include circles. [59] A directory file contains information about files in a directory. Assume both aircraft have same number of seats per row. including text and geometrical objects and groups. and square. which is a concepts used in a variety of graphical editors. [57] Construct a data flow diagram for sales from inventory system. [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. Each sheet contains drawing object. A group is simply a set of drawing objects.

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