How To Exam?

a knowledge trading engine...


Guru Gobind Singh Indraprastha Vishwavidyalaya 2009-2nd Year B.C.A Computer Application Java Programming & Website Design, Fourth Semester, End Term , Year , , - Question Paper

Tuesday, 28 May 2013 01:20Web



End Term Examination

Fourth 8Mm [BCA} Mat-Juie 2009 Pmp*r Cod* BCA J06    JtoM Programming A    Dmi$n 1

rapmr 14: 30206    (%4jL.k    - '2-*C> \

nw . 3 Hour*    Jfulniin Marti ;7S

| Ml: Ql. It nnyulMTi and altampl an* fwHn from each iNfhrn.

Ql uf Kxpltun the c)ast>, abstract cla* and interface.    |3)

Jrf, What do you understand by terminating and non-terminating tag* in HTML? Give two examples of each.    (3|

{cy#ihm is the use of APPI.KT tag? Qivc at least five attributes ucd in this lag.    (3|

rf) Dcscribc bitwise and shift operator*.    {3}

(*/f Whal arc the main event claws in java.awt.evcnt package and when are they generated?    (3)

10 Differentiate the following:    (5x3=10)

ijKethods and Constructors iifl Multithreading and Multiprocessing /'|mjtaiement and Prepared Statement -flv)Checked and unchccked Exception JyVlow l-avout and Grid Layout

SECTION A

Q2 |aj Write h program to find the product of the sums of all odd and even digits in a given number. For example if the number is 2314568 then tlic program should calculate (2*4+8}*(3+J+5j    (4)

(b) Kxplain the concept of synchronization of threads with an example program.    (4)

|c| What is ihe uae of Tina), finally and finalise keywordbV    (4 V)

OR

y3. (a) Consider t class that represents an account in u bank Let the minimum balance for the account be Rs. 1000 Write a program that throws an exception when a withdraw] request r<-suits in balance decreasing from minimum balance.    (4 Va|

jbWntr Khort notes on an; fMtf of the following    (4x2*8)

r (i| Acccas specifiers irf Iutkagcs -iniKiarbage Collector s    rapper classes

'(vl Vtlor class

8ECT10N B

Q4 t4fi)rscnbc and draw a block diagram of class hierarchy of AWT. (2*2) *'|M/Whai are Adapter classes? What are their advantages? List any /four Adapter classes in AWT.    (4 VJ

KJWhat is the use of PARAM> tag in applet? Kxplain with an / example.    (4)

OR

P.T.O.


Qf>. [a) Wnte an applet program which display* three buttons showing colors RED, BLUB and GREEN The color of the applet changes as per ihe button of specified color is pressed.    {6 V |

(b) Describe the life cycle nf an applet with all the methods used in it. (4) (cj What arc inner classes?    (2)

SECTION C

Q6. |a| Wnte a program to establish conncction with database to retrieve

the data from that database and pnnt the values.    (6 V* |

fb) Define the following terms:    (4 a 1 V* | *

|i) PORT (ii) Sockcl jrii) tnetAddresa (iv) Proxy Server

R

g7.xft| Dcscribc the JDBC Architecture. Whal are different types of drtver .ivailabtc in java?    (6 vj

lb) Differentiate between TCP and UDP-    (3)

Define Delegation Event Model with all the terms used in it    (3)

SECTION D

Q8. (a) What is the use of image and image maps? Explain with an

example HTML code.    (3* 3 Vi)

(bj Dcacnbe the following tags with their commonly used attributes.

(i) STYLE (ii) SCRIPT (iii) FORM (tv> PONT (4* 1 Y.)

OR

(a-lllustxaie any wx <-l<-nicnu. (cmnponents) used in form tag with ' their attribute*    ($)

b) llow hidden values and passwords arc submitted using HTML tags?    11

k*What is the use of <TABLE> tag? Wntc a HTML Code lor designing a table of 2 rows and 3 columns    (2 Y)







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Guru Gobind Singh Indraprastha Vishwavidyalaya 2009-2nd Year B.C.A Computer Application Java Programming & Website Design, Fourth Semester, End Term , Year , , - Question Paper