BIT401 · TU past paper
Advanced Java Programming 2081 question paper
The complete TU 2081 exam paper for Advanced Java Programming (BIT401), all 12 questions with solved model answers written to the mark scheme.
Tap a question to open its answer.
- Q1.10 marksServlet APIsHideAnswer
Discuss about any four servlet APIs. Design a form in JSP to take the necessary information about an employee and when the user click submit button, it will be displayed in second page.[10]
- Q2.10 marksMenu items with mnemonics and acceleratorsHideAnswer
When do we use JPanel? How do you add mnemonics and accelerators to menu items? Explain.[10]
- Q3.10 marksInner classes and anonymous inner classesHideAnswer
How do you create inner class and anonymous inner class? Create a class EMPLOYEE with data members Emp_ID, Name and Occupation, and write those objects to the file DOC.DAT whose occupations is doctor.[10]
- Q4.5 marksJavaFX layoutsHideAnswer
Describe about any three types of JavaFX layouts. [5]
- Q5.5 marksEvent handling and action commandsHideAnswer
Write a program to design a form with a button and label, such that the number of times the button is clicked will be displayed in label. [5]
- Q6.5 marksRMI architecture and componentsHideAnswer
Explain the architecture of RMI. [5]
- Q7.5 marksMouse events and keyboard eventsHideAnswer
Write a program to show the use of mouse event. [5]
- Q8.5 marksPackage definition and organizationHideAnswer
Define package. What is the use of final keyword and finally block? [5]
- Q9.5 marksJDBC architecture and driver typesHideAnswer
Explain the architecture of JDBC and list the JDBC driver types. [5]
- Q10.5 marksUDP socket programming stepsHideAnswer
Write the steps of writing socket program using UDP. [5]
- Q11.5 marksScriptlets and JSP access modelsHideAnswer
Define scriptlets. Discuss about JSP access models. [5]
- Q12.5 marksPort usage and significanceHideAnswer
Why do we need ports in socket programming? What types of instructions are written in try block? [5]