Vous êtes sur la page 1sur 3

(Following Paper ID and Roll. No.

to be Filled )

PAPER ID : Sagar Institute Of Technology & Management, Barabanki Second Sessional Exam, Odd Semester, 2012-13 Object Oriented System Set-1 Course:B.Tech Time:3hrs Branch: IT MM: 60 Subject Code:-ECS-305 Sem-:3rd Faculty: Md. Shadab Hussain 1. Answer any three of the following. (5x3=15) a) Describe object oriented modeling. How it affects in software development. b) A directory file contains information about the file in the directory, including both ordinary files as well as other directory files. Prepare an object diagram which model 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. c) Explain constraints and abstraction with suitable example. d) Prepare the instance diagram for the class diagram in the figure for the expression (x+y/2)/(x/3+y). parenthesis are used in the expression for grouping, but are not needed in the diagram . the many multiplicity indices that may be used in more than one expression. 2. Attempt any three of the following (5x3=15) a) Explain dynamic modeling and find difference between object diagram and state diagram. b) Explain event and scenario with example of the phone call. c) What are internal actions? How internal actions represented in the state diagram. d) An extension ladder has a rope, pulley and latch for raising, lowering and locking the extension. When the latch is locked, the extension is mechanically supported and you may safely climb the ladder . to release the latch you raise the extension slightly with the rope. You may then freely raise or lower the extension. The latch prroduces the clacking sound as it passed over rungs of the ladder.the ladder may be reengaged while

raising the extension by reversing direction just as the latch is passing a rung. Prepare a state diagram of an extension ladder. 3. Attempt any two of the following (5x2=10) a) Describe process, data flow, actor and data stores. What do you understand by the nested state data flow diagram. b) Prepare a DFD for computing the means for sequence of input values. A separates 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 the output . since you have no way for knowing how many values will be processed between resets, the amount of data storage that you use should not depend on the number of the input values. Detail your diagram down the level of multiplication division and addition c) Compare object modeling technique with SA/SD. 4. Attempt any two of the following. (5x2=10) a) List some silent features of java. How is java strongly associated with the internet. b) What do you mean by the constructor write an example of constructor overloading in java. c) What is polymorphism? How overriding is different from overloading. 5. Attempt any four of the following. (2.5x4=10) a) Java Beans b) Difference between c++ and Java. c) Layout manager. d) Java Swing e) Lavatron Applet

(Following Paper ID and Roll. No. be Filled in your Answer Book)

PAPER ID : Sagar Institute Of Technology & Management, Barabanki Second Sessional Exam, Odd Semester, 2012-13 Object Oriented System Set-2 Course: B.Tech Time: 3hrs Branch: IT M M: 60 Subject Code:-ECS-305 Sem-:3rd Faculty: Md. Shadab Hussain 1. Answer any four of the following. (5x3=15) a) What do you understand by inheritance. Explain its type with the help of suitable example. b) How are the object modeling class modeling and the function modeling are related with each other. Explain multiplicity with example . c) Prepare an object diagram for the dinning philosopher problem. There are 5 philosophers and 5 forks around the circular table. Each philosopher has access by 2 forks on each side. Each forked is shared by 2 philosophers. Each fork may be either on the table or in the use by one philosopher. A philosopher must have 2 forks to eat. d) Define the following Polymorphism Link attribute Meta data Multiplicity 2. Attempt any three of the following (5x3=15) a) Give an example of nested state diagram and explain it. b) Explain aggression concurrency in detail. c) Explain state generalization and state generalization. d) A simple digital watch has a display and two buttons to set it, the A button and the B button. The watch has two modes of operation, display time and set time. In the 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 modes 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. 3. Attempt any two of the following (5x2=10) a) Prepare a data flow diagram for computing the volume and surface area of the cylinder. Inputs are the Height and Radius of the cylinder . Output are the volume and surface area . b) Explain Jackson standard development methodologies. c) Explain multi processing and multithreading with the help of suitable example.\ 4. Attempt any two of the following. (5x2=10) a) Write a procedure to create and import a package in java program. Which event handling models are used by Java. b) What are the different Layouts available in Jav. Explain each with suitable skelton code. c) What is AWT and its classes? Explain its application and working with windows. 5. Attempt any four of the following. (2.5x4=10) a) Lavraton applet b) Brief functioning of the upper layer e-mail c) Scrabblet d) Dynamic billboard applet e) What is java beans? What are their advantages? Explain with the help of suitable example

(Following Paper ID and Roll. to be Filled in your Answer Book)

PAPER ID : Sagar Institute Of Technology & Management, Barabanki Second Sessional Exam, Odd Semester, 2012-13 Object Oriented System Set-3 Course: B.Tech Time: 3hrs Branch: IT M M: 60 Subject Code:-ECS-305 Sem-:3rd Faculty: Md. Shadab Hussain 1 Answer any three of the following. (5x3=15) a) What is object oriented methodology. Explain its three models b) Prepare the instance diagram for the class diagram in the figure for the expression (x+y/2)/(x/3+y). parenthesis are used in the expression for grouping, but are not needed in the diagram . the many multiplicity indices that may be used in more than one expression. c) What is polymorphism? Explain with the help of suitable example d) e) Define the following Multiple Inheritance Meta Data Abstract Class Candidate Key 2 Attempt any three of the following (5x3=15) a) How is concurrency within state of a single object is represented. b) A directory file contains information about files in a directory, including ordinary files as well as other directory file. Prepare an object diagram which models directory files as well as ordinary files. Since a directory plus a file name uniquely identifies a file you will probably want to use file name as qualifier. c) What is entry and exit actions. d) Write scenarios for the following activities:

Getting ready to take a trip in your car. Assume an automatic transmission. Dont forget your seat belt and emergency brake.

3. Attempt any two of the following (5x2=20) a) Compare JSD with OMT b) Using the Quadratic formula as a starting point , prepare a data flow diagram for computing the roots of equation ax^2 + bx + c = 0 . Real numbers a,b,c are inputs. Outputs are values of x = R1 and x = R2. R1 and R2 may be real or complex depending upon a,b and c . the quadratric formula for R1 and R2 is (-b+-SQRT(b^2 4ac)/(2a) c) Discuss all elements of the OMT methodologies. 4. Attempt any two of the following. (5x2=10) a) Why java is a platform independent language, and what are the silent features of java. b) What is an applet? How do applet different from application program? Develop an applet to draw the string Hello Java on the screen and explain how does the applet works. c) What are different kinds of inheritence? What is multiple inheritence? State purpose of the inheritence. Explain with the help of suitable example. 5. Attempt any four of the following. (5x2=10) a) Java Servlet b) Packages in java c) Garbage collection d) Exception handling in java e) Discuss any six methods available in dynamic billboard applet.

Vous aimerez peut-être aussi