CSC419 · TU past paper
Advanced Java Programming 2078 question paper
The complete TU 2078 exam paper for Advanced Java Programming (CSC419), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- Q1.10 marksIntroductionHideAnswer
Compare AWT with Swing. Write a GUI program using components to find sum and difference of two numbers. Use two text fields for giving input and a label for output. The program should display sum if user presses mouse and difference if user release mouse.[10]
- Q2.10 marksWeb Container, Introduction to Servlets, LHideAnswer
Explain life-cycle of servlet in detail. Create a simple servlet that reads and displays data from HTML form. Assume form with two fields username and password.[10]
- Q3.10 marksJava ArchitectureHideAnswer
Explain RMI architecture layers in detail. Write a Java programs using RMI to find product of two numbers.[10]
- Q4.5 marksPackagesHideAnswer
What is package? How can you create your own package in Java? Explain with example. [5]
- Q5.5 marksGUI ControlsHideAnswer
Why do we need swing components? Explain the uses of check boxes and radio buttons in GUI programming. [5]
- Q6.5 marksEvent Handling Concept, Listener InterfaceHideAnswer
How can we use listener interface to handle events? Compare listener interface with adapter class. [5]
- Q7.5 marksDDL and DML Operations using Java, PrepareHideAnswer
What is row set? Explain cached row set in detail. [5]
- Q8.5 marksJava Mail API, Sending and Receiving EmailHideAnswer
What is Java Mail API? How can you use this API to send email messages? [5]
- Q9.5 marksIntroduction, JavaFX vs Swing, JavaFX LayoHideAnswer
Compare JavaFX with swing. Explain HBox and BBox layouts of JavaFX. [5]
- Q10.5 marksServlet vs JSP, JSP Access Model, JSP SyntHideAnswer
What is servlet? Write a simple JSP file to display 'Tribhuvan University' five times. [5]
- Q11.5 marksIntroduction to CORBA, RMI vs CORBA, ArchiHideAnswer
Why CORBA is important? Compare CORBA with RMI. [5]
- Q12.5 marksJDBC Architecture, JDBC Driver Types, JDBCHideAnswer
Write short notes on: a. JDBC drivers b. Java server pages [2.5+2.5]