Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
8Activity
0 of .
Results for:
No results containing your search query
P. 1
Object Oriented Programming

Object Oriented Programming

Ratings: (0)|Views: 809 |Likes:
Published by sudheer

More info:

Published by: sudheer on Nov 27, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/06/2010

pdf

text

original

 
Code No: 3220405II B. Tech., II SEMESTER REGULAR EXAMINATIONS, APRIL/MAY 2009OBJECT ORIENTED PROGRAMMING( Common to C.S.E, CHEM, I.T, E.C.C )Time: 3 Hours. Max. Marks: 80Answer any FIVE questions. All questions carry equal marks.*******1.
 
a) Describe agents, responsibilities, messages and methods in the way of viewing the world.b) Briefly describe the importance of the OOP paradigm.2.
 
a) With an example, explain scope and lifetime of variables.b) Describe the methods to modifying a string.3.
 
With an example, explain the inheritance for specialization, specificationand construction.4.
 
a) What is an interface? In what way it is different from class? Describethe similarities between classes and interfaces.b) Describe the various forms of implementing interfaces.5.
 
a) Briefly describe the concepts of exception handling.b) Describe the importance of synchronizing threads.6.
 
a) Briefly describe Events, Event Sources and Event Listeners.b) Describe Mouse Event and Mouse Wheel Event classes.7.
 
a) Briefly describe the life cycle of an Applet.b) Describe Border and Grid Layout managers.8.
 
Write short notes ona.
 
Tabbed Pane and Scroll Paneb.
 
Daemon threadsc.
 
Check box group and Radio button***
SET - 1
 
Code No: 3220405II B. Tech., II SEMESTER REGULAR END EXAMINATIONS, APRIL 2009OBJECT ORIENTED PROGRAMMING( Common to C.S.E, CHEM, I.T, E.C.C )Time: 3 Hours. Max. Marks: 80Answer any FIVE questions. All questions carry equal marks.*******
 
1.
 
a) “A super class variable can reference a subclass object”, describe in detail.b) Describe agents, responsibilities, class hierarchies and method binding inthe way of viewing the world.2.
 
a) Briefly describe the type conversion mechanisms.b) Write a java program to fix the float decimal places up to 4 digits, andexplain.3.
 
With an example, explain the inheritance for construction, extension andlimitation.4.
 
a) How do we add a class or an interface to a package?b) With an example, explain the implementation of java interface.5.
 
a) Discuss Termination model and Presumptive models of exception handling.b) Draw and explain the life cycle of a thread.6.
 
Write a program that draws a square. As the mouse moves over the drawingarea, repaint the square with the upper left corner of the square following theexact path of the mouse cursor.7.
 
a) With an example, explain how will pass parameters to an Applet.b) Describe Flow and Border Layout managers.8.
 
Write short notes ona.
 
Limitations of AWTb.
 
Adapter classesc.
 
Lists and choice***
SET - 2
 
Code No: 3220405II B. Tech., II SEMESTER REGULAR END EXAMINATIONS, APRIL 2009OBJECT ORIENTED PROGRAMMING( Common to C.S.E, CHEM, I.T, E.C.C )Time: 3 Hours. Max. Marks: 80Answer any FIVE questions. All questions carry equal marks.*******1.
 
a) With an example, explain java recursion mechanism.b) Write a java program using command line arguments, and explain.2.
 
a) Explain with a java program about reference variables?b) Describe java garbage collection mechanism?3.
 
With an example, explain the inheritance for extension, limitation andcombination.4.
 
a) What is CLASSPATH? Describe various levels of access protection.b) What is an Adapter class? Briefly discuss Mouse Motion Adapter class.5.
 
What are built in exceptions? Create a java program to generate and catch anIndex out of Bounds Exception, and with an example prove that always finallyblock will execute.6.
 
a) Write a program that randomly draws characters in different font sizes andcolours.b) What is an Input Event? Briefly discuss its sub classes.7.
 
a) Differentiate between java applet and applications.b) Describe Card and Grid bag Layout managers.8.
 
Write short notes ona.
 
Trees and Tablesb.
 
Synchronizationc.
 
inner classes***
SET - 3

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Jacob Gollamudi liked this
Amoy Sepet liked this
bidyutarpita liked this
kokigokul liked this
saintoc liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->