Home About Contact
vustudents.org
Connect with Facebook



CS506 CS506 Web Design and Development.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….
Reply
  #1  
Old 11-27-2011, 02:57 PM
lubna lolo's Avatar
Senior Member
 
Join Date: Nov 2011
Posts: 325
Default cs506 midterm papers****

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)


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
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


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)
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

0
Reply With Quote
  #2  
Old 11-30-2011, 11:18 AM
ThePere's Avatar
Junior Member
 
Join Date: Nov 2011
Posts: 3
Default

thanks a bunch!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5. The time now is 04:33 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

 

Gravatar as Default Avatar by 1e2.it