You are on page 1of 4

-

http://www.UPTUonline.com

'-

Printed Pages

MCA-403

-4

(Following Paper ID and Roll No. to be filled in your Answer Book)


Roll No.

MCA
FOURTH SEMESTEREXAMINATION, 2005-2006

INTERNET AND JAVA PROGRAMMING

"'-"

Time: 3 Hours

Total Marks: 100


"

Note:
0
0
lJt
0
00
\0
1.

(i)

Attempt ALL questions.

(ii)

All questions carry equal marks.

(iii)

In case of numerical problems assume data wherever


not provided.

(iv)

Be precise in your answer.

,
Attempt any four parts of the following:

(5x4=20)

(a)

What is Internet? Write down the different ways


to get connected to the Internet? Discuss the pros
and cons of each way.

(b)

What is an ISP? What are the service provided


by an ISP? How can you choose the right ISP ?

(c)

Write down
following:

(d)

MCA-403

the

differences

between

(i)

Surfing and browsing the Internet

(ii)

Carbon
emails

the

copy and blind carbon copy of

Write down the essential netiquettes of emails.


1

[Tu1"JtOver

-(e)

(f)
2.

http://www.UPTUonline.com

Define the purpose of following protocols or


services:
(i) FTP
(ii) HTI'P
(ill) POP
(iv) PPP
Write a short note on Voice and Video
conferencing.

Attempt any four parts of the following:


(a)

153

(b)
(c)

(5x4=20)

Write a Java program to find the Armstrong


numbers betwe~n 100 and ,1000. In Armstrong
numbers, the sum of the <;u~es of the individual
digits gave the same number. For example:

= 13

+ 53 + 33

=1

+ 125, + 27

= 153.

When do we declare a method or class abstract?


Explain with example.
Design a class to represent account, including the
following members.
Data Members:

..

..

--- Stt:ing
--- int
Type of Account --- boolean
Name of the depositor
Account Number

Balance Account
Methods:

--

double

(A) To assign initial values (using constructor)


(B) To deposit an amount after c9-ecking
balance and minimum balance is 50.
(C) To display the name of the depositor and
balance.
(d)

MCA-403

;;)

What is the difference between overriding and


overloading a method? Explain with suitable
examples.
2

..J

http://www.UPTUonline.com
(e)

(f)

.t' 3.

What is the difference between implicit and


explicit import statement? Which one take less
time for compilation and why?
Explain the following:
m
Thread group
(ii) Daemon thread
(iii) Deadlock
(iv) Exception handling

(5x4=~O)
Attempt any four parts of the following: (a)What is Swing ?How it differs
with
AWT?
,(b)

Write a short note on JavaFQundation


, I

(c)

Write a Java program to display the month names


by JUst and display the Day~ by JComboBox.
How can you create a button with an image
loaded on it and how do you set a tool tip to a
button control?

(d)

(e)
(f)

What are four types of JDBCdrivers

Classes.

in Java?

In reference to JDBC explain'the following:


(i)
ResultSetMetaData
(ii) Class forName 0
(iii) Connection
(iv)

jav.a. spI. package'

V4.

Attempt any four parts of the following:


(5x4=20)
(a) What is Java Bean? Explain the major serVices of
Java Beans.
(b)

What is the difference


EJB ?

(c)

How can you create your bean? What are the


steps required for creating user defined beans ?

MCA-403

between JavaBean and

[Turn Over

http://www.UPTUonline.com
(d)
(e)

(f)

5.

Explain the principles of RMI with block diagram.


Write an employee class in which payO is a
method which calculates the gross pay from the
basic pay. Write an application which run this
method remotely using RML
Explain the following in reference to Java Beans:
(i)
Introspection
(ii) Bound properties
(iii) Entity beans
(iv) Javq beans API

Attempt any four parts of the foll~wing :


(5x4=20)
(a) What is servlet? Explain,'th~ architecture of the
servlet package.
How
an HTTP servlet does interact with clients?
(b)
(c) Explain the life cycle of a servlet.
(d) What are cookies? How the\cookies are sent and
the information is retrieved with their help from
the clients?
.
(e)
(f)

Explain any five methods


package.
Write a short note on JSP.

available

in servlet

-000-

~.

MCA- 403

You might also like