Friday, November 2, 2018

2nd B.Tech CSE-(A,B)Grand Test Paper


SUB: OBJECT ORIENTED PROGRAMMING THROUGH JAVA
(Common To Cse-A,Cse-B)
Time :3 Hours                                                                                                                                                 Max Marks:75

                                                                      PART-A                                           (25 MARKS)
 1           a) what is an Exception? How it differ than error?(3)
b) Difference between final and finally?(3)
c) What is an multi threading?(2)
d) What is synchronized thread?(2)
e) What is StringTokenizer?(2)
f) What is an Event?(2)
g) What is an applet? Write the sample applet program?(3)
h) Draw the structure of AWT Hierarchy?(3)
i) What is the use of Toggle button and JFrame?(3)
j) What is multi-tasking?(2)
                                                          PART-B                                        (50 MARKS)
2     a) what are the exception handlers in java? Explain?
        b) Difference between checked exceptions and unchecked exception?
                                                       or
3     a) what are the limitations of AWT Components?
       b) Difference between multi-tasking and multi threading?

4      a) Difference between swing components and AWT components?
        b) Difference between applet and application? Write the small applet program?
                                                      or
5      a) Explain about thread life cycle in java?
        b) Difference between Array and vector? Why Array list is faster than vector?

6      a) Explain the Applet life cycle in java?
        b) What are the various Swing components in java explain?
                                                       or
7      a) What are the collection interface methods in java?
        b) Write about MVC architecture in java?

8      a) Explain different types of Layout Managers in java?
         b) What are the keyboard events?
                                                       or
9      a) What are the mouse events? Explain?
        b) Explain about bit-set and calendar classes in java?

10    a) Write about methods of Array list with sample program?
        b) Write about set and hash table methods in java with small java program?
                                                       or
11    a) What are the Action Listner classes and methods explain?
         b) Write a java program to design the application using the following swing components
            Jlabel1, Jlabel2, JtextField1, JTextField1, JButton1, Jbutton2?

                                                                                                Prepared by: Y.Amaraiah

No comments:

Post a Comment