1828 - Computer Science - Advanced Java and VB - Net - 603 - (08!05!24 07-57-38 - 612 Am)
1828 - Computer Science - Advanced Java and VB - Net - 603 - (08!05!24 07-57-38 - 612 Am)
a ilCOMPUTER SCIENCE
l
ai
Time : Three Hours] [Maximum Marks : 80
R E
Em
Note :— (1) ALL questions are compulsory.
A R
(2) Question No. 1 carries 8 marks and all other questions carry 12 marks each.
EG
(3) Assume suitable data wherever necessary.
R
(4) Draw neat sketches and diagrams wherever required.
AR
1. (A) Fill in the blanks :
(1) A thread gains priority from _____ thread.
(2) _____ is change in the state of object.
(3) ODBC stands for _____.
ail
(4) Object instantiation is done using the _____ keyword. 4×½=2
(B) Select the correct alternatives :
E m
(1) Which control is used for displaying and editing formatted text in VB.Net ?
G
RE
(a) Text Box (b) Rich Text Box
AR
(c) Label (d) Combo Box
(2) What represents the base class for all exceptions in .Net ?
(a) Exception Base (b) System Error
(c) Application Exception (d) Exception
(3) A thread can have _____ priority.
(a) MIN (b) NORM
(c) MAX (d) All of these
(4) Which is the container that doesn’t contain Title Bar and Menu Bars but it can have
(a) Window a il
other components like button, text field etc. ?
(b) Frame a il
m m
GE GE
(c) Panel (d) Container 4×½=2
E
(C) Answer in one sentence each :
R R E
A R
(1) What is MDF forms in VB.Net ?
(2) What is DataGrid in VB.Net ? A R
(3) What is Thread ?
(4) What is Event handler ? 4×1=4
LV—23784 1 (Contd.)
2. (A) How to create thread in Java ? Explain any one technique with example. 6
OR
3. a il
(A) Explain the life cycle of a thread. 6
E m
G
l
(B) Explain various types of exception with suitable example. 6
ai
E
RR
Em
4. (A) Write an applet program to draw multiple boxes. 6
A
(B) Explain the following methods :
EG
(i) getDocumentBase( )
R
(ii) getCodeBase(). 6
AR
OR
(B) State and explain the difference between Application and Applet. 6
G OR Em
7.
R E
(A) Explain JavaAWT Text Area with suitable example. 6
AR
(B) Explain AWT Event Classes and Event Listener interface with example. 6
8. (A) Discuss the steps involved in creating an MDI (Multiple Document Interface) form in
VB.Net with example. 6
(B) Describe scenarios where a ListBox Control is preferred over a ComboBox Control
with example. 6
OR
9. (A) Explain the CheckBox Control with associated properties and events with
example.
a il a6il
m m
GE GE
(B) How can you handle mouse events in Windows forms ? Provide an example. 6
E E
10. (A) What is Exception ? Explain structured exception handling with suitable example. 6
R R
R R
(B) What is Object Oriented Programming ? Explain the advantages and disadvantages of
A A
Object Oriented Language. 6
OR
LV—23784 2 (Contd.)
11. (A) Explain Watch Window and quick watch in VB.Net. 6
(B) Describe the process of creating an object from a class with example. 6
a il
(i) DataAdapter
E m
G
l
(ii) DataReader. 6
ai
E
RR
Em
(B) Differentiate between SqlCommand and SqlDataAdapter in ADO.Net. 6
A OR
EG
13. (A) Explain the steps involved in accessing DataAdapter Control. 6
R
AR
(B) Explain the steps to connect to a database using Server Explorer. 6
a il
E m
E G
R R
A
a il a il
E m Em
E G E G
R R R R
A A
LV—23784 3 25