25 January, 2014

CS506 Current Midterm Paper Fall 2013 File 6



MCQ’s
 1.       Adapter classes have been defined for listener interfaces except ______ interface.
 MouseListener
 KeyListener
 WindowListener    i think correct option window listener hai
 ActionListener  
 2.      You can ---------to a network using sockets.
Read
Write
Read/Write (Page 222)
None of these
 3.      A class that is defined in another class is called ________.
Private class
Public class
Inner class    correct option
Derived class

 4.      Which block always execute whether exception occurs or not.
Finally block        correct option.

5.      2nd phase of java programming
Compile       correct option.
6.       Person DSN url
String conURL = “jdbc:odbc:personDSN;     correct option

5 marks Question:
  1. Painting a swing component has three methods, define functionality of each. And also mention which methods are not recommended to override or invoke.  pg#186
  2. Related about Mouse Listener interface. pg#130

3 marks Question:
  1. Result set rs method to update, move forward and backward. Consider a conection method…es type ka tha sai yad ni hai.
  2. Aik program tha jis Mai jo draw krna wo 100 location pe draw ho.. ye b sai yad ni

2 marks Question:
  1. Usage of getMaxRows and setMaxRows. Pg#158
  2. Write unfilld circle code

No comments:

Post a Comment