How To Exam?

a knowledge trading engine...


Rajiv Gandhi Proudyogiki Vishwavidyalaya 2008-4th Sem M.C.A Computer Aplications .(ester) ,e, - exam paper

Tuesday, 29 January 2013 12:50Web

MCA-405(B)(N)
M.C.A.(Fourth Semester) EXAMINATION,June,2008
(New Course)
JAVA PROGRAMMING AND TECHNOLOGIES
(Elective-I)
[MCA-405(B)(N)]
Time : 3 Hours
Maximum Marks : 100
Minimum Marks : 40


Note : Attempt all ques.. All ques. carry equal marks.

Unit - I
1.(a) What is method ?
(b) What is encapsulation ?
(c) What is the difference ranging from a 'byte' and 'byte' ?
(d) What do yu understand by portability of code ? Are Java Programs portable ? Justify your
answers.

Or

2.(a) Differentiate ranging from the subsequent :
(i) Method overloading and method overriding
(ii) Static and instance members of a class
(b) What do you understand by polymorphism ? Briefly exaplain Dynamic method Dispatch with the
help of an example.

Unit - II

3.(a) Write a program to create a thread "A", which creates 2 child threads "B" and "C" have
terminated.
"B" and "C" must print their own names 100 times and then terminate.
(b) discuss Thread life cycle.

Or

4.(a) What do you understand by multithreading ? What facilities are given by Java to handle
concurrent access of a common data structure by 2 or more threads ?
(b) How are the subsequent code segments handled by Java ?
(i) int x = 0,y = 1; int z = y / x;
(ii) try {.....}
catch(Exception e)
{
System.out.println("Exception Caught");)
}
catch(Arithmetic Exception e)
{
System.out.println("Arithmetic Exception Caught");
}

Unit - III

5.(a) explain about the Event Delegation model in java.
explain the role of Listener in Event Delegation model.
(b) AWT, what do the subsequent terms mean and how are they related to every other ?
(i) Component
(ii) Container
(iii) Panel
(iv) Window

Or

6.(a) Design an applet "Clicker" that displays a button and a text field on the screen .
The text field must display the number of times the button is pressed.
(b) What do you understand by AWT Controls ? elaborate the different controls supported
by AWT ?

Unit - IV
-
7.(a) elaborate the sumilarity and differences ranging from JDBC and ODBC ? What is JDBC-ODBC
bridge driver ?
(b) Make comparison ranging from NestedSQLException and RuntimeSQLException.

Or

8.(a) discuss the subsequent.
(i) File input stream
(ii) Character stream
(b) discuss the subsequent API of Java.sql package :
(i) DriverManager class
(ii) SQLPermission class
(iii) Driver interface
(iv) Connection interface

Unit - V
9.(a) When a client Java application communicates to a Java server using RMI, a stub is created.
discuss which part of the application creates the stub, where the stub resides and how
it is used.
(b) Briefly discuss what functions do the socket APIs socket() and send() perform.

10.(a) define the purpose/functionality of the socket(s) used as the server in reliable,
connection-oriented socket-based communication with a client.(You need not discus client
side functionality).
(b) Write notes on the subsequent :
(i) Proxy Server
(ii) Collection interface



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Rajiv Gandhi Proudyogiki Vishwavidyalaya 2008-4th Sem M.C.A Computer Aplications .(ester) ,e, - exam paper