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
- Prepare
a class diagram from the instance diagram given below :

Instance diagram for a porton
of Europe.
- Differentiate
between aggregation and generalization by taking a suitable example.
- What
are constraints? Explain in context of object modelling.
- 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.
- What
is a state diagram? Prepare a state diagram for a programmable
thermostat.
- Define
the concept of candidate keys by taking a suitable example.
Section B
Q2:- Attempt any four of the following :
4x5=20
- 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.
- Differentiate
between SA/SD and JSD methodologies.
- Describe
OMT methodology in brief.
- 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.
- Write
a short note on functional modelling.
- 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
- (a)
Why is java called machine independent language?- Explain.
(b) What is a JVM ? Explain their use.
- (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.
- (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
- (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.
- Describe
briefly the function of some AWT classes. Write a short program to
demonstrate how to create a frame window in an applet.
- Discuss
the function of Layout Manager in Java by taking a suitable example.
Section E
Q5:- Attempt any two of the following :
10x2=20
- Why
the need for migrating from C++ to Java was felt in software development
community?- Describe.
- (a)
Describe Java Swing in brief.
(b) Write a short note on application of Java.
- 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..
(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
- Prepare
a class diagram from the instance diagram given below :
Instance diagram for a porton of Europe. - Differentiate
between aggregation and generalization by taking a suitable example.
- What
are constraints? Explain in context of object modelling.
- 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. - What
is a state diagram? Prepare a state diagram for a programmable
thermostat.
- Define
the concept of candidate keys by taking a suitable example.
Section B
Q2:- Attempt any four of the following :
4x5=20
- 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.
- Differentiate
between SA/SD and JSD methodologies.
- Describe
OMT methodology in brief.
- 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.
- Write
a short note on functional modelling.
- 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
- (a)
Why is java called machine independent language?- Explain.
(b) What is a JVM ? Explain their use. - (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. - (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
- (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. - Describe
briefly the function of some AWT classes. Write a short program to
demonstrate how to create a frame window in an applet.
- Discuss
the function of Layout Manager in Java by taking a suitable example.
Section E
Q5:- Attempt any two of the following :
10x2=20
- Why
the need for migrating from C++ to Java was felt in software development
community?- Describe.
- (a)
Describe Java Swing in brief.
(b) Write a short note on application of Java. - Discuss
the major characteristics of JDBC. Write a program to demonstrate
these steps.
--------------------------------------
Utu (uttarakhand Technical University) previous year question paper only at step4success.comThe ultimate collection of previous year question papers.
Just do it..
2 comments:
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.
ok we will think about it Mridul...
and thank you so much..keep in touch..:)
Post a Comment