Thursday 16 June 2011

CS506 Web Design and development Current Mid term Papers 2011


CS506-Web Design and Development Freshly Baked MID BY $$ 16 May 2011 Each event source can have _________________ listeners registered on it. Which of the following methods are invoked by the AWT to support paint and repaint operations? An exception in java is represented as a/an _____ Window, frame and dialog use ________ as their default layout. BY SHINING STAR Adapter classes have been defined for listener interfaces except ________ interface A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances What is the difference between a static and a non-static inner class? A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances What is the difference between Anonymous object and Named object? Give example with code. iscuss any three methods of ResultSetMetaData? Two java collections.Which Should use for Your indexed Search? Which Component subclasses are used for paint
Afia TODAY CS 506 MY PAPER…… 17-05-2011 MCQ’S………… 16 ..MARKS…. Q1 :- WHY IS DIRECTLY PAINTCOMPONENT() METHOD NOT RECOMMENDED? Marks ( 2 ) Q2 :- WRITE A DIFFERENCE BETWEEN EXECUTE QUERY SQL AND UPDATE QUERY SQL METHOD? Marks ( 2) Q3 :- IS ITERATOR CLASS OR INTERFACE ? WHAT IS ITS USE? Marks ( 2) Q4 :- DISCUSE THREE METHOD OF RESULTSET METADATA ? Marks ( 3) Q5 :- GUI COMPONENT HANDLE ITS OWN EVENTS ? Marks ( 3 ) Q6 :_ WHAT IS PORT ? HOW CAN IT USEFULL IN NETWORK? Marks ( 5) Q7:- WRITE FIVE TYPES OPERATORS USED IN SLECTION STATEMENT? Marks ( 5)

PAPER#1 SHARED BY SWEETY
MCQ’S………… 16 ..MARKS…. Q1 :- WHY IS DIRECTLY PAINTCOMPONENT() METHOD NOT RECOMMENDED? Marks ( 2 ) Q2 :- WRITE A DIFFERENCE BETWEEN EXECUTE QUERY SQL AND UPDATE QUERY SQL METHOD? Marks ( 2) Q3 :- IS ITERATOR CLASS OR INTERFACE ? WHAT IS ITS USE? Marks ( 2) Q4 :- DISCUSE THREE METHOD OF RESULTSET METADATA ? Marks ( 3) Q5 :- GUI COMPONENT HANDLE ITS OWN EVENTS ? Marks ( 3 ) Q6 :_ WHAT IS PORT ? HOW CAN IT USEFULL IN NETWORK? Marks ( 5) Q7:- WRITE FIVE TYPES OPERATORS USED IN SLECTION STATEMENT? Marks ( 5)
PAPER#2
♣ 4 stages of applet cycles ♣What will happen if a class implements Windowlistener Interface and it does not provide definitions of all methods.? ♣ Methods to execute SQL query? ♣ What does mean by it if a class or method is abstract? (5 marks) ♣ Diff b/w Input/output streams class hierarchy and Read/Write class hierarchy? ♣ Can applets communicate with eachother? (5 marks) ♣ As a developer of GUI ,what should u know about top level containers and general purpose containers?
PAPER#3
Methods to execute SQL query? Diff b/w Input/output streams class hierarchy and Read/Write class hierarchy? What does mean by it if a class or method is abstract? Can applets communicate with eachother?
PAPER#4
A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances What is the difference between a static and a non-static inner class? A non-static inner class may have object instances that are associated with instances of the class's outer class. A static inner class does not have any object instances What is the difference between Anonymous object and Named object? Give example with code. iscuss any three methods of ResultSetMetaData? Two java collections.Which Should use for Your indexed Search? Which Component subclasses are used for paint
PAPER#5
What is the difference between Anonymous object and Named object? Give example with code. iscuss any three methods of ResultSetMetaData? Two java collections.Which Should use for Your indexed Search? Which Component subclasses are used for paint
my CS506 paper 21-May-2011 1. How can we prevent serialization? 5 marks 2. Why do we use prepared Statement object? 5 marks 3. How can a GUI component handle its own events? 3 marks 4. What Difference between serialization and de-serialization? 3 marks 5. Write Different between abstract class and interface class? 2 marks 6. Write 4 types of JDBC Driver. 2 marks 7. If a method is declared as protected where can be the method accessed? 2 marks
ow do we load a driver and how do we define a connection for URL and JDBC         (5)
What is the difference between Applet and Application  (5)
Can an anonymous class be declared as implementing an inheritance and extending a class         (3)
Difference between serialization and deserialization                    (3)
Difference between character oriented and byte oriented streams           (2)
Why is executeUpdate() used               (2)
Name component subclasses that support painting                     (2)

No comments:

Post a Comment