Thursday, 2 August 2012

utu previous year question paper sub (object oriented programming)

Uttarakhand Technical University
(Sem III) Odd Sem Examination,
2011-2012
Sub:-Object Oriented Programming
time:- 3hrs}
total marks :- 100]
Note : Attempt all questions.Be precise in your answer.

Section A
Q1:- Attempt any four of the following :
4x5=20

  1. Prepare a class diagram from the instance diagram given below :
    Instance diagram for a porton of Europe.
  2. Differentiate between aggregation and generalization by taking a suitable example.
  3. What are constraints? Explain in context of object modelling.
  4. Write scenarios for the following activities :
    (a) An elevator ride to the top floor.
    (b) Getting ready to take a trip in your car.
    Assume an automatic transmission. Do not forget your seat belt and emergency brake.
  5. What is a state diagram? Prepare a state diagram for a programmable thermostat.
  6. Define the concept of candidate keys by taking a suitable example.
Section B
 Q2:- Attempt any four of the following :
4x5=20
  1. Prepare a data flow diagram for computing the volume and surface area of a cylinder. Input are the height and radius of the cylinder. Output are volume and surface area. Discuss several ways of implementing the data flow diagram.
  2. Differentiate between SA/SD and JSD methodologies.
  3. Describe OMT methodology in brief.
  4. This subject teaches you to use object oriented techniques to implement programs and databases. Briefly describe how these techniques can be applied in other areas like language design and hardware design.
  5. Write a short note on functional modelling.
  6. Prepare a data flow diagram for computing the mean of a sequence of input value. 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.
Section C

 Q3:- Attempt any two of the following :
10x2=20
  1. (a) Why is java called machine independent language?- Explain.
    (b) What is a JVM ? Explain their use.
  2. (a) What are wrapper classes? Explain their use.
    (b) Describe literal in Java language.
    (c) Explain the use of continue statement in Java by taking a suitable example.
    (d) Describe briefly constructors in Java language.
  3. (a) Differentiate between application and applets? Describe advantages of Java swings over Java applets.
    (b) Discuss the thread model in Java . Write a short program to demonstrate the creation of a new thread by extending the thread class.
Section D
 Q4:- Attempt any two of the following :
10x2=20
  1.  (a) What are string buffer? How does it differ from a string? Give the three ways of creating a string object.
    (b) Describe the various streams found in the Java. io package? Write a short programs to count the number of words in a file by using stream tokenizer.
  2. Describe briefly the function of some AWT classes. Write a short program to demonstrate how to create a frame window in an applet.
  3. Discuss the function of Layout Manager in Java by taking a suitable example.
Section E
 Q5:- Attempt any two of the following :
10x2=20
  1. Why the need for migrating from C++ to Java was felt in software development community?- Describe.
  2. (a) Describe Java Swing in brief.
    (b) Write a short note on application of Java.
  3. Discuss the major characteristics of JDBC. Write a program to demonstrate these steps. 
--------------------------------------
Utu (uttarakhand Technical University) previous year question paper only at step4success.com
The ultimate collection of previous year question papers.
Just do it..

2 comments:

Unknown said...

can you people upload these papers in pdf format?
You are really doing a good work.. as it is ver difficult to find out UTU previous year papers.

Unknown said...

ok we will think about it Mridul...
and thank you so much..keep in touch..:)