0% found this document useful (0 votes)
57 views1 page

Advanced Java Programming: Tribhuwan University Institute of Science and Technology

The document is an exam paper for an Advanced Java Programming course from Tribhuwan University Institute of Science and Technology from the year 2071. The exam has two sections: Section A contains 2 questions worth 10 marks each, and Section B contains 8 questions worth 5 marks each. Section A asks about multithreading and its importance, and a program to calculate simple interest using swing components. Section B asks questions about multiple inheritance in Java, JDBC driver types, exception handling, group layout, file I/O, TCP vs UDP sockets, event classes, Java beans vs classes, RMI vs CORBA, and a simple JSP program to display text 10 times.

Uploaded by

sung hoo
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)
57 views1 page

Advanced Java Programming: Tribhuwan University Institute of Science and Technology

The document is an exam paper for an Advanced Java Programming course from Tribhuwan University Institute of Science and Technology from the year 2071. The exam has two sections: Section A contains 2 questions worth 10 marks each, and Section B contains 8 questions worth 5 marks each. Section A asks about multithreading and its importance, and a program to calculate simple interest using swing components. Section B asks questions about multiple inheritance in Java, JDBC driver types, exception handling, group layout, file I/O, TCP vs UDP sockets, event classes, Java beans vs classes, RMI vs CORBA, and a simple JSP program to display text 10 times.

Uploaded by

sung hoo
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
You are on page 1/ 1

Tribhuwan University

Institute of Science and Technology

2071
Advanced Java Programming
Full Marks : 60
Pass Marks : 24
Time : 3 hours
New Course

Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Section A (2*10=20)
Attempt any two questions.

1.) What is multithreading? Why is it important to develop computer programs? Discuss life cycle of
thread in detail. (2+2+6)
2.) Write a program using swing components to find simple interest. Use text fields for inputs and
output. Your program should display the result when the user presses a button. (10)
3.) What is servelet? Differentiate it with JSP. Discuss life cycle of servelet in detail. (2+3+5)

Section B (8*5=40)

Attempt any eight questions : (8*5=40)

4.) How do you achieve multiple inheritance in java? Discuss. (5)


5.) What is JDBC? Discuss different driver types if JDBC. (1+4)
6.) Explain the importance of exception handling with suitable example. (5)
7.) Discuss group layout with suitable example. (5)
8.) Write a simple java program to read from and write to files. (5)
9.) What is TCP socket? Differentiate it with UDP socket. (2+3)
10.) Discuss any five event classes in java. (5)
11.) What is java beans? Differentiate it with java classes. (1+4)
12.) What is RMI? Differentiate it with CORBA. (2+3)
13.) Write a simple JSP program to display Tribhuwan University 10 times. (5)

bsccsitblog.blogspot.com

You might also like