0% found this document useful (0 votes)
4 views4 pages

Adv Java

The document contains examination questions for Advanced Java Programming across multiple years and parts. It covers topics such as object-oriented programming features, event handling, applets, serialization, JDBC, and Java Beans, requiring candidates to provide answers in their own words. Each section includes specific programming tasks and theoretical questions, indicating the full marks for each question.

Uploaded by

bipinshresthabs1
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Adv Java

The document contains examination questions for Advanced Java Programming across multiple years and parts. It covers topics such as object-oriented programming features, event handling, applets, serialization, JDBC, and Java Beans, requiring candidates to provide answers in their own words. Each section includes specific programming tasks and theoretical questions, indicating the full marks for each question.

Uploaded by

bipinshresthabs1
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

..

,r*
,frrr
:'l- i
;:'t' [

25A 'IRIi]1]I-,IVAN UN
Ilxrm.
I \JS]'I'| U'f]] OF ENGIN Level r)N tr'ull Manks 80
Xir;ll ri; i n ation Controtr Prograxrme D
Dll
r\'f Ftss frlarl<s -)L

2075 Ashrvin Year / Pant iV/I Time i hrs.

Sryb_ject: - Advar-rced Java Pro_gramming (Etecrit,e I) (CT7250t)


Candidates are rcquired to give theil airsu,ers in their orvn u,ords as far as practicable.
Attempt All questions.
The J'igw'es in the margin indicate Full Marks.
Asstrme suitqble data if necessary.

1. Wira1 are the features that make .Iava an object oricnted programming language? \\zrite
the history of Java. 12+41
2. \\/itat is an event and hou'it is liandled in Java. Explain r,vith a sarnple code. [3+4]
3. Wliai is an Applet? Describe an Applets lifecycle. f 5+1]
\\/rite to illustrilte objccl deserialization in java. i{orv is file management done
a program
in Java? Explain with suitable example. 14+31
5. \Vlite a program to illustrate the SAX parser. tsl
6. \\/hat is socket in Java netu'or'fing? Explain Socket Timeouts, L/l
7 . V'/h:it ale the [Link] of JDB C clrivels? Write a simple prograllr to execute SQL stater:rciit in
Java. [6+4]
8. Dcscribe the roie of Stub and Slieleton in Remote rnethod call. [6]
9. I{orv is Srving different from A\\/T? Explain u,ith exarnpie. tel
10. What [Link] Bcans? Explain the diflerent properties of Java bean. t6l
i 1. Write shofi notes on: i2xsl
i) Byte Code verification and necessitl,
ii) Packaging Bcans in JAR fiies
iii) Scripting
iv) User Authentication and Encrl,ption
+++
26A I'R]BHI,IV,\N UN]VERSITY Exam. : Regular
NSTITUTE OF ENGi}{EERING Level BE Full Marks 80
Exarnination Control Division j Programrne
l. ... ......................... .. ........
BEX, BCT Pass Markg t-!_

2074 Chaitra Year lPart IV/I Time 3 hrs.

Subject: - A-dvance Java Programming (Elective D Cf7250t)


'/ Candidates are requireC to give their answers in their own words as far as practicable.
'/ Altempt All quesfions.
'/ The Jigures in the margin indicate Full Marks.
,/ Assume suitable data if necessary.

1. Why is Java a platform independent language? Write a program to use arithmetic


operators in Java. 12+41
2. Explain event handling in Java. What user interface components are used in Java?
Explain. [3+4]
3. Explain how applets are used in Java with the advantages associated with applets. [s+2]
4. Write a program to illustrate object serialization in java. Explain file management in Java. 14+31
5. Write a program to demonstrate the DOM parser. tsl
6. Write a program to illustrate socket programming in Java. t71
l. Explain JDBC driver types in detail. \\/hat are scrollable. updatable, row and cached row
sets. [6+4]
8. Explain RMI in detail. i6l
9. Explain Rendering in AWT. tel
10. What is java beans persistence? Explain with suitable example. t6l
I 1. Write shofi notes on: (any two) [2xs]
i) Bytecode Verification
ii) Digital signature
iii) Bean property types

**rt
36 A TRIBHUVAN TINIVERSITY Exam. iL.-.
Resular -.
INSTITUTE OF ENGINEERING Level BE Full Marks 80
Examination Control Division Programme BEX, BCT Pass Marks 32
2073 Chaitra Year /Part iV/I Time 3 hrs.

Subject: - Advanced Java Programming (Elecrit,e I) (CT7 250 I)

Candidates are required to girre their ansrvers in their ou,n \r,ords as far as
Att e mpt All que s t i ct ns,.
T'he figures in the margin indicate Full Marks.
Assume suitable data if necessary.

1. Why is Java called architecture Neutral? Explain.


t4l
2. Write a programme to handle button click [Link] in Jar.a.
17)
a
J. Write dor'vn the differences betrveen .Iava applet and a stand alone Jal,a application.
Describe storage of application preferences usirrg propefi\' rnaps.
[4+3]
4. what is serialization and de-serialization. expiain rvith sample code.
t7l
5. Differentiate DOM and SAX parser in XML parsing.
tsl
6. what is a socket? write code to send mail using Java N4ail Apl.
[2+5]
7. a) Describe JDBC architecture.
tsl
b) What is a transaction in database programming? Why should it be taken care
during
programming?
12141
8. What is web service and why are [Link].
t7l
9. write on any two advance s*'ing component rvith sample code.
tel
10. What is Java bean? Write about bean persistence.
[4+5]
1 1. Write about authentication and authorization u,ith their importance
in an application. L7)
r-.
TRItsi I( i\rAltIY 1.f1.{l vE,RSI Exarn. l . l.:, i:i'. :'.'-.:riiti,'l: it;1i'

INST1TU ['E CF ENGINEI]TUNG Level BE FutI Marft,s 80

Exarninatiotl Control llivision Frograrnme I}EX, BC'f Pass lVlartrrs

207? Chaitra Year l Part Iv/I Time 3 hrs.

Subject;- Aciyance Java Prograrnrning (Eieytitte {) 1C.'T1250!)

d Candidates are required to give their answers in their own words as far as practicable.
./ Attempt,4!! questions-
r/ Tkefigures in the margin indicate ftd{ Nlsrhs.
-/ Assume suitable data if necessary'

1. ll,lly is Java called ptatform independent language? Explain' t4l


Z. What is event handling? How to set up event sources and listeners? Explain with suitabie
example code in Java. [2+s1

3. What is an applet? Describe an applet's lifecycle? t6l


4. What is serialization anrl deserialization? Write a sarnple program in Java to iilustrate
serialization and deserial ization. [2+s]
5" What is XML validation? How is it done in java? [2+3]
6. Write complete Java code to communicate between two programs in a network using
sockets. t6l
7, What is JDBC? Explain JDBC architeeture? 12+41

8. What is SQL? How are SQL statements executed in Java? [1+4]


9. What is RMI? Discuss the architecflue of RMI in details. t6l
10. Differentiate AWT and Swing? [2+5]
I 1. How ean dif&rent shapes be rendered using AWT? Iliustrate with sample code. Isl
12. What are Java beans? Discuss the signifieance of Java beans. [3+6]
i3. What is digitai signature? What is bytecode verification and rvhy is it necessary? [2+5]
***

You might also like